Option for google::cloud::Options to set the minimum number of sessions to keep in the pool.
Values <= 0 are treated as 0. This value will effectively be reduced if it exceeds the overall limit on the number of sessions (max_sessions_per_channel * number of channels).
[[["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-22 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSessionPoolMinSessionsOption\u003c/code\u003e within the Google Cloud Spanner C++ client library.\u003c/p\u003e\n"],["\u003cp\u003eIt covers a range of versions, from 2.11.0 up to the latest release candidate 2.37.0-rc, as well as listing older versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionPoolMinSessionsOption\u003c/code\u003e is used to define the minimum number of sessions to maintain in a session pool for optimized performance.\u003c/p\u003e\n"],["\u003cp\u003eThe minimum number of sessions is capped by the overall number of sessions, and setting a value equal or less than zero will make it zero.\u003c/p\u003e\n"],["\u003cp\u003eThe underlying data type of the \u003ccode\u003eSessionPoolMinSessionsOption\u003c/code\u003e is an integer (\u003ccode\u003eint\u003c/code\u003e).\u003c/p\u003e\n"]]],[],null,[]]