Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread NTFS Compression
Tue, Dec 25 2018 11:38 AMPermanent Link

Charalampos Michael

Hello,
 Just enabled NTFS compression on a EDB Database and it's working fine ...
 So the question is ... IS IT SAFE ? Smile

Thank you
Thu, Dec 27 2018 8:58 AMPermanent Link

Raul

Team Elevate Team Elevate

On 12/25/2018 11:38 AM, Charalampos Michael wrote:
>    Just enabled NTFS compression on a EDB Database and it's working fine ...
>    So the question is ... IS IT SAFE ? Smile

It's OS file system driver level so should be invisible to EDB (or any
other app). Have not used it for DB but use it often for our app logs
folder and never had any issue.

Always have a backup though Smile

Raul
Sat, Dec 29 2018 5:40 AMPermanent Link

Charalampos Michael

Raul,

> It's OS file system driver level so should be invisible to EDB (or any
> other app). Have not used it for DB but use it often for our app logs
> folder and never had any issue.

Well, i'm stilling wondering why MSSQL Server doesn't allow NTFS compression on their Databases ... Smiley

> Always have a backup though Smile

Of course Smile
Sun, Dec 30 2018 1:56 PMPermanent Link

Raul

Team Elevate Team Elevate

On 12/29/2018 5:40 AM, Charalampos Michael wrote:
>
> Well, i'm stilling wondering why MSSQL Server doesn't allow NTFS compression on their Databases ... Smiley

I'm not up to speed on latest MS-SQL so take rest with grain on salt

Main issues are around recovery and reliability i think :

- SQL database disk recommendation is 64K block size which does not
actually support compression at all

- ntfs does write caching in case of compression being involved which
might be undesirable if one wants the database write to fully flush

- there was something about sector aligned writes and transactional ecovery

- finally there is additional CPU (also of course case with built-in
encryption) and adding another potential point of failure

Raul
Wed, Jan 2 2019 9:15 AMPermanent Link

Charalampos Michael

Thank Raul! interesting ...
Thu, Jan 3 2019 12:29 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Well, i'm stilling wondering why MSSQL Server doesn't allow NTFS compression on their Databases ... Smiley>>

SQL Server might have an option for raw file I/O, which bypasses the Windows file system (to some degree, at least the caching layer) and this may affect the ability to use NTFS compression with database files in such a scenario.

Tim Young
Elevate Software
www.elevatesoft.com
Image