Solved

SQL Server FileStream Question

Posted on 2014-02-07
1
246 Views
Last Modified: 2014-02-22
Just looking for an opinion or suggestions.  I have a windows form application that uses a SQL Server Database on a network server.  Currently this applications creates XML configuration files and stores then in local folders on a users desktop.  I am thinking of storing these XML configuration files into SQL Server table using filestream instead.  I would need to rewrite some code but the benefit would be that all the configuration files will be centralized.  

Is there anything wrong with storing XML files in SQL server via filestream?  Will this impact performance of my application in anyway by retrieving XML configuration files from SQL Server instead of from a local folder?
0
Comment
Question by:hojohappy
1 Comment
 
LVL 17

Accepted Solution

by:
dbaSQL earned 500 total points
ID: 39843650
Anything wrong with it?  No, not necessarily.  But you have to look at your situation, and decide what is most appropriate.  I just mean there are many things to consider, while you're making this decision.  

Read this.  I believe it is very helpful:   http://blogs.msdn.com/b/manisblog/archive/2007/10/21/filestream-data-type-sql-server-2008.aspx


Personally, I believe FILESTREAM really starts becoming usable when your files are consistently 1MB or better in size.  

If it's much smaller than that, I would just store it as the XML data type.  If you do that, you can query it with XQuery, which I don't believe you can use with the FILESTREAM storage.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question