Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-Server performance , +
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 15-Aug-11 22:29pm
Areff781
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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[^]
  Permalink  
Comments
Areff at 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 ?
Mika Wendelius at 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)

  Print Answers RSS
0 OriginalGriff 434
1 Maciej Los 155
2 Richard MacCutchan 130
3 DamithSL 129
4 Kornfeld Eliyahu Peter 119


Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 17 Aug 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid