Hi.
Is it possible to cyclically overwrite data in Elasticsearch storage (as Round-robin databases do)? For instance, when the storage is full, new data will overwrite the oldest. Maybe there are some way to organize the similar mechanism?
Thanks
Hi.
Is it possible to cyclically overwrite data in Elasticsearch storage (as Round-robin databases do)? For instance, when the storage is full, new data will overwrite the oldest. Maybe there are some way to organize the similar mechanism?
Thanks
Data in Elasticsearch is stored in shards built from immutable segments. You therefore need to delete indices and shards to make space so there is no such overwrite mechanism.
It depends on your data and requirement, Data streams with ILM could be a help in some cases. It's not a per-document override, but it can delete old index and create new index automaticaly.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.