[DOCS-1910] Comment on: "manual/tutorial/copy-databases-between-instances.txt" Created: 11/Sep/13  Updated: 03/Nov/17  Resolved: 26/Sep/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Major - P3
Reporter: Hsuan Wang Assignee: Barrie Segal
Resolution: Cannot Reproduce Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 12.04 Server 64 bit

Location: http://docs.mongodb.org/manual/tutorial/copy-databases-between-instances/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial/copy-databases-between-instances


Participants:
Days since reply: 10 years, 23 weeks ago

 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.


Generated at Thu Feb 08 07:42:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.