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\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e package is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with multiple prior versions available, including versions ranging from \u003ccode\u003e3.5.0\u003c/code\u003e to \u003ccode\u003e4.6.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatabaseStatistics\u003c/code\u003e provides a snapshot of statistics for a single database within a \u003ccode\u003eSessionPool\u003c/code\u003e, and it inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDatabaseStatistics\u003c/code\u003e include \u003ccode\u003eActiveSessionCount\u003c/code\u003e, \u003ccode\u003eDatabaseName\u003c/code\u003e, \u003ccode\u003eHealthy\u003c/code\u003e, \u003ccode\u003eInFlightCreationCount\u003c/code\u003e, \u003ccode\u003ePendingAcquisitionCount\u003c/code\u003e, \u003ccode\u003eReadPoolCount\u003c/code\u003e, \u003ccode\u003eReadWritePoolCount\u003c/code\u003e, \u003ccode\u003eReadWriteTransactionRequests\u003c/code\u003e, \u003ccode\u003eReadWriteTransactionRequestsPrewarmed\u003c/code\u003e, and \u003ccode\u003eShutdown\u003c/code\u003e, which provide different metrics regarding session usage and health.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDatabaseStatistics\u003c/code\u003e includes a \u003ccode\u003eToString()\u003c/code\u003e method, which overrides the base \u003ccode\u003eObject.ToString()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,[]]