一个 mysql 库容纳多少个表会比较明显的影响速度?
資深大佬 : l890908 2
理论上来说基本上没有限制(42 亿多),但是同时访问的表越多,文件描述符就越多,从操作系统角度来说还是有影响的;
那么在实操过程中多少个表会比较明显的影响速度?
大佬有話說 (20)
那么在实操过程中多少个表会比较明显的影响速度?
推荐系统学习一下数据库原理,学完就不会有这种无意义的担心了
目前我的单服务器库有上万个结构一样的表
无性能压力
MySQL has no limit on the number of tables. The underlying file system may have a limit on the number of files that represent tables. Individual storage engines may impose engine-specific constraints. InnoDB permits up to 4 billion tables.
mysql 没有极限,innodb 只能容纳四百万张表
够用了