如何在Couchbase中批量插入文档? [英] How to insert a documents in bulk in Couchbase?
本文介绍了如何在Couchbase中批量插入文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看不到使用Couchbase Python客户端批量插入文档的任何方法。关于如何使用REST api批量插入文档的任何示例?
I didn't see any way to insert documents in bulk using Couchbase Python client. Any example of how to insert documents in bulk using REST api?
推荐答案
我在这里仅针对Couchbase进行回答,您可能知道它们是2个具有不同功能的不同项目。
I am answering here for Couchbase only, as you probably know they are 2 different project with different features.
Python SDK无法批量加载数据。
The Python SDK does not have a way to bulk load the data.
为此,您可以使用:
-标准的设置/添加方法
-cbdocloader命令行工具,可用于注入数据从文件系统导入Couchbase Server,请参阅: http: //www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-cmdline-cbdocloader.html
这篇关于如何在Couchbase中批量插入文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文