Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 69026 invoked from network); 10 Apr 2011 12:42:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2011 12:42:48 -0000 Received: (qmail 62421 invoked by uid 500); 10 Apr 2011 12:42:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 62353 invoked by uid 500); 10 Apr 2011 12:42:45 -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 62345 invoked by uid 99); 10 Apr 2011 12:42:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 12:42:45 +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 (athena.apache.org: domain of st.fankl.in@googlemail.com designates 209.85.161.52 as permitted sender) Received: from [209.85.161.52] (HELO mail-fx0-f52.google.com) (209.85.161.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 12:42:39 +0000 Received: by fxm6 with SMTP id 6so5583948fxm.11 for ; Sun, 10 Apr 2011 05:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=2WXmyF65WDVRKxdDy5/VZy2I/i8txwMjukJjs2Age/c=; b=S84MO87QX7N4tHqCAYG4WJU59ZUdKsS6AlX/RDq1G4dbc+y5nbKeHVx7wcGwZHOhOK DwwsRQPrECsm/yQItVQKGYb6g/Pa1A2c+82TJSVBa9GG3j5xCffRH50ydpOzCDJ/OBa1 kjms1T6iL9Y4OtrK5cw5Fy/XdI5/NO/gJ6nmM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=SNssfSNqheBE1Ob7r8hCiMcyFI+0SZZxgx6rkcPgShvymiC3vTNmoYoFG582WKIFu9 euKF3Fjxaweo7y3/cjPFlNbQVgcEcVkpvd6z0Fmr63UeQJhS61+lzPh9Vo4qaL9FDjSd WbgfZEnX/8lXNKp3fXG6P3WPcD5EAZt6eeW60= Received: by 10.223.59.81 with SMTP id k17mr29262fah.94.1302439338008; Sun, 10 Apr 2011 05:42:18 -0700 (PDT) Received: from [192.168.1.101] (p54B239B1.dip.t-dialin.net [84.178.57.177]) by mx.google.com with ESMTPS id 14sm1228150fas.30.2011.04.10.05.42.16 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Apr 2011 05:42:17 -0700 (PDT) Message-ID: <4DA1A5B5.7040305@googlemail.com> Date: Sun, 10 Apr 2011 14:42:29 +0200 From: Stefan Klein User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Some questions on large attachments Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi List, When I upload a large (100-300MB in my case) file and the document is changed while I am uploading the file the upload will fail because the revision had changed. So I thought of having separate documents for the files and move them to the destination document after the upload is complete. Is it possible to copy (or move) an attachment from one document to an other without downloading and re uploading the file? if it's possible, will it also work between 2 databases on the same instance? If the same file is attached to 2 or more documents, will couchdb hold one copy for each or is it possible to tell couchdb these are the same, you only have to store it once? thanks, Stefan