[DOCS-2027] reslen not documented Created: 03/Oct/13  Updated: 11/Jan/17  Resolved: 03/Oct/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Andre Spiegel Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 18 weeks, 6 days ago

 Description   

The "reslen" field, which appears whenever the database kernel logs a query, is not currently mentioned anywhere in the docs. Actually, when you google it, a link to our documentation shows up in the results, but the page to which it points does not mention reslen:

http://docs.mongodb.org/manual/tutorial/manage-the-database-profiler/



 Comments   
Comment by auto [ 10/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2027: redirect fix
Branch: master
https://github.com/mongodb/docs/commit/46bf86fdcd49f6e58458f5d035bf6c353052dfa4

Comment by auto [ 03/Oct/13 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-2027: adding note to clarify
Branch: master
https://github.com/mongodb/docs/commit/f7c14e2ab0c8233f827a88edeb1c56c397416bbe

Comment by Sam Kleinman (Inactive) [ 03/Oct/13 ]

an investigation of the code reveals that in logging of operations, the responseLength is named ``reslen`` in the output string but named responseLength in the profiler. adding a note.

thanks for your help on this!

Comment by Andre Spiegel [ 03/Oct/13 ]

Here's an example:

Tue Sep 10 16:00:14 [conn47488] query conversations_0.comments query: { query: { eid: 2806844, pub: true, rem: false, lvl: { $gte: 1 }, path: /^234508375/ }, orderby: { cid: 1 }, $readPreference: { mode: "secondaryPreferred" } } ntoreturn:2 ntoskip:0 nscanned:113 scanAndOrder:1 keyUpdates:0 locks(micros) r:224912 nreturned:2 reslen:949 258ms

The field apparently reports the total length of the result in bytes.

Comment by Sam Kleinman (Inactive) [ 03/Oct/13 ]

andre.spiegel@10gen.com, can you provide:

1. example output that contains this field.
2. a terse explanation of what the field reports.

Regards,
sam

Generated at Thu Feb 08 07:42:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.