Possible Duplicate:
NULL in MySQL (Performance & Storage)
Do you HIGHLY recommend to uncheck NULL allowed for a column in a table, if:
- that column is not a key,
- that column could be SELECTed or INSERTed into the table or UPDATEd, but never used in WHERE, join and other parts of any query (WHERE, JOIN etc. could be counted when we decide what column to index for better performance).
So, if you leave the checkbox "NULL" checked (i.e. NULL is allowed) for the column described above, will it affect the performance?
I hope the answer (at least for MySQL) is:
- no, it will not affect even for 1%, or
- no, it will not affect at all.