To BLOB or not to BLOB

So I need to figure out how my vb6 application will store data into the database.  I know the options are to store Binary data (BLOB) or use file storage.  Here is my situation.  I have a client side application that will be accessed from outside the office at several off site locations.  The server is located on our home office site where the SQL DB resides.  What are my choices for managing the increase in storage needs to house growing uploads of file storage.  At about a few hundred pdf, doc, xls files a day, I imagine any space would begin to pile up.  What is the best way to keep performance optimal on the database and store data that will be growing?  Is there a way to do BLOB and then archive it each year?  Perhaps create a second drive on the SQL server and use BLOB or file storage somehow?
al4629740Asked:
Who is Participating?
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
You just need to reserve disk space for the FILESTREAM in the SQL Server box.
You'ld have the same storage issue if you're going for a BLOB solution. Big difference is that with FILESTREAM the documents aren't stored in the database, so it will boost your queries performance.
0
 
Nitin SontakkeDeveloperCommented:
You haven't explicitly mentioned which database management system you are using. I can pretty much smell that it is Microsoft SQL Server, but please try not to leave it to Experts imagination. Also mention version, at times, helps a lot.
0
 
al4629740Author Commented:
SQL 2012
0
Network Scalability - Handle Complex Environments

Monitor your entire network from a single platform. Free 30 Day Trial Now!

 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Avoid BLOB. The FILESTREAM feature was released on SQL Server 2008 so people could stop to work with BLOBs and start to work with FILESTREAM.
0
 
al4629740Author Commented:
How does FILESTREAM work for the problem I stated above in regards to storage.  Remember my application is running client side in the public and the SQL db is being housed by our office.
0
 
al4629740Author Commented:
So if I setup a FILESTREAM column in my current table, it simply just accesses the reserved disk space, which in theory could be another hard drive?
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Correct. The column will have only a pointer to the physical file. Only SQL Server account should access the folder where the FILESTREAM will be allocated. This will avoid anybody else to delete those files and guarantee the database integrity.
0
 
al4629740Author Commented:
where do I begin to setup FILESTREAM?
0
 
al4629740Author Commented:
Also, what is the data format selected in the "FILESTREAM" column?  Is it considered binary?
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
0
 
al4629740Author Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.