multiple get more call in MongoDB Log

63 views
Skip to first unread message

Anil Yadav

unread,
Oct 30, 2017, 8:11:38 AM10/30/17
to mongodb-user
Hi All,

I am not sure weather it's a duplicate question or Not. Below is my question.

Sometimes application shows  latencies at mongo Side. Whenever we are troubleshooting we only found get_more calles in mongodb. Application team is unable to find anything at their end. I want to know when get_more is Being executed.  In what all scnerios mongoldb calling get_more .

Please help 

Kevin Adistambha

unread,
Nov 7, 2017, 7:27:24 PM11/7/17
to mongodb-user

Hi

getMore is typically called when going through a query result that is larger than a single batch (see Cursor Batches), and is also used by replication.

High query latency could be caused by many things, but the most common cause are:

  • Inefficient queries (e.g. number of returned documents is small compared to number of documents examined by MongoDB)
  • Unindexed queries (i.e. many queries having collection scan step, forcing MongoDB to examine every document in the collection)
  • Underprovisioned hardware (e.g. not enough RAM to service the workload efficiently)

Please see Query Optimization for more information regarding this subject.

Best regards
Kevin

Reply all
Reply to author
Forward
0 new messages