Click here to Skip to main content
12,691,959 members (30,349 online)
Rate this:
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 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 23:29pm
Rate this: bad
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[^]
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 ?
Mika 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100