My game server engine saves all data in serialized text files. I want to convert this to SQL but I will keep the serialize nature of it, but will make it so each item get's it's own row. This way I only have to save what changes, not the entire world (100's of thousands of items).
What would be the best type of SQL field to use for serialized data? I'm thinking text, and if the last bits do not make a full byte, I'll just add a "padding". But does SQL have a field type built in for storing binary data?
What would be the best type of SQL field to use for serialized data? I'm thinking text, and if the last bits do not make a full byte, I'll just add a "padding". But does SQL have a field type built in for storing binary data?
