couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Janssen <>
Subject Re: Design Document Size
Date Mon, 05 Mar 2012 09:51:13 GMT

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 works?
> 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.  Futon 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 couchdb
>>>> on Ubuntu 10 through Amazon ec2.
>>>> Thanks!
>>>> Lauren

View raw message