MySQL Forums
Forum List  »  NDB clusters

Re: nulls in varchar and char columns, how much space?
Posted by: Stewart Smith
Date: June 12, 2006 11:15PM

If b and c are null, they won't take up space in the var-sized part of the row, although i think the overhead is still used. so use the same formula as for varchar, except with 'length=0'.

Stewart Smith, Software Engineer - MySQL Cluster
MySQL AB, www.mysql.com

Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html

Options: Reply• Quote


Subject
Views
Written By
Posted
Re: nulls in varchar and char columns, how much space?
1242
June 12, 2006 11:15PM


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.