Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4669024yI have seen some shit in my life, but 250k tables?
This makes me question what's actually stored in that thing.
1 table per user? I've seen that before... -
Aldar12074y@eval I wish I had a clue.
Doing a SELECT * on the tables returns nothing.
Maybe a bug in the app? Might be manually created temporary tables or something. Most of the tables' names were 32 chatacters from the hexadecimal range... -
eval6764y@RustyCookie ok that makes sense but that would mean you run 50k blogs on a single DB?! I cannot get my head around how that would happen/make sense.
-
Aldar12074y@RustyCookie what the hell? How? What kind of webapp from hell created that monstrosity?!
Related Rants
Client be like:
Hello,
could you please restore our database from today's backup?
At a first glance - nothing out of the ordinary. Daily backups are standard...
Until we get the backed up snapshot running.
MySQLDump is somehow... Stuck. It... Doesn't seem to be doing... Like, anything. For ages. Wtf.
So we check the database. Connect, change scheme and... The commandline tool gets stuck, too. Weird.
So a layer lower, we check the datadir and... ls... After also getting stuck for a bit, lists about 500k files O_o
Yea, dumping a database with roughly ~250k tables is not fun. No wonder it takes ages.
rant
mysql
why
that's a lot of tables