Is 20M of rows still a valid soft limit of MySQL table in 2023?
41–50 of 86 posts
Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#42Earlier quoted context omitted.
My current employer has a single InnoDB table that is 14-15 TB.
How long does it take you to do a schema change?
https://planetscale.com/docs/learn/online-schema-change-tool...
Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#43You can safely go to a billion rows. Use indexes. Don't do silly things like count(*) or select *, select the small data sets you need using your indexes. If you need a full table count for some reason, use a primary key that auto increments and select the max, or use information_schema for an estimate. Nobody will sweat the slight inaccuracy on a table that size.
yeah i was also under the 20mil impression initially until building a system that worked with a 500mil row table without any problems (just a beefy RDS instance, nothing crazy distributed or anything). Schema changes became a pain at that point, so i would probably split it if I were to do it again, but reads and writes never gave us much trouble.
Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#44Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#45Earlier quoted context omitted.
You run MongoDB as a backing store. Very web much scale.
Literally pays for itself in scale
Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#46Thanks for repost the blog! Some crazy guys have already told me that they have mysql table >1.4B rows (~180GiB), underestimated mysql's power lol
Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#47Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#48Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#49Re: Is 20M of rows still a valid soft limit of MySQL table in 2023?
#50Haven't had trouble into the low hundreds of millions on a single RDS server with 16GB of ram. YMMV.