Forum Moderators: open

Message Too Old, No Replies

Large text and MS SQL

         

LeoXIV

1:31 am on May 1, 2006 (gmt 0)

10+ Year Member



okay, here is my question:

where do you store large amounts of text? in DB or just the server?

what if the size exceeds NVARCHAR(4000)?!

what do you think?

syber

3:00 am on May 1, 2006 (gmt 0)

10+ Year Member



I would store it (up to 2GB) in TEXT data type columns. You can then at least search it with FULL-TEXT Search.

LeoXIV

3:58 am on May 1, 2006 (gmt 0)

10+ Year Member



so Full Text Search is avaible for NTEXT?

actually its the promise of full text search that keeps me still intrested in storing it on DB.

However, there are other things, like how it would effect performance of DB? what if the path between webserver and Db incrases? how diffcult it would be to BACKUP the DB?

PS: DB space is more expensive too!

syber

3:56 pm on May 2, 2006 (gmt 0)

10+ Year Member



Yes, Full Text Search is available for TEXT and NTEXT columns.

It should have little affect on the performance of the database as the NTEXT contents are stored seperately from the data rows. Conversely, storing the text as NVARCHAR(4000) would slow down data retreival as fewer rows would fit on a data page.

Backing up the database would be the same.