I don't run a blog but I thought I would share some results with the 
community.

Using Elasticsearch 1.4.3

I wanted to test the various ways we could save some storage on our ES 
index and here are some numbers

Created 6 different indexes with the various mapping settings.
Each index containing 4 types.
Insert 100,000 documents per type so total 400,000 per index.
Average document size 300-400 bytes.

The values represent the total primary space taken by each index based on 
the different mapping settings.

_source: true = 45MB 
_source: true, _all: false = 34MB
_source: false = 30MB
_source: false, _all: false = 18MB
_source: false, store: true (all fields) = 39.5MB
_source: false, store: true (all fields), _all: false = 28.5MB

As you can see the default _source setting takes the most space, while 
disabling the _source and _all field saves the most space.



-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/423ea99b-b9f2-4551-bb0c-d0167ed52150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to