473,387 Members | 1,481 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.

InnoDB free: 4096 kB

bartonc
6,596 Expert 4TB
This comment ("InnoDB free: 4096 kB") appears in the MySQL Table Editor on a brand new InnoDB table. Does this mean that this table will soon be full? Do I have some setting that must be change in order to get larger tables or will additional space be added when I reach this size? Thanks for your assistance with this issue,
Barton
Jan 2 '07 #1
3 17256
ronverdonk
4,258 Expert 4TB
This comment ("InnoDB free: 4096 kB") appears in the MySQL Table Editor on a brand new InnoDB table. Does this mean that this table will soon be full? Do I have some setting that must be change in order to get larger tables or will additional space be added when I reach this size? Thanks for your assistance with this issue,
Barton
MySQL documentation: The data files (tables) that you define in an InnoDB form the tablespace of InnoDB. The tablespace consists of database pages with a default size of 16KB. The pages are grouped into extents of 64 consecutive pages (i.e. 1024Kb). InnoDB allocates space starting from the first data file (table). InnoDB can add a large segment up to 4 extents at a time to ensure good sequentiality of data (4096Kb).

So, back to your question: when you defined your table, an initial amount of 4096Kb space was allocated to it. When your table grows, more space will be allocated. When you delete rows from the table, it releases the space to other users.

Ronald :cool:
Jan 2 '07 #2
bartonc
6,596 Expert 4TB
MySQL documentation: The data files (tables) that you define in an InnoDB form the tablespace of InnoDB. The tablespace consists of database pages with a default size of 16KB. The pages are grouped into extents of 64 consecutive pages (i.e. 1024Kb). InnoDB allocates space starting from the first data file (table). InnoDB can add a large segment up to 4 extents at a time to ensure good sequentiality of data (4096Kb).

So, back to your question: when you defined your table, an initial amount of 4096Kb space was allocated to it. When your table grows, more space will be allocated. When you delete rows from the table, it releases the space to other users.

Ronald :cool:
Thanks, Ronald. That one has been bugging me for a long time. I've got the docs, but hadn't managed to run across that one yet. It's a good feeling knowing that there is such expertise "righ next door". Thanks, again,
Barton
Jan 2 '07 #3
ronverdonk
4,258 Expert 4TB
Most welcome. It's not really 'live' expertise as knowing where to find it. Most important thing IBM classes taught me 35 years ago was: doesn't matter what you know, important is to know where to find it (and apply it of course).

Ronald :cool:
Jan 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Vanchau Nguyen | last post by:
Hi all, Hoping someone can help us with this strange Innodb problem. At about 5:15 AM 2/2/04 (this morning), our slave server stopped accepting connections. The machine was pingable, but you...
3
by: Andy Tran | last post by:
I built a system using mysql innodb to archive SMS messages but the innodb databases are not keeping up with the number of SMS messages coming in. I'm looking for performance of 200 msgs/sec where...
1
by: LRW | last post by:
I'm using mySQL 4.0.20, interfacing it with phpMyAdmin 2.5.6. I usually set tables up with a "default" type, which I believe is myISAM (or whatever that one is.) But I decided to go with InnoDB for...
0
by: Stefan van Roosmalen | last post by:
I want to use constraints, so I will have to use innodb tables (according to the website mysql.com). But, what is the difference between myisam and innodb tables ?? And why is there a comment...
0
by: Rajesh Kapur | last post by:
I have a master slave configuration on linux machines running MySQL 4.0.21. Once every hour, a process deletes about 9000 rows and re-inserts fresh data on the master. The master process completes...
1
by: Gh! | last post by:
How can I see how much disk space is being occupied by an InnoDB table? Looking into /var/lib/mysql doesn't seem to work anymore for InnoDB tables. Please tell also if there is a way to see how...
0
by: shakahshakah | last post by:
Just started investigating InnoDB after having used MyISAM tables in the 4.0.12 version, almost immediately ran into a locking issue with INSERTs, DELETEs, and transactions. Given the following...
4
pradeepjain
by: pradeepjain | last post by:
hii i need to drop a foreign key for a table and create a new foreign key how do i do it ..i tried SHOW TABLE STATUS FROM ratingd LIKE 'fourwheeler_rating';...
1
by: edwinC | last post by:
I am trying to insert a new record into table 'aaa'. It said the table is full but the table status showed it still has 3072KB available. How to understand this result? mysql> insert into...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.