r/programming • u/fR0DDY • Sep 24 '26
Partitioning in MySQL: How we cut peak database load by more than 80%.
https://ipsator.com/blog/mysql-table-partitioning
40
Upvotes
r/programming • u/fR0DDY • Sep 24 '26
66
u/pm_plz_im_lonely Sep 25 '26 edited Sep 25 '26
We need the queries involved and the query analysis work involved.
The article explains "how to partition" literally, like mechanically. Who cares.
The value is the research work:
And personally I would do 2 shards: hot and cold. And if cold needs speed then change its db or something.
Overall I rate the article 3.5/10
7
u/dijkstra_was_a_horse Sep 27 '26
Tens of millions of rows? Woah, that's like, hundreds of megs, you're gonna have trouble with that even on the fastest 486 money can buy.
4
u/Whatever801 Sep 25 '26
Is this not standard practice?
2
u/falconzord Sep 25 '26
Why was an index on the created column not helping?
13
u/[deleted] Sep 25 '26
[removed] — view removed comment