-
Dec 13th, 2012, 12:55 AM
#1
mongodb Collections are created without any documents in it
Hi there,
i'm currently facing the following "problem":
I am using two different databases to archieve a better overview and a more comfortable way to administrate them: the first is for my production data, the second is a temporary which consists of a huge set of temporary data which is extracted and merged into the first one. it also contains log entries and stuff like that. By using this approach i'm free to drop the second database and recreate it - without touching the production db.
So my problem is the automatic creation of collections in my productive database meant to contain the temporary data (but logically are never filled with any of this temporary documents).
Why is that and how could i avoid this behavior?
For example a more formal explaination, I've got the databases - and collections
productive.data1
productive.data2
and
temporary.temp1
temporary.temp2
spring automatically creates
productive.data1
productive.data2
productive.temp1
productive.temp2
Thank you in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules