SurveyMojo.com - Create your own fun and free surveys!


Field Data Storage Quiz

Interesting notes on data storage in MySQL.
This survey has been taken 47 times
 
How much space does a char(20) field require minimum?
1 byte4.3%
2 bytes8.5%
4 bytes8.5%
8 bytes8.5%
20 bytes31.9%
21 bytes4.3%
22 bytes2.1%
24 bytes17.0%
Other View Answers8.5%
 
How much space does a varchar(20) field require minimum?
1 byte14.9%
2 bytes4.3%
4 bytes8.5%
8 bytes12.8%
20 bytes31.9%
21 bytes6.4%
22 bytes0.0%
24 bytes8.5%
Other View Answers6.4%
 
Are you surprised to know that char(20) requires 20 bytes minimum, regardless of field content?
Yes29.8%
No31.9%
Don't Know31.9%
 
Are you surprised to know that varchar(20) requires only 1 byte minimum if there is no data for that field?
Yes38.3%
No27.7%
Don't Know27.7%
 
True or False: char() and varchar() both have max storage values of 255 bytes?
Yes19.1%
No27.7%
Don't Know46.8%
 
True or False: The documentation at dev.mysql.com explains why char() is better to use than varchar()
True29.8%
False19.1%
Don't Know44.7%
 
Are you surprised to know that varchar() is actually capable of storing over 65kb of data, and char is limited to 255b?
Yes29.8%
No29.8%
Don't Know34.0%
 
How does this knowledge make you feel about database storage and the decisions behind field type selection?
View Answers

©2012 SurveyMojo.com
About Us Terms and Conditions Privacy Policy Contact Us