MySQL Forums
Forum List  »  MyISAM

Re: Calculating row size
Posted by: Rick James
Date: August 15, 2009 02:01PM

Remove the spaces from the code.
http://en.wikipedia.org/wiki/BBCode

3 `iid` mediumint(8) unsigned NOT NULL,
8 `dtime` datetime NOT NULL,
1 `month` tinyint(4) unsigned NOT NULL,
8 `rate` bigint(20) NOT NULL,
8 `counter` bigint(20) NOT NULL,
1 `day` tinyint(3) unsigned NOT NULL,
0 ENGINE=MyISAM ("Fixed" length rows)
29 bytes -- I don't see how it comes out 30.

I suspect this also says 30?:
SHOW TABLE STATUS LIKE ifInOctets\G

Options: ReplyQuote


Subject
Views
Written By
Posted
24061
June 09, 2009 04:31AM
9176
June 10, 2009 10:33AM
8885
August 14, 2009 08:28AM
Re: Calculating row size
7714
August 15, 2009 02:01PM
6972
August 17, 2009 05:29AM


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.