> 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.deib...@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 <rnew...@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-l...@yandex.ru <first-l...@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?
> > >>
> > >
> >
>

Reply via email to