Bug #94651 | the parameter "MAX_ROWS" while create a table has no effect? | ||
---|---|---|---|
Submitted: | 14 Mar 2019 6:15 | Modified: | 15 Mar 2019 2:17 |
Reporter: | JianJun Shi | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DDL | Severity: | S3 (Non-critical) |
Version: | 5.7.23 & 8.0.13 | OS: | Linux |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[14 Mar 2019 6:15]
JianJun Shi
[14 Mar 2019 10:10]
Peter Laursen
https://dev.mysql.com/doc/refman/8.0/en/create-table.html "The maximum number of rows you plan to store in the table. This is not a hard limit, but rather a hint to the storage engine that the table must be able to store at least this many rows." Note this: "not a hard limit" It is a very old thing in MySQL and probably irrelevant with recent server versions and/or InnoDB. IMO it is long overdue to deprecate and remove max_rows and min_rows settings for tables. -- Peter -- not a MySQL/Oracle person
[14 Mar 2019 11:03]
MySQL Verification Team
Hi, This is not a bug. MAX_ROWS parameter does not limit number of rows in a table, it actually allows for "bigger tables" then default ones for some storage engines (e.g. search for "table full" error). kind regards Bogdan
[15 Mar 2019 2:17]
JianJun Shi
Thank you for patient answer my question! :D