CouchDB
  1. CouchDB
  2. COUCHDB-1243

Compact and copy feature that resets changes

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1, 1.1
    • Fix Version/s: None
    • Component/s: Database Core
    • Environment:

      Ubuntu, but not important

    • Skill Level:
      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.

      1. dump_load.php
        3 kB
        Henrik Hofmeister

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Henrik Hofmeister
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development