Ironically Compaction makes our collection 10GB bigger !

XMLWordPrintableJSON

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

      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:
            Eric Milkie
            Reporter:
            Stone, Gao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: