incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Tisdall <tisd...@gmail.com>
Subject Re: Database too large for partition
Date Thu, 11 Jul 2013 19:38:16 GMT
When I said "equal to the content" my intended meaning was the data size
and not the disk size of the database.


On Thu, Jul 11, 2013 at 3:14 PM, Robert Newson <rnewson@apache.org> wrote:

> Hit send to soon. I meant the 'data_size' field of course.
>
> b.
>
>
> On 11 July 2013 20:13, Robert Newson <rnewson@apache.org> wrote:
> > " but you need space equal to the content of the database to do a
> compaction."
> >
> > That's not true. You need space equal to the "disk_size" value from
> > GET /dbname. The only time your statement would be true is if you
> > compacted a database that you had just compacted and had made no
> > changes to. Compacting it again will just write the whole thing out
> > again. Obviously this worse case is also the case where there's no
> > point compacting anyway.
> >
> > B.
> >
> >
> >
> >
> > On 11 July 2013 20:00, Tim Tisdall <tisdall@gmail.com> wrote:
> >> You could delete the generated views in /var/lib/couchdb/.your_database/
> >> and recover a little extra space.  There could also be a partially done
> >> compaction in /var/lib/couchdb/
> >>
> >> The longer term solution is to do compactions... but you need space
> equal
> >> to the content of the database to do a compaction.
> >>
> >>
> >> On Thu, Jul 11, 2013 at 2:56 PM, Matthias Eck <matthias.eck@gmail.com
> >wrote:
> >>
> >>> Hello,
> >>>
> >>> I have a CouchDB database that is on a 1TB partition on Amazon EC2.
> >>> Unfortunately the database now filled the whole partition and 1TB is
> the
> >>> size limit on Amazon EC2, so I cannot copy it to a larger partition.
> >>>
> >>> 1. I would like to get the database running again. Are there any files
> that
> >>> I can safely delete to save some immediate space so CouchDB will run
> again?
> >>>
> >>> 2. Any suggestions to solve this problem longer-term? Is it possible to
> >>> have a database spanning multiple partitions?
> >>>
> >>> Thanks,
> >>> Matthias
> >>>
>

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