We are thinking of using Elastic-search as our primary database.
But i am concerned about few things:
If we need to modify a document type(let's say add new field) we will
need to re-index all raw data. therefor we need to keep the raw data
somewhere. In that case we need to maintain additional db?? which type of
db?
How's elastic search behave as a primary database? is that best practice?
Am Mittwoch, 25. Juni 2014 11:50:42 UTC+2 schrieb rayman:
We are thinking of using Elastic-search as our primary database.
But i am concerned about few things:
If we need to modify a document type(let's say add new field) we will
need to re-index all raw data. therefor we need to keep the raw data
somewhere. In that case we need to maintain additional db?? which type of
db?
How's Elasticsearch behave as a primary database? is that best
practice?
I think you should read Jepsen: Elasticsearch first. Bottom line:
do not use elasticsearch as the primary database unless you can always
recreate your data from other sources.
Just for what itś worth: we have been using ES as our primary datastore for
almost 2 years. so far so good.
I think that the blog post you are referring to is very interesting but
at the same time, think about how many sql databases out there are not even
backed-up in production... are they safer because they use a SQL store?
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.