Anuj Gupta
Anuj Gupta

Reputation: 31

What is the best way to ingest document in Marklogic database so that the size doesn't increase much in database?

In Marklogic whenever we ingest any documents the size of the documents increase by 1.5 times. Do we have any way so that the size doesn't increase?

Upvotes: 0

Views: 65

Answers (1)

Tamas
Tamas

Reputation: 11244

The size of the document on disk is pretty much always going to be dependent on how many (and what kind of) term list indexes you have switched on. The general rule of thumb is that the more indexes you have enabled the more disk space MarkLogic is going to utilise.

Also note that we apply hashing to the indexes and we also apply compression to the documents so MarkLogic is trying it's best to keep the document and index sizes at a minimum.

Upvotes: 3

Related Questions