we are currently running our Elasticsearch on 1 single node and get about
20 Million Logs per Day(40 GB/daily indices). Since this is a much Stuff to
handle with, the indices takes a lot of disk space on our server.
What we like to implement:
1 Data directory which is stored on our SSDs and contains the indices of
the last 7 days for quick access.
1 Data directory which is stored on normal HDDs and contains indices of
last 3 months for normals speed acces.
1 Data directory which is stored on slow 5400 rpm HDDs and contains the
indices of the last 2 years for access if needed.
Well it´s not problem to tell ES multiple data paths but if you do this, ES
will stripe (RAID 0) the indices on all 3 data directories.
But thats not what we want. We want do copy the indices with a script to
the matching directories ( a index which is older than 8 days gets
automatically moved to normal HDDs and so on).
Assuming these are all in the same server; You can't do this unless you run
multiple instances and then tell each instance which directory (mount) to
store the data.
we are currently running our Elasticsearch on 1 single node and get about
20 Million Logs per Day(40 GB/daily indices). Since this is a much Stuff to
handle with, the indices takes a lot of disk space on our server.
What we like to implement:
1 Data directory which is stored on our SSDs and contains the indices of
the last 7 days for quick access.
1 Data directory which is stored on normal HDDs and contains indices of
last 3 months for normals speed acces.
1 Data directory which is stored on slow 5400 rpm HDDs and contains the
indices of the last 2 years for access if needed.
Well it´s not problem to tell ES multiple data paths but if you do this,
ES will stripe (RAID 0) the indices on all 3 data directories.
But thats not what we want. We want do copy the indices with a script to
the matching directories ( a index which is older than 8 days gets
automatically moved to normal HDDs and so on).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.