I always try to build the database avoiding any NULL values in my tables, and I have successfully had done this so far. (Hey, I am very new to database design.)
But still there are times when saving user's data, there may be null values or empty strings.
Can you please guide me to get the effect of having NULL values or empty strings in a database, where SELECT is most used?
NOTE: Specifically for MySQL 5.5 or later.
NULLvalues use full table scan if we do aORDER BY(if I am correct) and I am having all most all query on the table withORDER BYclause That's why for the sake of Performance I try to avoidNULLValues or Empty strings and move them to another table using relation, so if there is NULL or Empty string then it will not have any entry of that information. BUT I am not sure about theperformance partwhen there is no sense in keeping that info in another table