Solved

SQL Server FileStream Question

Posted on 2014-02-07
1
241 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now