Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6520

Ironically Compaction makes our collection 10GB bigger !

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.3
    • Component/s: Storage
    • Environment:
      ubuntu 10.04 mongodb 2.0.3
    • Linux

      This was crazy and made me even think what's the meaning of "Compaction" for mongodb ?

      > show dbs
      db0 35.9365234375GB
      local 10.1982421875GB
      test (empty)
      > use db0
      switched to db db0
      > db.entries.count()
      51927379
      > db.entries.runCommand( "compact" )

      { "ok" : 1 }

      > show dbs
      db0 45.931640625GB
      local 10.1982421875GB
      test (empty)

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            stonegao Stone, Gao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: