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 \u003ccode\u003eDatabaseStatistics\u003c/code\u003e class provides a snapshot of statistics for a specific database within a \u003ccode\u003eSessionPool\u003c/code\u003e, offering insights into session activity and health.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eDatabaseStatistics\u003c/code\u003e include \u003ccode\u003eActiveSessionCount\u003c/code\u003e, \u003ccode\u003eHealthy\u003c/code\u003e, \u003ccode\u003ePendingAcquisitionCount\u003c/code\u003e, \u003ccode\u003eReadPoolCount\u003c/code\u003e, \u003ccode\u003eReadWritePoolCount\u003c/code\u003e, and \u003ccode\u003eShutdown\u003c/code\u003e, which provide metrics on session usage, availability, and status of the pool.\u003c/p\u003e\n"],["\u003cp\u003eThe class tracks read/write transaction statistics with properties like \u003ccode\u003eReadWriteTransactionRequests\u003c/code\u003e and \u003ccode\u003eReadWriteTransactionRequestsPrewarmed\u003c/code\u003e, offering insight into transaction usage and efficiency.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the Google.Cloud.Spanner.V1 library is 5.0.0-beta05, however, there are many previous versions starting from 3.5.0 all the way to 5.0.0-beta05, which are all documented.\u003c/p\u003e\n"],["\u003cp\u003eThe class also features methods like \u003ccode\u003eToString()\u003c/code\u003e to convert the statistics into string format and includes inherited members from the Object class such as \u003ccode\u003eGetHashCode()\u003c/code\u003e and \u003ccode\u003eGetType()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]