Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1243

Compact and copy feature that resets changes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.1, 1.1
    • None
    • Database Core
    • Ubuntu, but not important

    • Committers Level (Medium to Hard)

    Description

      After running db and view compaction on a 70K doc db with 6+ mio. changes - it takes up 0.8 GB. If copying the same documents to a new db (get and bulk insert) - the same date with 70K changes (only the inserts) takes up 40 mb. That is a huge difference. Has been verified on 2 db's that the difference is more than 65 times the size of data.

      A "Compact and copy" feature that copies only documents, and resets the changes for at db would be very nice to try and limit the disk usage a little bit. (Our current test environment takes up nearly 100 GB... )

      I've attached the dump load php script for your convenience.

      Attachments

        1. dump_load.php
          3 kB
          Henrik Hofmeister

        Activity

          People

            Unassigned Unassigned
            henrik1409 Henrik Hofmeister
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: