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 CE70B968D for ; Mon, 5 Mar 2012 09:51:45 +0000 (UTC) Received: (qmail 58313 invoked by uid 500); 5 Mar 2012 09:51:44 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 58203 invoked by uid 500); 5 Mar 2012 09:51: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 58177 invoked by uid 99); 5 Mar 2012 09:51:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 09:51:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeroen.janssen@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 09:51:34 +0000 Received: by yhpp61 with SMTP id p61so1749545yhp.11 for ; Mon, 05 Mar 2012 01:51:13 -0800 (PST) Received-SPF: pass (google.com: domain of jeroen.janssen@gmail.com designates 10.236.170.163 as permitted sender) client-ip=10.236.170.163; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jeroen.janssen@gmail.com designates 10.236.170.163 as permitted sender) smtp.mail=jeroen.janssen@gmail.com; dkim=pass header.i=jeroen.janssen@gmail.com Received: from mr.google.com ([10.236.170.163]) by 10.236.170.163 with SMTP id p23mr25515862yhl.36.1330941073700 (num_hops = 1); Mon, 05 Mar 2012 01:51:13 -0800 (PST) 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:content-transfer-encoding; bh=6TSBFACBG9Dar4TIpJ8qhLw1AgjLOFRs8lggXIs4FHI=; b=A75FzmlOMG/YfCMyaiTeUOvNI6l/TBX9F1lNsTNjJmswA1/AyWydnYd4MdJ7QIORUp bVstAcMUm5zerwMsf7BGdhSqLz0atSIL2cFlop4MHnPaVfu1CO2TdaIJWltqhDlaLH05 p00tXch1zRkt4icd3380jsTMrKWu223K0imeUP6DkJCn5Rq1ZTe8W6fGVhtnL81sF6Kv UkUqEb2GvfpQ3yZea3tZnN/TiD2s1+QmZQ/S///WT59JbsAvqnZGcnyQN31oWcsgG66x 71I7tmc50+PdP7cUwCwDTqGJqrPzOJvKsV0GwHEgjBytyf0rrd/puY53gAYdc2vcb3Wl tSbQ== MIME-Version: 1.0 Received: by 10.236.170.163 with SMTP id p23mr20130534yhl.36.1330941073643; Mon, 05 Mar 2012 01:51:13 -0800 (PST) Received: by 10.100.45.18 with HTTP; Mon, 5 Mar 2012 01:51:13 -0800 (PST) In-Reply-To: <70B6C7DC-21FD-47F4-944D-F260CF4C32B7@simons-rock.edu> References: <985015F1-1C82-499C-9187-374907472E7D@simons-rock.edu> <70B6C7DC-21FD-47F4-944D-F260CF4C32B7@simons-rock.edu> Date: Mon, 5 Mar 2012 10:51:13 +0100 Message-ID: Subject: Re: Design Document Size From: Jeroen Janssen To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I think the .dsgname_design is a directory containing the actual view files (based on a checksum of the design document). The 4096 bytes you are seeing is probably the 'size' of the directory entry on disk itself. Best regards, Jeroen Janssen On Sun, Mar 4, 2012 at 10:45 PM, Lauren Dahlin wrote: > The file size within the .dsgnname_design files for both of my very large > design documents is 4096 bytes. I am assuming this is just some sort of > heading rather than the entire view itself. Based on what I'd read, I > thought a large view could drastically increasing the size of a database.= Is > it being stored somewhere else or is this just how a design document work= s? > > > On Mar 4, 2012, at 3:40 PM, Lauren Dahlin wrote: > >> Thanks! I was almost there... I just didn't ls for hidden files. >> >> On Mar 4, 2012, at 3:30 PM, Mark Hahn wrote: >> >>> The view files are in a folder called views in the db folder that >>> contains >>> the db files. =A0Futon can't help you here but a simple stat check can = give >>> your app the info or an ls command on the command line. >>> >>> On Sun, Mar 4, 2012 at 12:22 PM, Lauren Dahlin >>> wrote: >>> >>>> Hi All, >>>> >>>> Is there a way to view the file size (in kb, mb, gb, etc.) of a design >>>> document view either in Futon or through the command line? My >>>> database.couch files are in /var/lib/couchdb/0.10.0. I'm running couch= db >>>> on Ubuntu 10 through Amazon ec2. >>>> >>>> Thanks! >>>> >>>> Lauren >>>> >> >