If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > InnoDB Table Size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-04-04, 10:36
King_Aero King_Aero is offline
Registered User
 
Join Date: Feb 2004
Posts: 6
InnoDB Table Size

Hello,

I have a table that seems WAY larger then it should and I'm not sure why. Here is my table layout:

table data,
id (int) PRIMARY KEY
fc_id (int) FOREIGN KEY
topic_id (int) FOREIGN KEY
xref_id (int) FOREIGN KEY
time_id (int) FOREIGN KEY
data (float)

All of the foreign keys are indexed and I have 242559 rows and the space usage is:

Data 13,840 KB
Index 22,592 KB
Total 36,432 KB

If I add up the field sizes and multiple that by rows its about half the size its reports for Data. If anyone can help explain the size of my table I would greatly appreciate it.
Reply With Quote
  #2 (permalink)  
Old 03-09-04, 04:44
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Could you give use your index definition ?
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On