473,471 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MAX_ROWS and AVG_ROW_LENGTH

MAX_ROWS can be used in conjunction with AVG_ROW_LENGTH to

(a) limit the size of a HEAP table
(b) overcome MyISAM's default 4GB limit

Are there *any other ways* in which MySQL uses MAX_ROWS and
AVG_ROW_LENGTH? Does it use them to improve performance by
sizing buffers appropriately, to prevent fragmentation in
dynamic tables (variable row lengths)?

The sizes of my tables will be small (20KB up to 700KB with
slow growth rates). Is there any point in me using MAX_ROWS,
MIN_ROWS or AVG_ROW_LENGTH?

Marco
----------------------------------------------------
Please remove digits from e-mail address (tr/0-9//d)

Jul 19 '05 #1
2 7122
> Are there *any other ways* in which MySQL uses MAX_ROWS and
AVG_ROW_LENGTH? Does it use them to improve performance by
sizing buffers appropriately, to prevent fragmentation in
dynamic tables (variable row lengths)?


It's a damn good question, but I really don't think so. I've looked
through the manual, as well as MySQL Enterprise Solutions, and can't
find anything about optimization.

The variables are used when rebuilding corrupted data, or resizing
during a "table is full" error. But I see nothing regarding
optimization that might help you.

Lukas

Jul 19 '05 #2
> Are there *any other ways* in which MySQL uses MAX_ROWS and
AVG_ROW_LENGTH? Does it use them to improve performance by
sizing buffers appropriately, to prevent fragmentation in
dynamic tables (variable row lengths)?


It's a damn good question, but I really don't think so. I've looked
through the manual, as well as MySQL Enterprise Solutions, and can't
find anything about optimization.

The variables are used when rebuilding corrupted data, or resizing
during a "table is full" error. But I see nothing regarding
optimization that might help you.

Lukas

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Morten Gulbrandsen | last post by:
Dear MySQL developers, Could some experienced Database developer please take a look at this ? It is supposed to be plain SQL2. How can it be coded under MySQL Especially all referential...
12
by: Nohman Ishtiaq | last post by:
MySQL 4.1 Im not very well versed with databases, but as soon as I include 129th row in my table called 'demainpark', I get Table is Full error. I have searched thru the newsgroup, checked the...
0
by: Marco | last post by:
MAX_ROWS can be used in conjunction with AVG_ROW_LENGTH to (a) limit the size of a HEAP table (b) overcome MyISAM's default 4GB limit Are there *any other ways* in which MySQL uses MAX_ROWS...
0
by: Mike | last post by:
I got the "Table is Full" error (mysql 4.0.13), and did "ALTER TABLE radacct MAX_ROWS=1000000000 AVG_ROW_LENGTH=158;" and now there seems to be several months of data missing.. Any ideas? ...
2
by: steve | last post by:
I am setting up a huge database in mysql, and I get the above error in Linux. I believe it is related to the size of one of my tables, which is 4,294,966,772 bytes in size. Can someone help. How...
2
by: Tom D | last post by:
I'm running MySQL 4.1 under Linux. I need to have a MyISAM table with more than 4G rows of data. I've read the manual regarding the MAX_ROWS option on tables. This table has a fixed row...
1
by: Keith | last post by:
MySQL5 on win2003 - I'm new to mysql, and have a table that has reached 2gb in size and I can't put any more in. I am using innodb and have set "large table support" to yes and have set max_rows...
1
by: simonalexander | last post by:
I have got a homework task to do and I have started the work but I cannot finish it.Can someone please help me finish the code. The help given is much appreciated. The actual specifications are...
0
by: joelutting | last post by:
My database table with over 680000 records started reporting "Table Full" errors, so after reading the MySQL docs I used the statement; ALTER TABLE tbl_name MAX_ROWS=1000000000 AVG_ROW_LENGTH=16384;...
3
by: bravo | last post by:
hi i am using mysql ver 5.0 , one table is crahsing frequently i need to know why .. is it becoz of the query iam running or i have some problem with db .. what i have done is given below : ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.