Click here to Skip to main content
15,881,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi every body.

I have about 100,000,000 images (each one's size less than 10K , averagely 6K) means about 570GB and at the moment i had stored all of them in SQL Server 2008 R2 in one table.

my question is that which way has better speed in accessing them ?

1. Images stay in sql server with a asp.net page or web service for accessing each image with a given image name or id. (maybe using some technics like distributing the sql server on several servers or MS SQL Server parallel data warehouse)

2. Extracting all images to file system and accessing them via IIS ?

my first and important concern is about accessing speed .
Posted

I've done some comparison in binary data performance in Sql Server. Perhaps it would be of some use: How to store and fetch binary data into a file stream column[^]
 
Share this answer
 
Comments
Areff 17-Aug-11 3:38am    
I have not problem in compression or other things related to fetching the images , my question is about performance of fetching speed of sql server against file system, which one is more faster ?
Wendelius 17-Aug-11 5:27am    
Yes, I understood that. The article doesn't describe the compression but different mechanisms to insert/fetch binary data (inside SQL Server or on files system using Filestream). Did you have a look at the performance comparisons.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900