HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

What does reslen and other means in mongodb log?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
whatlogmongodbreslenmeansdoesandother

Problem

database.tablebusiness query: { LongitudeLatitude: { $nearSphere: [ 106.772835, -6.186753 ], $maxDistance: 0.04498373205078301 }, Prominent: { $gte: 15 }, indexContents: { $all: [ /^aru/, /^op/ ] } } ntoreturn:20 ntoskip:80 nscanned:100 nreturned:20 reslen:1147 1927ms


it seems that ntoreturn means number to return. ntoskip is numbers to skip. nscanned seem to be the sum of the 2.

What is reslen?

I search google with no answer. What site explain what reslen is?

Solution

reslen is the query result length in bytes. From the profiler docs here:

http://docs.mongodb.org/manual/reference/database-profiler/

Context

StackExchange Database Administrators Q#23677, answer score: 6

Revisions (0)

No revisions yet.