@@ -563,6 +563,84 @@ globalLock
563
563
564
564
The number of active client connections performing write operations.
565
565
566
+ .. _server-status-logicalSessions:
567
+
568
+ logicalSessionRecordCache
569
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
570
+
571
+ .. versionadded:: 3.6
572
+
573
+ .. code-block:: javascript
574
+
575
+ "logicalSessionRecordCache" : {
576
+ "activeSessionsCount" : <num>,
577
+ "sessionsCollectionJobCount" : <num>,
578
+ "lastSessionsCollectionJobDurationMillis" : <num>,
579
+ "lastSessionsCollectionJobTimestamp" : <Date>,
580
+ "lastSessionsCollectionJobEntriesRefreshed" : <num>,
581
+ "lastSessionsCollectionJobEntriesEnded" : <num>,
582
+ "lastSessionsCollectionJobCursorsClosed" : <num>,
583
+ "transactionReaperJobCount" : <num>,
584
+ "lastTransactionReaperJobDurationMillis" : <num>,
585
+ "lastTransactionReaperJobTimestamp" : <Date>,
586
+ "lastTransactionReaperJobEntriesCleanedUp" : <num>
587
+ },
588
+
589
+ .. serverstatus:: logicalSessionRecordCache.activeSessionsCount
590
+
591
+ The number of all active local sessions cached in memory by the
592
+ :program:`mongod` or :program:`mongos` instance since the last
593
+ refresh period.
594
+
595
+ .. seealso:: :pipeline:`$listLocalSessions`, :parameter:`logicalSessionRefreshMinutes`
596
+
597
+ .. serverstatus:: logicalSessionRecordCache.sessionsCollectionJobCount
598
+
599
+ The number that tracks the number of times the refresh process has
600
+ run on the :data:`config.system.sessions` collection.
601
+
602
+ .. seealso:: :parameter:`logicalSessionRefreshMinutes`
603
+
604
+ .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobDurationMillis
605
+
606
+ The length in milliseconds of the last refresh.
607
+
608
+ .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobTimestamp
609
+
610
+ The time at which the last refresh occurred.
611
+
612
+ .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobEntriesRefreshed
613
+
614
+ The number of sessions that were refreshed during the last refresh.
615
+
616
+ .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobEntriesEnded"
617
+
618
+ The number of sessions that ended during the last refresh.
619
+
620
+ .. serverstatus:: logicalSessionRecordCache.lastSessionsCollectionJobCursorsClosed"
621
+
622
+ The number of cursors that were closed during the last
623
+ :data:`config.system.sessions` collection refresh.
624
+
625
+ .. serverstatus:: logicalSessionRecordCache.transactionReaperJobCount"
626
+
627
+ The number that tracks the number of times the transaction record
628
+ cleanup process has run on the :data:`config.transactions`
629
+ collection.
630
+
631
+ .. serverstatus:: logicalSessionRecordCache.lastTransactionReaperJobDurationMillis"
632
+
633
+ The length (in milleseconds) of the last transaction record cleanup.
634
+
635
+ .. serverstatus:: logicalSessionRecordCache.lastTransactionReaperJobTimestamp"
636
+
637
+ The time of the last transaction record cleanup.
638
+
639
+ .. serverstatus:: logicalSessionRecordCache.lastTransactionReaperJobEntriesCleanedUp"
640
+
641
+ The number of entries in the :data:`config.transactions` collection
642
+ that were deleted during the last transaction record cleanup.
643
+
566
644
.. _locks:
567
645
.. _server-status-locks:
568
646
0 commit comments