Solved

SQL Server FileStream Question

Posted on 2014-02-07
1
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Query Works in SQL 2008 & 2012 But Not SQL 2016 15 98
Sql Query 29 30
export sql server dbs 2 25
mssql 7 32
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

737 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