couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hermann Norpois <hnorp...@gmail.com>
Subject Re: Fwd: why do we keep all versions
Date Thu, 02 Jul 2015 08:42:36 GMT
Thanks. This helps.
Hermann

2015-07-02 10:13 GMT+02:00 James Dingwall <james.dingwall@zynstra.com>:

> Hermann Norpois wrote:
>
>> Hello,
>>
>> if I understood it correctly each change of a document leads to a change
>> of
>> the version of the document. And each version remains in the database.
>> This
>> means that the amount of data grows in dependence of changes. Is that
>> correct?
>>
> Yes, this is true because of the append only database format. Old
> revisions can be removed and storage space optimised by doing a database
> is compacted.  A compaction can be triggered manually (POST to
> /db/_compact, or use Compact & Cleanup in Futon) or a rule written for
> the compaction daemon to do this automatically, see the default.ini for
> examples.
>
> James
> Zynstra is a private limited company registered in England and Wales
> (registered number 07864369). Our registered office and Headquarters are at
> The Innovation Centre, Broad Quay, Bath, BA1 1UD. This email, its contents
> and any attachments are confidential. If you have received this message in
> error please delete it from your system and advise the sender immediately.
>

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