patternsqlMinor
Sql server 2008 filestream maximum number of rows
Viewed 0 times
rowsnumbermaximumfilestream2008sqlserver
Problem
We are using filestreams in Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64) and Windows server 2008 to store millions of files. Since there are millions of files all of them are grouped into 100 filegroups and inserted sequntially one after another filegroup. Now we have around 15K files in each filegroup and expected to grow to 20K soon. so we want to know is there any maximum limit of rows that a filegroup can have to give optimum performance or is there any maximum on the operating system side for optimum performace as we are storing or going to store around <20K files in single folder?
Any suggestion to the right resources will also be very helpful.
I have a link to msdn blog which states that
4.Check if FILESTREAM directory containers do not have more than 300,000 files individually, as NTFS performance degradation may be an
issue especially when generation of 8.3 filenames is enabled.
Msdn Blog Link
Thanks.
Any suggestion to the right resources will also be very helpful.
I have a link to msdn blog which states that
4.Check if FILESTREAM directory containers do not have more than 300,000 files individually, as NTFS performance degradation may be an
issue especially when generation of 8.3 filenames is enabled.
Msdn Blog Link
Thanks.
Solution
Actually you can put as many files as you want in a file group.
Basically file group feature included in sql server so that you can
archive your organization data properly and can query the data
efficiently. Its also depend on the hard disk space on server and
configuration that which raid model you use for data storage.
Basically file group feature included in sql server so that you can
archive your organization data properly and can query the data
efficiently. Its also depend on the hard disk space on server and
configuration that which raid model you use for data storage.
Context
StackExchange Database Administrators Q#21127, answer score: 3
Revisions (0)
No revisions yet.