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 E179910E3A for ; Tue, 30 Jul 2013 02:35:14 +0000 (UTC) Received: (qmail 26037 invoked by uid 500); 30 Jul 2013 02:35:12 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26005 invoked by uid 500); 30 Jul 2013 02:35:11 -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 25995 invoked by uid 99); 30 Jul 2013 02:35:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 02:35:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of manokaran@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jul 2013 02:35:04 +0000 Received: by mail-wi0-f182.google.com with SMTP id hi8so1845046wib.3 for ; Mon, 29 Jul 2013 19:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XcKY9M/RbsXxb5mVa7H9ei/o7Bjpxw0NU044AQ1fkcM=; b=fy2s2oX6DrEKTTdfDvV+Pi4cq/c4zZV/TuspSfXAR1wpRpnslf7fgAp49YkLPXk/4t /b1UnFm28lmeo4lAA7R6LY66zwztxfNgbYQatMJUW8D/8ecAB7EChzoS2mpZ3rTB4lWx hTCGLgSBw8+T1/t9RSIAxypcvjzYXwzA+yjnfy/atlSPt2miVT/GbwreRTe3vlD7vNxJ kBCEjnszQqjdAUOk8s26tN2SJ5T7h4RcwaLF7Qsc2F8ZK0Wy1TwLcIQOJK0/ASemQPUB 8BrBGieAxfd2CArjHdO3Dn4vzRY9RGUSiBJ1FECPM49Sm1G09pIFxwMAPhqn+VQzohkC UJkA== MIME-Version: 1.0 X-Received: by 10.180.74.173 with SMTP id u13mr7712628wiv.32.1375151684045; Mon, 29 Jul 2013 19:34:44 -0700 (PDT) Received: by 10.194.168.200 with HTTP; Mon, 29 Jul 2013 19:34:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Jul 2013 08:04:44 +0530 Message-ID: Subject: Re: CouchDB: Storing Files and Performance From: Manokaran K To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=f46d04374953a3d32a04e2b17342 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04374953a3d32a04e2b17342 Content-Type: text/plain; charset=ISO-8859-1 It is better to store it as an attachment to take advantage of CouchDB's replication features. If you only store the path then you have to sync the files yourself. regds, mano On Tue, Jul 30, 2013 at 3:57 AM, 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? > -- Lord, give us the wisdom to utter words that are gentle and tender, for tomorrow we may have to eat them. -Sen. Morris Udall --f46d04374953a3d32a04e2b17342--