You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-kr
제가 진행중인 프로젝트에 사용하려고 MongoDB를 살펴보고 있는데 메모리에서 사용하지 않는 데이터 베이스를 제거할수가 없는것 같아서요 물론 dropDatabase를 이용하면 삭제가 되지만 그렇게 되면 데이터 파일 자체가 삭제가 되어서요. 그냥 메모리 상에서만 제거하고 파일은 그대로 두고 나중에 열어서 사용할 수 있게 하고 싶은데 방법이 없을까요?
Mini
unread,
May 13, 2011, 12:21:29 AM5/13/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-kr
해당 데이터베이스가 사용되지 않고 다른 데이터베이스가 자주 사용된다면 자동으로 어느시점에서 메모리에서 내려가겠지만, 메모리에서 특정 데이터베이스를 명시적으로 내리거나 하는 방법은 없는 것 같습니다.
mondodump 와 mongoimport 를 이용하면 데이터베이스를 다른 곳으로 옮겼다가 다시 사용할 수 있습니다.