Emmanuel, you can bypass the HTTP stack with hovercraft. but you have to know some erlang for this though.
[1] https://github.com/jchris/hovercraft - not sure if this is working with current couchdb versions. On 07.12.2010, at 22:14, Emmanuel Decitre wrote: > Hi Zach, > > Thanks for the info. > PUTing bulks will definitely speed-up the whole. > But since I have around 1E9 documents, it might > still be worth bypassing the networking layer. > I'll however give the bulk PUT a try. > > Cheers, > Emmanuel > > On Tue, Dec 7, 2010 at 9:45 PM, Zachary Zolton > <[email protected]>wrote: > >> Emmanuel, >> >> Are you PUTing each document into the database individually? >> >> If so, you should try the _bulk_docs API: >> http://is.gd/imdGF >> >> >> Cheers, >> >> Zach >> >> >> On Tue, Dec 7, 2010 at 2:34 PM, Emmanuel Decitre <[email protected]> >> wrote: >>> Hi there, >>> >>> I am a newbie in the couchdb community. >>> >>> I have a huge set of gis data I am storing using the document REST API. >>> But it takes hours. I was just thinking whether it is possible to >> directly >>> access the storage engine (make_doc in couch_db.erl ?) to feed the >>> beast offline before starting the http engine... >>> >>> Any hint ? >>> >>> Emmanuel >>> >> > > > > -- > Emmanuel Decitre > 0049-151-551-55948
