简体   繁体   English

Couchbase数据复制Elasticsearch

[英]couchbase data replication elasticsearch

I went through Couchbase xcdr replication documentation, but failed to understand below point: 1. couchbase replicate the all the data in bucket in batches to elstic search. 我浏览了Couchbase xcdr复制文档,但未能理解以下几点:1. benchbase批量复制存储桶中的所有数据以进行elstic搜索。 And elastic search provide the indexing for these data for realtime statical data. 弹性搜索为实时​​静态数据提供了这些数据的索引。 My question is if all the data is replicated to elsastic search , then in this case elastic search is like database which can hold huge amount of data. 我的问题是,是否将所有数据都复制到弹性搜索中,那么在这种情况下,弹性搜索就像可以容纳大量数据的数据库一样。 So can we replace couchbase with elastic search? 那么我们可以用弹性搜索替换沙发床吗? 2.how the data in form json is send to d3.js for display statical graph. 2.如何将json形式的数据发送到d3.js以显示静态图。

If your data are not critical or if you have another source of truth, you can use Elasticsearch only. 如果您的数据不是很关键,或者您有其他事实来源,则只能使用Elasticsearch。

Otherwise, I'd keep Couchbase and Elasticsearch. 否则,我将保留Couchbase和Elasticsearch。 There is a resiliency page on Elastic.co website which describes potential known problems. Elastic.co网站上有一个弹性页面,该页面描述了潜在的已知问题。 https://www.elastic.co/guide/en/elasticsearch/resiliency/current/index.html https://www.elastic.co/guide/zh-CN/elasticsearch/resiliency/current/index.html

My 2 cents. 我的2美分。

All of the data is replicated to Elastic Search, but is not held there by default. 所有数据都会复制到Elastic Search,但默认情况下不会保存在其中。 The indexes and such are created, but the documents are discarded. 创建了索引等,但是文档被丢弃。 Elastic Search is not a database and does not perform like one and certainly not on the level of Couchbase. Elastic Search不是数据库,并且性能不像一个数据库,当然也不像Couchbase那样。 Take a look at this presentation where it talks about performance and stuff and why Cochbas 看看这个演示 ,它讨论了性能和东西以及为什么Cochbas

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM