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 52EB610729 for ; Mon, 29 Jul 2013 22:33:01 +0000 (UTC) Received: (qmail 52771 invoked by uid 500); 29 Jul 2013 22:33:00 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 52730 invoked by uid 500); 29 Jul 2013 22:33:00 -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 52722 invoked by uid 99); 29 Jul 2013 22:33:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 22:32:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.160.173] (HELO mail-gh0-f173.google.com) (209.85.160.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 22:32:53 +0000 Received: by mail-gh0-f173.google.com with SMTP id g16so1918361ghb.32 for ; Mon, 29 Jul 2013 15:32:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=qTblkkbMOAf5GbtZXzcgGYojh1jqKJT3wDid98JMSdU=; b=lXHCHiw8DR3f6AHplYRToQVngI93sGpUHPCAm184s8p6UfsI76ZkQUPXfiVR2W77e5 AxKoa78jJc+HspvEdVWzRpN7dPh6LIb5dpCaSmcV0QxzC30MohuSDf6q3qup7gDX8qwj 4dzCfx5ZnH7gLwF6oDBQpIc+xV0mqrmSxOX8qLzS1LiYfLuMRzEJjQO612UYVyBLe1E7 pI4mB7JzRar1CyzykY8wEJxET126fOghMScxmm/WvBThXTnbunAFodg4gfwTHXlGCL58 okq3Xxtox466vK9VviVUz+bWPnpTiAlXa1gSlkxV150hh1bgEozKFjrgyRlXkJlsvZ/m yfIg== X-Received: by 10.236.97.105 with SMTP id s69mr28967887yhf.110.1375137132628; Mon, 29 Jul 2013 15:32:12 -0700 (PDT) Received: from whitebooks-MacBook-Pro.local (ool-addc3272.static.optonline.net. [173.220.50.114]) by mx.google.com with ESMTPSA id s80sm87275105yhe.27.2013.07.29.15.32.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 29 Jul 2013 15:32:11 -0700 (PDT) Message-ID: <51F6ED6A.2000800@styleflare.com> Date: Mon, 29 Jul 2013 18:32:10 -0400 From: David | StyleFlare User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: CouchDB: Storing Files and Performance References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkNMOKBxVEXHea+oj8VNDDapP1nhKEHdQn2UGPJx+pC0xvX4tZShjMCTGc4VTfTqTZV3T8e X-Virus-Checked: Checked by ClamAV on apache.org I asked this question once and I think that you have to use the "attachments" to store files in the DB which indexes them on disk somehow and does not ruin DB performance. You can check the wiki for it. I hope that steers you in the right direction. Thanks. On 7/29/13 6:27 PM, Hank Knight wrote: > For performance reasons, is it generally better to store files in > CouchDB or to to store them at a fixed location and store the full > path to the file in CouchDB?