• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

SQL Server FileStream Question

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
hojohappy
Asked:
hojohappy
1 Solution
 
dbaSQLCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now