On 25 Feb 2004 at 8:35, Tucker, Gabriel wrote:

> What values of MAX_ROWS and AVG_ROW_LENGTH would I need so that I
> could limit this table to 3 [or n] number of records?

You can't.  That's not what MAX_ROWS and AVG_ROW_LENGTH are for.  
They're only there to allow MySQL to decide how many bytes it needs 
to use for the pointers into the data file.  Unless you're going to 
be using tables bigger than 4 GB, there's probably no reason for you 
to worry about those values at all.

You can indirectly limit the number of records in a table to 127 or 
255 or 32,767 or 65,535 or ... by using an AUTO_INCREMENT primary key 
that's a TINYINT or UNSIGNED TINYINT or SMALLINT or UNSIGNED SMALLINT 
..., but I don't think that's going to help you either.

-- 
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to