# Storage type in Elasticsearch

**URL:** <https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262>\
**Category:** Elasticsearch\
**Created:** [June 23, 2014, 12:45pm UTC](https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262 "2014-06-23T12:45:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Pal](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@Prashant\_Pal](https://discuss.elastic.co/u/Prashant_Pal)\
**Post date:** [June 23, 2014, 12:45pm UTC](https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262/1 "2014-06-23T12:45:28Z")

</div>

Hi All,

We are using ES for indexing bulk data which may go in terms of TB.  
So just looking for which file system would be more suitable in terms of efficiency, performance, indexing time , searching time out of EXT4 , XFS or ZFS?

~Prashant

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 23, 2014, 10:27pm UTC](https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262/2 "2014-06-23T22:27:48Z")

</div>

You'll get the best performance from SSDs (obviously), but ES compresses  
data natively so you won't get much out of doing the same on the FS level.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 23 June 2014 22:45, Prashant Agrawal [prashant.agrawal@paladion.net](mailto:prashant.agrawal@paladion.net)  
wrote:

> Hi All,
> 
> We are using ES for indexing bulk data which may go in terms of TB.  
> So just looking for which file system would be more suitable in terms of  
> efficiency, performance, indexing time , searching time out of EXT4 , XFS  
> or  
> ZFS?
> 
> ~Prashant
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Storage-type-in-Elasticsearch-tp4058250.html](http://elasticsearch-users.115913.n3.nabble.com/Storage-type-in-Elasticsearch-tp4058250.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --  
> 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/1403527528571-4058250.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1403527528571-4058250.post%40n3.nabble.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624Y9%2BP2DduQxRXbxkoJ3QnvdgDm3iv%2B8MTDWT4CZkZsVHQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624Y9%2BP2DduQxRXbxkoJ3QnvdgDm3iv%2B8MTDWT4CZkZsVHQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Patrick\_Proniewski](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@Patrick\_Proniewski](https://discuss.elastic.co/u/Patrick_Proniewski)\
**Post date:** [June 24, 2014, 5:36am UTC](https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262/3 "2014-06-24T05:36:03Z")

</div>

On 24 juin 2014, at 00:27, Mark Walkom wrote:

> but ES compresses data natively so you won't get much out of doing the same on the FS level

Using a gzip compressed FS I got 2.27x compress ratio on my ES data. It's very bad for performance but depending on your needs it can be useful (storage of very old indices for example). ES reads and writes 4k blocks, so it's compression is made on 4k chunks. A bigger block size would yield to better compress ratio.

Patrick

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/686A2E78-B053-48A5-8E9F-357ABB7715DE%40patpro.net](https://groups.google.com/d/msgid/elasticsearch/686A2E78-B053-48A5-8E9F-357ABB7715DE%40patpro.net).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:20am UTC](https://discuss.elastic.co/t/storage-type-in-elasticsearch/18262/4 "2017-07-06T01:20:21Z")

</div>


