Elastic-search as our primary database


(rayman-2) #1

We are thinking of using Elastic-search as our primary database.

But i am concerned about few things:

  1. 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?

  2. How's elastic search behave as a primary database? is that best practice?

Thanks,
ray.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/49ffdb3f-31a6-4629-bfb8-b25859839eb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Swen Thümmler) #2

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:

  1. 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?

  2. How's elastic search behave as a primary database? is that best
    practice?

I think you should read
http://aphyr.com/posts/317-call-me-maybe-elasticsearch first. Bottom line:
do not use elasticsearch as the primary database unless you can always
recreate your data from other sources.

--Swen

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/63c0f150-6dae-41b7-b4a5-ab315374b792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Stephane Bastian) #3

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? :wink:

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/be0b99f5-4953-4ea4-b0f7-0921ae8b2cb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4