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 feature within the Google Cloud Spanner C++ library, detailing its functionality across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e allows users to set the desired maximum number of partitions returned by \u003ccode\u003eClient::PartitionRead()\u003c/code\u003e or \u003ccode\u003ePartitionQuery()\u003c/code\u003e, which can be adjusted to match the number of available workers.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate for this feature is version 2.37.0-rc, and other older versions are also accessible, starting from 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe default value for this option is 10,000, but it can be adjusted up to a maximum value of 200,000, although the actual number of partitions returned may be different from this request, as it is only a hint.\u003c/p\u003e\n"],["\u003cp\u003eThis setting is linked to \u003ccode\u003egoogle::cloud::Options\u003c/code\u003e, which is used to fine-tune \u003ccode\u003eClient::PartitionRead()\u003c/code\u003e or \u003ccode\u003ePartitionQuery()\u003c/code\u003e for better performance.\u003c/p\u003e\n"]]],[],null,[]]