Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C535F4629 for ; Mon, 23 May 2011 10:36:29 +0000 (UTC) Received: (qmail 13689 invoked by uid 500); 23 May 2011 10:36:28 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 13555 invoked by uid 500); 23 May 2011 10:36:28 -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 13547 invoked by uid 99); 23 May 2011 10:36:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2011 10:36:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ivolation@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; Mon, 23 May 2011 10:36:19 +0000 Received: by wyj26 with SMTP id 26so5886995wyj.11 for ; Mon, 23 May 2011 03:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=j0my9jZJf5WyLuDpgD3oN6VVqQMFdUmQeVUu2U6pdzg=; b=pMWChYOPuK6jAezYZ8zBVEg8Be+Cd1L5UZDyvZt9y+9jd/KbXkEIFM35sPMjiHdlR8 f9jB8eleotGbQHvn3KsN64mAqHMKd8L5ASVNQoVIbfy4LPS4nRwR9iFAae0/ydGvUpIK t5Dm3agONR8Wm2nGl9tj/b3s5L6LFvzaXMRTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=N6Yrn/PYBTCdOYo8Zbyi56iEvP9gir4KIoxGFO/N6jm7MosYbJtsDr6FQ+p2KF7So7 zmqJmKEo4XPpC5eqYMQz9dK0Uulsjv+WBwY5PzUTFj4DRlpc+eRzDvZrwHslHo/USAi4 5fo0R5wNj3g02L5lnm7zYAdEfnuLblVeF+bdk= Received: by 10.227.177.72 with SMTP id bh8mr2069315wbb.67.1306146959014; Mon, 23 May 2011 03:35:59 -0700 (PDT) Received: from [172.31.120.73] ([212.58.232.179]) by mx.google.com with ESMTPS id l24sm3996148wbc.13.2011.05.23.03.35.57 (version=SSLv3 cipher=OTHER); Mon, 23 May 2011 03:35:58 -0700 (PDT) Message-ID: <4DDA388C.4010204@gmail.com> Date: Mon, 23 May 2011 11:35:56 +0100 From: Ivo Kammerath Reply-To: ivo@kammerath.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Merging many DataBases into one Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am in a similar situation as the one Stefan is working towards (http://mail-archives.apache.org/mod_mbox/couchdb-user/201105.mbox/raw/%3CBANLkTimubddjMqKAmQ4Bf1=BXhqyUArZnw@mail.gmail.com%3E/) However I would like to do the exact opposite. So instead of splitting one DB into two, I would like to merge eight DBs into one. As source I have 8 DBs/shards on 8 couchdb instances, or alternatively I also have a backup of all 8 shards on one couchdb instance. I would like to move these 8 shards onto a new node, on which they would exist as a single DB on a single couchdb instance. I considered simply read/writing it doc by doc, but due to the size of the 8 shards this does not seem a valid option. many thanks in advance Ivo