Hi,
we have image column in our database and when we try to retreive image, it takes very long time. Is there any way to improve performance?
Any solutions apart from the below
1. Instead of saving data in DB, store it in file system.
2. using varbinary column instead of image column.
Loading


nuthan raghav12 reputationPosted Jul 6, 2012, 1:30 AM EDT
Instead of storing the whole image in the database you can store the file path of that image in database and the image can be stored in the file ..........
I think below code will be useful for u..
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jul 6, 2012, 4:45 AM EDT
nuthan raghav12 reputationPosted Jul 6, 2012, 5:35 AM EDT
Just let me know clearly what you are asking ...........
I think it is not possible that without storing the image how can we retrieve that image from database...........
Regards,
Raghav.
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Jul 7, 2012, 1:51 AM EDT
And i have fixed this by using sql server paging to retrieve only few records to fill in datatable.