Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7932517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:02:48+00:00 2026-06-03T21:02:48+00:00

I am using MongoDB for a large ecommerce operation with a couple million products.

  • 0

I am using MongoDB for a large ecommerce operation with a couple million products. We cache the categories and some product data in mongo for fast access.

We are still in development but we have a behavior we’d like to investigate. Overnight our server is idle. When we leave for the night everything is fast and caching is working splendidly. When we come in in the morning after the server is idle overnight it is extremely slow. But after some time it speeds up agin.

Looking at memory I see mongoDB bump up (as I expected) during this time as it becomes more active. I am sort of assuming that Mongo is moving data down to disk during idle time and back up to memory when it is accessed the next morning.

If that’s the case then this problem will likley go away on production where the pages will be accessed quite frequently.

Does anyone (any mongo guru out there) have a take on my hypothesis? I’m investigating other causes certainly (DB access, CF inits etc) but this seems most likely to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:02:49+00:00Added an answer on June 3, 2026 at 9:02 pm

    Mongo relays memory management to the OS (memory-mapped files mechanism). So yes, if some memory region is not accessed for some time, system flushes changes to disk (if any) and frees it.

    Yes, this shouldn’t happen in production when there’s activity all the time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to parse a very large chunk of data into a new MongoDB
I'm using sqlite as temporary storage to calculate statistic about moderately large data set.
I'm using MongoDB and MongoID in a rails app, how can some models be
Using MongoDB C# driver ( http://github.com/samus/mongodb-csharp ), seems that I'm unable to get the
Using MongoDB, I'm having trouble adding en element to an Array when the array
I'm currently using MongoDB to record application logs, and while I'm quite happy with
I am using MongoDB v1.4 and the mongodb-csharp driver and I try to group
I'm using MongoDB and PHP and trying to do a $in based on a
I'm building a Rails application using MongoDB as the back-end and MongoMapper as the
I have dates stored in MongoDB using Date(), MongoDB uses UTC it's date type,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.