473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 7116
> 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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.