Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1954

Disk space usage (3 replies)

$
0
0
My question is quite simple. When I design a schema I use what I believe
to be the most appropriate data type for a given attribute. So for
example if the range of values for a number is 0 to 999 I would use an
unsigned smallint. I can find much information on data types but nothing
that guides me on storage space. In my old world I knew that a raw
smallint needed 2 bytes of disk space. I have been unable to find any
information for MySQL that provides what I am interested in. Please can
you point in the direction of some information

Viewing all articles
Browse latest Browse all 1954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>