incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: storing json datafile
Date Sat, 16 Apr 2011 13:10:09 GMT
Hi Mauro,

On 14 Apr 2011, at 21:15, Mauro Fagnoni wrote:

> Hello all,
> 
> I would like to know how I can upload a data file .json (3.1gb) to populate
> my database.
> At the moment i've only create a database name, and if possible I would not
> want to use interface grafical.
> 

I'd look into formatting that file into the format the the /_bulk_docs API
understands:

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

With 3.1GB in size, I'd probably also chop this up into multiple files of
1000-10000 lines of documents to POST to /_bulk_docs in one go.

Cheers
Jan
-- 


Mime
View raw message