I am using Django with MySql. I have a CharField with max length of 64 as the 2nd to last column, and a Boolean as the last column. Will reversing the order of these provide better optimization of space?
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.
If at all, probably not significantly enough for you to care about it. MySQL would have some serious work to do if that were the case.
If there is any performance impact (and since I can’t seem to find much information on it, probably not), you shouldn’t have to worry about it until you hit thousands and thousands of users a day. Column order would be one of the smallest optimizations you would end up making.