[[["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 provides reference information for the \u003ccode\u003eSessionPool.Statistics\u003c/code\u003e class within the Google Cloud Spanner v1 API, offering insights into its properties and usage across different versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 5.0.0-beta05, and this page contains versioning information, which includes links to older releases of the \u003ccode\u003eSessionPool.Statistics\u003c/code\u003e API dating back to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPool.Statistics\u003c/code\u003e class provides a snapshot of data related to a SessionPool, with \u003ccode\u003ePerSegmentStatistics\u003c/code\u003e presenting a breakdown of statistics according to \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eTotalActiveSessionCount\u003c/code\u003e, \u003ccode\u003eTotalInFlightCreationCount\u003c/code\u003e, \u003ccode\u003eTotalPendingAcquisitionCount\u003c/code\u003e, and \u003ccode\u003eTotalPoolCount\u003c/code\u003e, which offer aggregate metrics for all databases in the pool.\u003c/p\u003e\n"],["\u003cp\u003eThe class, \u003ccode\u003eSessionPool.Statistics\u003c/code\u003e, inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, including methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner v1 API - Class SessionPool.Statistics (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/5.0.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.6.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.5.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.4.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.3.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.2.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.1.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/4.0.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.15.1/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.14.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.13.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.12.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.11.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.10.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.9.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.8.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.7.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.6.0/Google.Cloud.Spanner.V1.SessionPool.Statistics)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.V1/3.5.0/Google.Cloud.Spanner.V1.SessionPool.Statistics) \n\n public sealed class SessionPool.Statistics\n\nReference documentation and code samples for the Google Cloud Spanner v1 API class SessionPool.Statistics.\n\nA snapshot of statistics for a [SessionPool](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SessionPool.Statistics \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Spanner.V1](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.V1.dll\n\nProperties\n----------\n\n### PerSegmentStatistics\n\n public IReadOnlyList\u003cSessionPool.SessionPoolSegmentStatistics\u003e PerSegmentStatistics { get; }\n\nThe statistics broken down by [SessionPool.SessionPoolSegmentKey](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.SessionPoolSegmentKey). This is never null, but may be empty.\n\n### TotalActiveSessionCount\n\n public int TotalActiveSessionCount { get; }\n\nThe total of [ActiveSessionCount](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.SessionPoolSegmentStatistics#Google_Cloud_Spanner_V1_SessionPool_SessionPoolSegmentStatistics_ActiveSessionCount) values across all databases in the pool.\n\n### TotalInFlightCreationCount\n\n public int TotalInFlightCreationCount { get; }\n\nThe total of [InFlightCreationCount](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.SessionPoolSegmentStatistics#Google_Cloud_Spanner_V1_SessionPool_SessionPoolSegmentStatistics_InFlightCreationCount) values across all databases in the pool.\n\n### TotalPendingAcquisitionCount\n\n public int TotalPendingAcquisitionCount { get; }\n\nThe total of [PendingAcquisitionCount](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.SessionPoolSegmentStatistics#Google_Cloud_Spanner_V1_SessionPool_SessionPoolSegmentStatistics_PendingAcquisitionCount) values across all databases in the pool.\n\n### TotalPoolCount\n\n public int TotalPoolCount { get; }\n\nThe total of [PoolCount](/dotnet/docs/reference/Google.Cloud.Spanner.V1/latest/Google.Cloud.Spanner.V1.SessionPool.SessionPoolSegmentStatistics#Google_Cloud_Spanner_V1_SessionPool_SessionPoolSegmentStatistics_PoolCount) values across all databases in the pool."]]