I uploaded many pictures before realizing they are stored in database by default in the [dbo].[Picture] table, and now I just changed the setting "Pictures to be stored on" from database to File System. But how do I move the existing pictures stored in database to file system after this setting change?
They're automatically moved to the file system when you change the "Pictures to be stored on" setting
Thank you Andrei!
I haven't seen the database size reduced yet on my web host, do I need to do anything to my database after the system moved my picutres to file system? And, does the system move only the pictures or it also moves files like pdf?
Thank you so much Andrei! That did shrink my database down! One thing I found is that the [dbo].[Picture] table still has all the rows of the pictures and when I add new product it also inserted rows in this table, so did the shrink operation take out the [PictureBinary] column's data? And, how do I make pdfs store on file system also? Thanks -ray.
hi, our site has just started to give the error message
Could not allocate space for object 'dbo.Nop_Log'.'PK_Nop_Log' in database 'DATABASE' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
We have removed all the message q etc and there still inst enough room, i wondered if it was because all the images are stored in the database and would like to move them to a file location, however, when i amend the store images in database to false in all settings all the existing images disappear off the pages. we are using 1.8.
I have no experiance playing around with databases so am unsure what to do next.