• Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0
    • Component/s: Admin
    • Labels:
      None

      I have removed the large number of documents.

      shell:

      > db.runCommand({compact: "urandom"})
      { "ok" : 1 }
      

      mongod log:

      2015-12-24T08:51:59.262+0000 I COMMAND  [conn21] compact test.urandom begin, options: paddingMode: NONE validateDocuments: 1
      2015-12-24T08:52:00.708+0000 I COMMAND  [conn21] compact test.urandom end
      2015-12-24T08:52:00.708+0000 I COMMAND  [conn21] command test.urandom command: compact { compact: "urandom" } ntoreturn:1 ntoskip:0 keyUpdates:0 writeConflicts:0 numYields:0 reslen:22 locks:{ Global: { acquireCount: { r: 1, w: 1 } }, Database: { acquireCount: { W: 1 }, acquireWaitCount: { W: 1 }, timeAcquiringMicros: { W: 85985 } } } protocol:op_command 1532ms
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            wencan wencan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: