Text storage

I work on a job site (using asp.net 3.5) in which a user can upload one or more resumes. Database - SQL Server 2005. What is the recommendation for storing these documents? Should I store it as a blob in the database or just save the path in the database and save the document in a physical folder? Can anyone mention the pros and cons of each performance and scalability?

Thanks!

+5
source share
8 answers

Storing files in a database gives you:

(+) simplifies housekeeping, no orphan files on disk

(+) consistent programming and access model (authorization)

(-) , .

, , . , ( , , ).

+1

. , ( ) .

, , . , . Microsoft Research . , .

, , Microsoft SharePoint Word ( ) SQL Server . .

0

, - ( ​​ , ..) , . , ( 21 . /) db, , .

0

Simple Recovery Model. , , .

0

, , - , 20 . (, 2008-01, 2008-02), , , .

/ . / /, , . , 10-20K 1-2K. .

0

, . , , , . , .

:

  • , .
  • / .
  • , - .., .
0

, .

, , , SQL . (.ndf) , , BLOB.

, , (1) , - . (2) . (3) OLTP.

0

:

  • .
  • .

: , .., Word, .

, : , (, , ).
.

I would also normalize the file names at the time of sending so that they are consistent, for example 20090219-001.doc.

Like others, you can parse a doc file to extract pure text information and store it in a database to take advantage of text search.

0
source

All Articles