Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Max Rows

Status
Not open for further replies.

Mandrutza

Programmer
Feb 12, 2002
34
RO
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.
 
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 ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top