Hi Guys.
I have a MSSQL database of 2 gigs which has about 100mb of data, the rest is images.
I have noticed a huge decrease in performance as more images are entered into the database (most images are about 1mb).
I would like to know if there is a way to extract the images from the database and move them to a folder on the server.
Does anyone have experience or suggestions as to how this can be done?
Regards
VVOLTT
Quote: Originally Posted by vvoltt Hi Guys. I have a MSSQL database of 2 gigs which has about 100mb of data, the rest is images. I have noticed a huge decrease in performance as more images are entered into the database (most images are about 1mb). I would like to know if there is a way to extract the images from the database and move them to a folder on the server. Does anyone have experience or suggestions as to how this can be done? Regards VVOLTT |
Before doing something like this, make sure that your SELECTS are optimized so that they don't pull images unnecessarily, and that your tables are properly indexed. Try taking a look at the execution plan for your slow queries.
The easiest way to do something like this would be to create a simple interface to query each row, and then write the data to a file.