incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Miguel Silva <luismiguelferreirasi...@gmail.com>
Subject Re: Bulk inserts
Date Tue, 05 Apr 2011 03:15:34 GMT
Cool! It would be great if the module supported it but i don't think it does...
Thank you for pointing me to the API (that other document referenced it but it didn't provide
any examples)!

Thanks,
Luis Miguel Silva

On Apr 4, 2011, at 6:52 PM, Sean Copenhaver <sean.copenhaver@gmail.com> wrote:

> 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
View raw message