Optimal storage of a lot of text records

QUESTION:

Yes, it cannot grow larger. I do have around 500 mb storage space. The downside of storing it on the filesystem is that I won't be able to use full-text search. Or doesn't have that to be a problem?

ANSWER:

-If does not relate . In fact you need a storage SAN probably to deal with your issue as well as to allow growing your database
-The nvarchar and ntext datatypes support the unicode character set, but store 2 bytes per character instead of 1 byte per character for varchar and text. However, switching to varchar and text would only double the capacity to 50,000 messages; which would not be any real order of magnitude.
You can store the text of the messages in seperate text files with the naming convention based on the primary key of the message. For example, message id #120455 would have a related file called 00120455.txt. How you relate the text files with the messages is an application programming issue.
From what you describe, it sounds like a 3rd party hosted database. Do you have the option of just paying for the additional storage?


Submit your comment or answer




Privacy Policy