couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Copenhaver <sean.copenha...@gmail.com>
Subject Re: Bulk inserts
Date Tue, 05 Apr 2011 00:52:39 GMT
I don't have any experience but if the module is giving you a hard time you may want to just
script out the request yourself. 

Anyway the wiki has a simple example using curl:

http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API#Modify_Multiple_Documents_With_a_Single_Request



On Apr 4, 2011, at 8:32 PM, Luis Miguel Silva <luismiguelferreirasilva@gmail.com> wrote:

> Dear all,
> 
> Does anybody on this list have experience with bulk inserts? ...from
> Perl's CouchDB::Client module?
> 
> I'm doing some benchmarks and found some references to "bulk inserts" here:
> http://guide.couchdb.org/draft/performance.html#inserts
> "Bulk docs is the API to use when you are importing a corpus of data
> using a scripting language. It can be 10 to 100 times faster than
> individual bulk updates and is just as easy to work with from most
> languages."
> 
> Unfortunately, this doc doesn't seem to have examples on how to do
> bulk inserts...
> 
> Thank you,
> Luis

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message