Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 79926 invoked from network); 4 Apr 2009 15:21:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2009 15:21:32 -0000 Received: (qmail 13001 invoked by uid 500); 4 Apr 2009 15:21:31 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 12908 invoked by uid 500); 4 Apr 2009 15:21:30 -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 12898 invoked by uid 99); 4 Apr 2009 15:21:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2009 15:21:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 74.125.44.30 as permitted sender) Received: from [74.125.44.30] (HELO yx-out-2324.google.com) (74.125.44.30) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2009 15:21:24 +0000 Received: by yx-out-2324.google.com with SMTP id 8so889152yxb.5 for ; Sat, 04 Apr 2009 08:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=q0K/n4/M03lj0GsxiTZA3ZH9Nl+ita//qZRM78N5WKU=; b=U28MZA/0E54NFeAtO7TZ9KXnTnsoKdGwDBy8SNuw8fkygVYKxcRU9UrailmH6pNzpQ aPpi5fx68mK8ZRB7RhrW7VUTSrlWgvkmjtLTzwaJml9X4riHEllHeWe4dY4TUw8Npw2F 2W28wohacO2jYhP+dn6z5P7UY1vRoXpvv5S9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=btPTvSfdC+cqAqhfi7gcZmiBwFmPRxnV1M3XulQ7mJ3hnqoEpXT8IY4kJLmeMpj+sA plkDNNPuusV0Va6gNQ62olYNXxzhYTB4rFl9Gv2Ruk2YSgRJtCiDCzc1KaqVaXQvcYSy kn/rAwDnOXMT6eL6EnTIhSR8jg6hozd8Hblqo= MIME-Version: 1.0 Received: by 10.100.110.16 with SMTP id i16mr2687689anc.58.1238858447254; Sat, 04 Apr 2009 08:20:47 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Apr 2009 11:20:47 -0400 Message-ID: Subject: Re: Some basic couchdb questions From: Paul Davis To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Apr 4, 2009 at 3:04 AM, howard chen wrote: > Some quick questions: > > 1. How many DB can be created in a single couchdb server? More than 500,000 have been created. Not sure what the current maximum reported number is. > 2. Are there any length limit on key & value of a document? HTTP post bodies are limited in size by mochiweb to something like 4GiB which indirectly limits CouchDB document sizes. The amount of available RAM is also a limit. A single member on the document should not be limited in size. Map/Reduce key values are not limited in size. Results returned from reduce functions should stay relatively small in size. growing at less than approximately log(# keys reduced). > 3. WIll there be max. number of documents? Nothing enforced directly by couchdb. The only limit should be the relative hardware limits. > 4. I found that when inserting large ammount of rows into couchdb, it > is quite slow (e.g. due to UTF-8 conversion, due to HTTP call...etc), > are there any way to improve? > What versions of Erlang and CouchDB and how are you inserting data? If you're not at least on 0.9 and one of the last two or three releases of Erlang you should upgrade both. Also, make sure that you're using bulk docs to load your databases on initial import. Also, for extra bonus points, sort all of your documents before loading, though this is least important. HTH, Paul Davis > > Thanks. >