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

Ironically Compaction makes our collection 10GB bigger !

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
    • Environment:
      ubuntu 10.04 mongodb 2.0.3
    • Operating System:
      Linux

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            milkie Eric Milkie
            Reporter:
            stonegao Stone Gao
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: