For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this request.
[[["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\u003ePartitionsMaximumOption\u003c/code\u003e within the Google Cloud Spanner C++ client library, detailing its functionality across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e allows users to set a preferred maximum number of partitions when using \u003ccode\u003eClient::PartitionRead()\u003c/code\u003e or \u003ccode\u003ePartitionQuery()\u003c/code\u003e, which is helpful when optimizing for the amount of workers available.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documentation is for \u003ccode\u003e2.37.0-rc\u003c/code\u003e, with the default maximum partitions being 10,000 and a maximum limit of 200,000, although the actual number of partitions may vary from this hint.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation is available for versions ranging from 2.11.0 up to the latest release candidate 2.37.0-rc, with a listing of each version's specific link.\u003c/p\u003e\n"]]],[],null,[]]