문제

I'm trying to use NTFS compression to compress a RavenDb Database. It's working to change folder attributes to Compressed, but when I start ravendb server, database no longer cannot be access it . I'm receiving : "Failed to create database testdb One or more errors occurred." "Could open database named: testdb One or more errors occurred."

Any clues? Thanks, Alex

도움이 되었습니까?

해결책

From MSDN:

Do not put files that are managed by extensible storage engine (ESENT or ESE) on a compressed drive. Placing a Microsoft Jet database on a compressed drive may cause write-through delays that can cause Jet database corruption.

RavenDB uses ESENT (Jet Blue) as its document store. So the answer is - DON'T DO THIS.

If you want compression, use the RavenDB Compression Bundle.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top