24 October 2006

Scaring people with mysql…

Posted by Aled under: geek; random .

[13:48:16] Jon Pearse says:
mysql> delete from table WHERE foo=’a’ AND tableId=8169;
Query OK, 1 row affected (4.39 sec)
[13:48:21] Jon Pearse says: Holy shit
[13:48:27] Jon Pearse says: That scared the crap out of me

Yup, that’s a crap and very busy server.

(For the non-techies, a simple query like that should take a fraction of a second. The fact that it took several seconds makes you think “Just what am I deleting…ohshitohshistohshit…”

RSS feed | Trackback URI

3 Comments »

Comment by Jon
2006-10-24 10:51:29

… especially as the table in question I was working on is somewhat important to the general operation of {$product} - I was about to start scrambling for the backup.

 
Comment by James Davis
2006-10-24 11:51:25

I once issued a MySQL command that took 26 hours to complete. That was a little worrying but it was a very crap server. =)

 
Comment by Bronchitikat
2006-10-24 11:52:34

I like your blog, Aled. I get a chance to find out what our son has been up to! *Waves to Jon*

Even if my reaction is “Dur?”

 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Browse

Calendar

October 2006
M T W T F S S
« Sep   Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Tags

Categories

Links