anonymous usere-msft thank you sooo much. your remark is correct, it was converted to BMP for that size change I have changed the code to :
FDQuery1.ParamByName('image').LoadFromFile(aFile, ftBlob);
and I have the same size
the language is Delphi (Pascal)
thank you again
compression FILESTREAM SQL Server Express 2014
Supprimer l'alerte|Modifier|Type de modification
Question
Vous ne pouvez pas voter pour votre propre billet.
0
Hello
I'm Using FILESTREAM to Store BLOBs in the NTFS File System in SQL Server Express 2014, the problem is when I store the image with the size 200ko, I found that the size change to 3000ko, so the size of the file becomes 15 times bigger than his real size?
Is it normal?
or there is anything I can do in the configuration to make compression of files?
Best Regards
-
bmmsr 101 Reputation points
2020-11-26T17:37:52.117+00:00
1 additional answer
Sort by: Most helpful
-
Erland Sommarskog 112.7K Reputation points MVP
2020-11-25T22:54:24.58+00:00 How did you add the file do the database? Plain insert or OpenSqlFilestream?
Not that it would matter, you will get the same amount of bytes in either case.
You may be looking at another file. Items stay around in the filestream folder, even if the row it came from has been deleted. No, it does not stay for ever, but a log backup has to be taken, before garbage collection can set it.