Does anyone know how to state a maximum number of rows in a table? I tried to create the table with MAX_ROWS=5 but didn't work. I hope that tomorow I'll still be alive and kicking.
What database system are you coming from, where you expect this functionality to exist? ______________________________________________________________________
Then what's the use of MAX_ROWS ?
Anyway, i'm giving acces to a certain customer to a certain table and I want to limitate the numer of rows he can insert in that table. Is it possible in MySQL? I hope that tomorow I'll still be alive and kicking.
MAX_ROWS doesn't set the absolute limit to the number of rows you can store in a table. It is a clue to MySQL when creating a table as to how much to allocate to internal pointers.
According to this page of the MySQL online documentation:
If you need bigger tables than 4G (and your operating system supports this), you should set the AVG_ROW_LENGTH and MAX_ROWS parameter when you create your table ______________________________________________________________________
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.