Problem: Oracle error maximum number of expressions in a list is 1000
Solution:
-- Instead of
select * from foo where id in (List)
-- use
select * from foo where id in (Sub-query)
- Likes (0)
- Comments (0)
-
Share
Problem: Oracle error maximum number of expressions in a list is 1000
Solution:
-- Instead of
select * from foo where id in (List)
-- use
select * from foo where id in (Sub-query)
Written on 6 December 2014, 12:02pm
Tagged with: flickr, linux, utils, web server
From a business perspective:
– 1. Think Ahead and Anticipate
– 2. Say Something
– 3. Know the Law
– 4. Remember, Youβre Not Alone
What to Do When Your Website Gets Hacked
From a technical perspective:
1. Check That It Has Actually Gone Down
2. Figure Out What Has Gone Down
3. How Bad Is It?
4. Check Your Web Server Software
5. Logging Into Your Server
6. Has It Run Out Of Space?
7. Has It Run Out Of Memory?
8. Has Something Crashed?
What To Do When Your Website Goes Down
And remember, don’t just stand there, reboot something π
From a fun perspective:
Bonus: What Flickr did when their website went down:
AARRON WALTER: Designing for emotion
In July 2006, a storage failure struck Flickr, the popular photo sharing service. Though photos were safe and no data was lost, thousands of enthusiastic users were inconvenienced as
their favorite photo site took a temporary nap (roughly three hours). Tensions ran high as engineers worked to bring the site back online. Inquiries from concerned users poured in.
During the crisis, the Flickr team had a stroke of genius.
[..] They posted a message that explained the outage, asked users to print a page, and do something creative with it to win a free, one-year Flickr Pro account:
Written on 4 February 2012, 12:19am
The websites below have something in common: they are all modern-looking and there is a lot of attention behind every page. Most important, they are designed for emotion.
Without any other presentation, here they are: