OPTIONS
翻译或纠错本页面

cursorInfo

2.6 版后已移除: Use the serverStatus command to return the serverStatus.metrics.cursor information instead.

cursorInfo

The cursorInfo command returns information about current cursor allotment and use. Use the following form:

{ cursorInfo: 1 }

The value (e.g. 1 above) does not affect the output of the command.

cursorInfo returns the total number of open cursors (totalOpen), the size of client cursors in current use (clientCursors_size), and the number of timed out cursors since the last server restart (timedOut).

←   dbStats dataSize  →
ON THIS PAGE