473,799 Members | 3,290 Online
Bytes | Software Development & Data Engineering Community
+ 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 7147
> 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
1740
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 triggered actions.
12
8584
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 full_table info on MySQL Docu, also looked at the Documetation but couldnt come up with an answer to my problem: Here is my my.ini file:
0
601
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 and AVG_ROW_LENGTH? Does it use them to improve performance by sizing buffers appropriately, to prevent fragmentation in dynamic tables (variable row lengths)?
0
1106
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? Thanks, -Mike
2
6048
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 can I break that barrier. A google search did not turn up anything useful. -- Posted using the http://www.dbforumz.com interface, at author's request Articles individually checked for conformance to usenet standards
2
5044
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 length, with 17 bytes per row. MySQL simply won't set the ROW_LENGTH greater than 4G. When I use an ALTER TABLE to set it higher, it acts as though it worked fine, but a SHOW TABLE STATUS indicates that it is still limited to 4294967295.
1
5002
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 to 5million and avg_row_length to 6000. To no avail. Help?
1
1942
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 here: The task for this project is to write a simulator program for a robot designed to move packages around in a warehouse environment. The input to your program (from standard input) will contain a map of the environment in its original...
0
1033
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; To fix - I now have a table with 4700 rows!!! I'm trying to find out how to restore the missing rows and fix the full table problem - this is very urgent. Bye - Joel.
3
1694
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 : 1. created a table with a primary key and having one long text field with max _rows and avg_row_length so as to increase the 4 GB limit of MyISAM.
0
9687
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10484
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9072
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6805
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.