News for hackers. Stuff that matters.
Re:Move Fast and Migrate Things: How We Automated Migrations... by ovi256 on Thursday February 07, 2019 @07:46AM (#19104862)
I've written cron jobs to update mysql statistics to prevent it from choosing bad query plans. It's as terrible as it sounds.
Re:Move Fast and Migrate Things: How We Automated Migrations... by pas on Thursday February 07, 2019 @09:04AM (#19105261)
How come it's not automatic and built-in? Why is a script terrible? (Does it have to enumerate all tables and piecewise run the stat update?)
Re:Move Fast and Migrate Things: How We Automated Migrations... by ovi256 on Thursday February 07, 2019 @10:12AM (#19105644)
Yes, the stats update is per table. We only updated it for a few tables we really cared about.