[SERVER-7754] add index/query plan to currentOp and slow query log Created: 24/Nov/12  Updated: 11/Jul/16  Resolved: 26/Jan/14

Status: Closed
Project: Core Server
Component/s: Logging, Querying
Affects Version/s: None
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: David Storch
Resolution: Done Votes: 4
Labels: query_triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-9298 When logging slow queries, either log... Closed
is duplicated by SERVER-4397 Log table scans. Closed
Related
related to SERVER-3443 alter profiler to capture plan used w... Closed
Participants:

 Description   

We want to log the leaves of the query in the slow query log.



 Comments   
Comment by Githook User [ 26/Jan/14 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-7754 include query plan debug string in slow query log and db.currentOp()
Branch: master
https://github.com/mongodb/mongo/commit/c51857a44af6fc69f1e21bb9c6b2b6adda0ef80e

Comment by Githook User [ 14/Jan/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-3443 SERVER-7754 add plan exec stats to system profile
Branch: master
https://github.com/mongodb/mongo/commit/59b0371902b5b278ef1e88a9c15424c6efeea666

Comment by Scott Hernandez (Inactive) [ 09/Apr/13 ]

This would also be logged to system.profile and log files.

Generated at Thu Feb 08 03:15:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.