This document describes how to create and manage splits in your
Spanner Omni database to prepare for increased traffic. This process
is mostly identical to
[creating and managing Spanner split points](https://docs.cloud.google.com/spanner/docs/create-manage-split-points.md.txt),
with the following distinctions:

- To *add* manual splits to your Spanner Omni database, use the
  following command:

  ```bash
  spanner databases splits add DATABASE_ID \
  --splits-file=FILE_PATH \
  [--split-expiration-time=DATE]
  ```

  Replace the following:
  - <var translate="no">DATABASE_ID</var>: the database identifier---for example,
    `MY_DATABASE`.

  - <var translate="no">FILE_PATH</var>: the path to the file containing the
    [split point definitions](https://docs.cloud.google.com/spanner/docs/create-manage-split-points.md.txt#gcloud)---for
    example, `/home/user/project/spanner/manual_splits.txt`.

  - <var translate="no">DATE</var>: optional, the date after which the splits expire. Accepts
    [timestamp values](https://docs.cloud.google.com/spanner/docs/reference/standard-sql/data-types.md.txt#timestamp_type)
    and relative time values---for example, `2072-09-27T12:30:00.45Z`
    or `now+7d`.

- To *view* the manual split points in your Spanner Omni
  database, use the following command:

  ```bash
  spanner sql \
  --database DATABASE_ID --execute \
  "SELECT * \
  FROM SPANNER_SYS.USER_SPLIT_POINTS"
  ```