Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 94052 invoked from network); 9 Dec 2010 19:06:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 19:06:45 -0000 Received: (qmail 15560 invoked by uid 500); 9 Dec 2010 19:06:43 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 15526 invoked by uid 500); 9 Dec 2010 19:06:42 -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 15416 invoked by uid 99); 9 Dec 2010 19:06:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:06:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ryan.ramage@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 19:06:34 +0000 Received: by wyb28 with SMTP id 28so2925103wyb.11 for ; Thu, 09 Dec 2010 11:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XbIIbmP4CDBnqDefeaGXNwCQTgMhvEtLGOKsRLT/zcc=; b=ECqr9l0hVeeT+R+hVCboghx3a+YUW/nac1IuUq0x1Y+IIYwWPSMTaZpVYW4nCBO2lU H9qmYhKyYmT+rFNNtiCyqYvh4jXfUHUUWlDAaUCmBh0DeeGvYDgicCkDRTx8qAaonqkt 4JPSkEbgOvB+QTdFzsQc0OqURY6vBQAFSCRbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oJIafA+ZWQ6QbaV4+09FUcKDrZeFcZBq9n0HxHgVQhM1+NSjFHCRuO1TvQ2aCbm5fO nNnpwRQrZ2AaF9pf715CgAwAfQfrP7OCc4E0GHt78UOO9rEWZeyy2hpi9efc7ECr2wFT w2ZW0BK+m0rN6EVXenf4KVfwfsTiehiXkCuH4= MIME-Version: 1.0 Received: by 10.227.129.17 with SMTP id m17mr2484335wbs.77.1291921574274; Thu, 09 Dec 2010 11:06:14 -0800 (PST) Received: by 10.227.61.139 with HTTP; Thu, 9 Dec 2010 11:06:14 -0800 (PST) Date: Thu, 9 Dec 2010 12:06:14 -0700 Message-ID: Subject: Multiple DB Directories From: Ryan Ramage To: user Content-Type: multipart/alternative; boundary=001636831f588327830496feeee3 X-Virus-Checked: Checked by ClamAV on apache.org --001636831f588327830496feeee3 Content-Type: text/plain; charset=ISO-8859-1 Hi all, The application I am building has a requirement that I would like to explain. The application runs on the users PC, and has a locally installed couch. I am expecting the users to be amassing an every growing size of db. So for each user there will come a time when they run out of space on the partition/drive that has the /var/lib/couch db. Since this is a single user app, I don't expect them at this point to do any fancy partitioning or running more than one couch. But what I would like is to have a archive feature in the app that will replicate older data to another local db. I would like this db to be stored on a different partition or disk than the main one. I imagine a user buying a usb drive or similar. Speed will not be the issue (as it is archive data). I want them to be able to disconnect from the usb drive if they wish and for couch to keep running of the main db. So to accomplish this, I ask, can we configure couch to have multiple db dirs? eg: [couchdb] database_dir = ../var/lib/couchdb, /mount/somewherehuge or [couchdb] database_dir = ../var/lib/couchdb, G:\archive I guess this might also overflow to the view_index_dir. I would like the solution to be cross platform, which limits windows poor folder linking. The app level seems a better solution. Any ideas on this? --001636831f588327830496feeee3--