PDA

View Full Version : serialized or table


qazs
11-30-2007, 08:19 AM
Hi,
Is it better to store values as a single variable using serialized data or in a table with only one field?
Which option would be faster? Thanks.

GO ILLINI
11-30-2007, 01:58 PM
a little of both.
You dont want to have to get all the data when you only need 2 'fields' in the script, but you can combine fields that you know will always have to be pulled out together.
Combined can make some problems updating though...

-Adam

qazs
12-03-2007, 09:57 AM
Thanks!

Fumigator
12-03-2007, 05:29 PM
The more normalized your data is, the better. 100% normalized means one value per column, always.