Slashdot is too popular

Seems is all commented out :)

Last night we crossed over 16,777,216 comments in the . The wise amongst you might note that this number is 2^24, or in MySQLese an unsigned mediumint. Unfortunately, like 5 years ago we changed our primary keys in the comment table to unsigned int (32 bits, or 4.1 billion) but neglected to change the index that handles parents. We’re awesome! Fixing is a simple ALTER TABLE statement… but on a table that is 16 million rows long, our system will take 3 hours to do it, during which time there can be no posting. So today, we’re disabling threading and will enable it again later tonight. Sorry for the inconvenience. We shall flog ourselves appropriately.

Had this happen before, only on an 16bit integer though, sadly not as impressive as 16 million…

Slashdot

Tags: , , ,

One Response to “Slashdot is too popular”

  1. Steven Says:

    Interesting information, but I’m actually surprised that it’s that low. I would have guessed higher than that.

    For comparison, Carsurvey.org has currently 128,511 approved comments, although the comments id field is maxed at 157,321 (the difference is deleted and unapproved comments).

Leave a Reply

Entries (RSS)