Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 95886 invoked from network); 7 Dec 2010 20:45:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Dec 2010 20:45:54 -0000 Received: (qmail 41330 invoked by uid 500); 7 Dec 2010 20:45:53 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 41166 invoked by uid 500); 7 Dec 2010 20:45:53 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 41154 invoked by uid 99); 7 Dec 2010 20:45:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 20:45:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zachary.zolton@gmail.com designates 74.125.82.42 as permitted sender) Received: from [74.125.82.42] (HELO mail-ww0-f42.google.com) (74.125.82.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 20:45:48 +0000 Received: by wwi17 with SMTP id 17so1357222wwi.5 for ; Tue, 07 Dec 2010 12:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=E1a8h6JrUXZTvJSvycY+lPNbF/4XvYUlaw+iKnV+JK4=; b=bHQZkMobx64Q5wxwyLJCYfcSjaDp1XqhZyV4d1zoKqqGx+ojps6X7o3uX+qugT9ubl mz6E5VbJhlk32MPe7i+/Uj5oCjRouRpjIgU7POkTw5tsWcJLCj53o8di2ZxoGBGOszkQ 6Jx0qpeMOzrNhuJ/C3OpZ8+QdYGoIUhx5Xev0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ac8Ibxevhtjj9lXwKPwfnF0gVLek69sDd0cLMBE30vU4QpA/UllpmJGVI9XOe8zNU1 E+p4O402gOvV1x3FgCUYOxS4wc8MKV0mDyqtpVXq0JWPVSimvtVI/OFMXz1LuL2/1t31 CpFD/+cCCbXHWLbbXtOUTaSn/MIi/8xv6aOMA= Received: by 10.227.133.148 with SMTP id f20mr7890567wbt.31.1291754725686; Tue, 07 Dec 2010 12:45:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.20.21 with HTTP; Tue, 7 Dec 2010 12:45:05 -0800 (PST) In-Reply-To: References: From: Zachary Zolton Date: Tue, 7 Dec 2010 14:45:05 -0600 Message-ID: Subject: Re: bypass mod_couch To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 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 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 >