Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1910

Comment on: "manual/tutorial/copy-databases-between-instances.txt"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      My Mongod with the configuration of qoutaFiles 3.
      I create a database(mydb) and insert 0.25GB documents to it.(as following shown)
      > show dbs
      admin 0.0625GB
      mydb 0.25GB
      local 0.03125GB

      Then I try to copy database from "mydb" to a new db named "newmydb".(as following shown)
      >db.copyDatabase("mydb ","newmydb","127.0.0.1:30001")

      { "ok" : 1 }

      > show dbs
      admin 0.0625GB
      mydb 0.25GB
      local 0.03125GB
      newmydb 0.5GB
      test 0.0625GB

      I found, the database size is increased ( 0.25GB -> 0.5GB) and exceeded the quota limit.
      Therefore, I want to know why "db.copyDatabase" ignored the quota limitation.

      Attachments

        Activity

          People

            barrie Barrie Segal
            heart.1416@gmail.com Hsuan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 23 weeks ago