[[["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 page provides documentation for \u003ccode\u003ePartitionOptions\u003c/code\u003e within the Google Cloud Spanner C++ library, showcasing its availability across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release candidate version documented is 2.37.0-rc, with a history of versions going back to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePartitionOptions\u003c/code\u003e is now deprecated, and users should instead utilize the \u003ccode\u003eOptions\u003c/code\u003e class with specific settings like \u003ccode\u003ePartitionSizeOption\u003c/code\u003e, \u003ccode\u003ePartitionsMaximumOption\u003c/code\u003e, or \u003ccode\u003ePartitionDataBoostOption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation pertains to options used when invoking \u003ccode\u003eClient::PartitionRead\u003c/code\u003e or \u003ccode\u003eClient::PartitionQuery\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Struct PartitionOptions (2.19.0)\n\nVersion 2.19.0keyboard_arrow_down\n\n- [2.42.0-rc (latest)](/cpp/docs/reference/spanner/latest/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.41.0](/cpp/docs/reference/spanner/2.41.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.40.0](/cpp/docs/reference/spanner/2.40.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.39.0](/cpp/docs/reference/spanner/2.39.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.38.0](/cpp/docs/reference/spanner/2.38.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.37.0](/cpp/docs/reference/spanner/2.37.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.36.0](/cpp/docs/reference/spanner/2.36.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.35.0](/cpp/docs/reference/spanner/2.35.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.34.0](/cpp/docs/reference/spanner/2.34.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.33.0](/cpp/docs/reference/spanner/2.33.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.32.0](/cpp/docs/reference/spanner/2.32.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.31.0](/cpp/docs/reference/spanner/2.31.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.30.0](/cpp/docs/reference/spanner/2.30.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.29.0](/cpp/docs/reference/spanner/2.29.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.28.0](/cpp/docs/reference/spanner/2.28.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.27.0](/cpp/docs/reference/spanner/2.27.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.26.0](/cpp/docs/reference/spanner/2.26.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.25.1](/cpp/docs/reference/spanner/2.25.1/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.24.0](/cpp/docs/reference/spanner/2.24.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.23.0](/cpp/docs/reference/spanner/2.23.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.22.1](/cpp/docs/reference/spanner/2.22.1/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.21.0](/cpp/docs/reference/spanner/2.21.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.20.0](/cpp/docs/reference/spanner/2.20.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.19.0](/cpp/docs/reference/spanner/2.19.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.18.0](/cpp/docs/reference/spanner/2.18.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.17.0](/cpp/docs/reference/spanner/2.17.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.16.0](/cpp/docs/reference/spanner/2.16.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.15.1](/cpp/docs/reference/spanner/2.15.1/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.14.0](/cpp/docs/reference/spanner/2.14.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.13.0](/cpp/docs/reference/spanner/2.13.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.12.0](/cpp/docs/reference/spanner/2.12.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions)\n- [2.11.0](/cpp/docs/reference/spanner/2.11.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionOptions) \n[Options](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) passed to [`Client::PartitionRead`](/cpp/docs/reference/spanner/2.19.0/classgoogle_1_1cloud_1_1spanner_1_1Client#classgoogle_1_1cloud_1_1spanner_1_1Client_1a039dd1aa3b34ad3cbeda17d810809b17) or [`Client::PartitionQuery`](/cpp/docs/reference/spanner/2.19.0/classgoogle_1_1cloud_1_1spanner_1_1Client#classgoogle_1_1cloud_1_1spanner_1_1Client_1a4b99fa616d2f417c64621523b06a58cf). \n| **Deprecated:** Use [`Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) instead, and set (as needed) [`PartitionSizeOption`](/cpp/docs/reference/spanner/2.19.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionSizeOption), [`PartitionsMaximumOption`](/cpp/docs/reference/spanner/2.19.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionsMaximumOption), or [`PartitionDataBoostOption`](/cpp/docs/reference/spanner/2.19.0/structgoogle_1_1cloud_1_1spanner_1_1PartitionDataBoostOption).\n\nSee documentation in [spanner.proto](https://github.com/googleapis/googleapis/blob/70147caca58ebf4c8cd7b96f5d569a72723e11c1/google/spanner/v1/spanner.proto#L758)."]]