Dec 13th, 2012, 12:55 AM
mongodb Collections are created without any documents in it
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
spring automatically creates
Thank you in advance!