当前位置:  开发笔记 > 后端 > 正文

MariaDB中的最大表连接数是多少?

如何解决《MariaDB中的最大表连接数是多少?》经验,为你挑选了1个好方法。

与MySQL或其他数字一样,MariaDB 10中的表连接数是否限制为61 ?

(我在MariaDB文档中或通过Google搜索找不到答案).



1> Julian Ladis..:

MariaDB在连接中具有相同的最大数量的61个表.

这个查询

CREATE TABLE t (i INT(10) NOT NULL);
select *
from t a01 join t a02 join t a03 join t a04 join t a05 join t a06 join t a07 join t a08 join t a09 join t a10
join t a11 join t a12 join t a13 join t a14 join t a15 join t a16 join t a17 join t a18 join t a19 join t a20
join t a21 join t a22 join t a23 join t a24 join t a25 join t a26 join t a27 join t a28 join t a29 join t a30
join t a31 join t a32 join t a33 join t a34 join t a35 join t a36 join t a37 join t a38 join t a39 join t a40
join t a41 join t a42 join t a43 join t a44 join t a45 join t a46 join t a47 join t a48 join t a49 join t a50
join t a51 join t a52 join t a53 join t a54 join t a55 join t a56 join t a57 join t a58 join t a59 join t a60
join t a61 join t a62;

收益率ERROR 1116 (HY000): Too many tables; MariaDB can only use 61 tables in a join.

推荐阅读
周扒pi
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有