MySQL Forums :: General :: how index grows in size

Advanced Search

how index grows in size
Posted by: Mirabell Stoffen ()
Date: September 06, 2011 05:16PM

I have setup an index on a column name "no" and its of int data type.
There are total 59,309,499 records in the table but index size shouldn't be 59,309,499 * 4 (bytes) ?

Its currently 1488768204Bytes or you can say 1419.8MB while it should be 237237996Bytes or 226MB?

Please also let me know how index is exactly calculated if its set on other data types like varchar and when length is given like varchar(6)?

Options: ReplyQuote

Subject Written By Posted
how index grows in size Mirabell Stoffen 09/06/2011 05:16PM
Re: how index grows in size Adam Donnison 09/06/2011 11:32PM
Re: how index grows in size Rick James 09/12/2011 10:57AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.