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 in the Google Cloud Spanner C++ library, detailing its function in setting the maximum number of partitions for read or query operations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate (rc) for the \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e is version 2.37.0-rc, and the page includes links to documentation for multiple past versions, ranging from 2.11.0 up to 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e allows users to specify the preferred number of partitions when using \u003ccode\u003eClient::PartitionRead()\u003c/code\u003e or \u003ccode\u003ePartitionQuery()\u003c/code\u003e, with a default of 10,000 and a maximum limit of 200,000, and is tied to a \u003ccode\u003estd::int64_t\u003c/code\u003e type alias.\u003c/p\u003e\n"],["\u003cp\u003eThe provided \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e is only a suggestion and the number of partitions returned can either be lower or higher than what was specified.\u003c/p\u003e\n"]]],[],null,[]]