Ubuntu18.04 ES数据跨集群迁移Elasticsearch-migration

语言: CN / TW / HK

ES数据跨集群迁移Elasticsearch-migration

下载Elasticsearch-migration

网址

https://github.com/medcl/esm-abandoned/releases

资源

https://download.csdn.net/download/lengyer/13985454

解压

tar -zxvf linux64.tar.gz

运行

bin/linux64/esm -s http://需要迁移的ES(IP地址):9200 -d http://迁移到的ES(IP地址):9200 -x index索引 -w=5 -b=10 -c 10000

-w 表示线程数的多少
-b 表示一次bulk请求并查询数据的大小,单位MB默认 5M
-c 一次scroll请求数量

参考

https://blog.csdn.net/wangkai_123456/article/details/93190827?ops_request_misc=%25257B%252522request%25255Fid%252522%25253A%252522160930995016780281211290%252522%25252C%252522scm%252522%25253A%25252220140713.130102334..%252522%25257D&request_id=160930995016780281211290&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~baidu_landing_v2~default-1-93190827.first_rank_v2_pc_rank_v29&utm_term=es%E8%B7%A8%E9%9B%86%E7%BE%A4%E8%BF%81%E7%A7%BB

分享到: