I am developing a web application using PHP and MySQL. I want to know that is there any way to save Data as Small as Possible in MySQL?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here are the lengths of date types in MySQL, choose whichever fits your needs. You can save 1 more byte by defining the column as
NOT NULL.http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html says:
If your MySQL engine is up-to-date enough, you might want to check out InnoDB’s row compression (which might make database operations slower though):