0

I am a newbie to MongoDB. I want to move 1-day data from collectionA to collection-date (this collection-date name has to create dynamically) automatically every day. The moved records should not avail in collectionA. Is this possible in mongodb?

3
  • Can I ask why you are putting your data in separate collections like this? There are lots of disadvantages to that approach, compared to putting them in a single collection with a suitable indexed date field for example. Aug 25, 2016 at 8:18
  • Hi vince, actually for every day there will be 1 million of records. so when i am accessing this data, it is taking lot time even though we have indexed for that collection. it is giving us performance issues in production. So kindly help me out any way to solve this issue
    – anil
    Aug 26, 2016 at 7:03
  • Hi All, still i am waiting for your kind reply. Thanks in adavance.
    – anil
    Aug 30, 2016 at 12:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.