couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <m...@reevuit.com>
Subject Re: Storage limitations?
Date Sat, 09 Nov 2013 19:31:33 GMT
> sorting/displaying a comments thread with replies by appending the replies
within their respective original comment field.

Wouldn't it be more natural to use an array?  And it would be more flexible
for possible future changes.  It doesn't affect the size of the field but
there is no way a comment thread is going to get up to even a megabyte.
 The entire bible fits in a megabyte.


On Sat, Nov 9, 2013 at 9:22 AM, Mark Deibert <mark.deibert@gmail.com> wrote:

> Ok I was assuming the db could be really big. I'm storing images so it
> _will_ get pretty large.
>
> For the field size question: I had an idea to greatly simplify
> sorting/displaying a comments thread with replies by appending the replies
> within their respective original comment field. Since the order I want to
> display the comments is the natural chronological order, a simple append
> process seems to make sense. Haven't tried yet but seems logical.
>
>
> On Sat, Nov 9, 2013 at 11:32 AM, Robert Newson <rnewson@apache.org> wrote:
>
> > while the default configuration has max_document_size as 4Gb, it would
> > be very unwise to make a document anywhere near that large. Database
> > size is limited only by disk capacity but note that you'll need some
> > free space for compacting the database.
> >
> > On 9 November 2013 15:28, first-leon@yandex.ru <first-leon@yandex.ru>
> > wrote:
> > > Base size in no limit. But file system may be limit by file size.
> > > Doc size limit is 4Gb. (one or two or more field: total - 4Gb)
> > >
> > >> I have two storage questions. How big can any one field in one doc be?
> > >> Also, is there any limit on the size of a CouchDB? Meaning, if I have
> > 1TB
> > >> of free disk space, will the db grow to 1TB in size?
> > >>
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message