mysql一次可以读取数据的上限是多少?

我知道 max_allowed_packe 会限制插入的大小,对于 select 也有大小上限吗?可以一次 select 10000GB 的内容吗

阅读 3.5k
1 个回答

MySQL 5.7 Reference Manual Select Statement

To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter. This statement retrieves all rows from the 96th row to the last:

SELECT * FROM tbl LIMIT 95,18446744073709551615;

文档来看似乎没有限制。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题