The number of active or requested sessions. This is the difference between the number of successful or
pending session acquisition requests and the number of released sessions. If this exceeds
MaximumActiveSessions it indicates that some acquisition calls are currently
pending; the limit is obeyed separately, in terms of how many session creation requests the pool has made to the server.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eDatabaseStatistics\u003c/code\u003e class, which provides a snapshot of statistics for a specific database within a \u003ccode\u003eSessionPool\u003c/code\u003e in Google Cloud Spanner V1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabaseStatistics\u003c/code\u003e class offers insights into session activity, including the number of active sessions, pending session acquisitions, and in-flight session creation requests, among other metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHealthy\u003c/code\u003e property of \u003ccode\u003eDatabaseStatistics\u003c/code\u003e indicates the overall health status of the session pool, and \u003ccode\u003eShutdown\u003c/code\u003e lets you know if it has been closed.\u003c/p\u003e\n"],["\u003cp\u003eThe class is found in the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace and includes properties like \u003ccode\u003eActiveSessionCount\u003c/code\u003e, \u003ccode\u003eDatabaseName\u003c/code\u003e, and \u003ccode\u003eReadWritePoolCount\u003c/code\u003e, as well as information on read/write transactions.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides links to various versions of the \u003ccode\u003e.NET\u003c/code\u003e documentation for \u003ccode\u003eDatabaseStatistics\u003c/code\u003e, which includes versions from \u003ccode\u003e3.5.0\u003c/code\u003e all the way to \u003ccode\u003e5.0.0-beta05\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]