![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
1. Store files in the server file system and include a path or partial path to the file in a varchar type column. 2. Store files in the database in a table that includes a varbinary(max) or other acceptable column type. Options here include using filestream as well as using a separate filegroup for BLOB storage. 3. Using a separate database on the same SQL Server for the BLOBs. 4. Other options? I have experience with 1 and 2 and I understand some of the benefits and drawbacks of each. However, I have another requirement--that I be able to backup and restore the database WITHOUT the BLOBs and still have a working database that I can use for development. Option 1 gives me this but I'm not convinced that I can easily do that with option 2 even if BLOBs are in a separate filegroup and I do filegroup restores (please correct me if I'm wrong). |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I'm not sure how large the database will be for just data, but I am expecting three or four thousand document uploads per month once things get going. Therefore, the file storage and retrieval component will not be trivial. It's hard to say how large the documents might be because they could be in many formats. Let's assume an average of 500 kB per document and about 4,000 documents per month -- that gives us 2GB per month of just document storage. |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |