diff --git a/src/current/_includes/releases/v22.2/v22.2.0-alpha.1.md b/src/current/_includes/releases/v22.2/v22.2.0-alpha.1.md deleted file mode 100644 index a2cd7f67b17..00000000000 --- a/src/current/_includes/releases/v22.2/v22.2.0-alpha.1.md +++ /dev/null @@ -1,890 +0,0 @@ -## v22.2.0-alpha.1 - -Release Date: August 30, 2022 - -{% include releases/release-downloads-docker-image.md release=include.release %} - -
"unable to vectorize execution plan: unhandled expression type" in rare cases. [#86816][#86816]
-- Fixed a race condition where some operations waiting on locks can cause the lockholder [transaction](https://www.cockroachlabs.com/docs/v22.2/transactions) to be aborted if they occur before the transaction can write its record. [#83688][#83688]
-- The Explain tab inside the [Statement Details](https://www.cockroachlabs.com/docs/v22.2/ui-statements-page) page now groups plans that have the same shape but a different number of spans in corresponding scans. [#87152][#87152]
-- `DISCARD ALL` now deletes [temporary tables](https://www.cockroachlabs.com/docs/v22.2/temporary-tables). [#86246][#86246]
-- A bug in the column backfiller, which is used to add or remove columns from tables, failed to account for the need to read [virtual columns](https://www.cockroachlabs.com/docs/v22.2/computed-columns) which were part of a [primary key](https://www.cockroachlabs.com/docs/v22.2/primary-key). [Hash-sharded](https://www.cockroachlabs.com/docs/v22.2/hash-sharded-indexes) [indexes](https://www.cockroachlabs.com/docs/v22.2/indexes), starting in v22.1, use [virtual columns](https://www.cockroachlabs.com/docs/v22.2/computed-columns). Any [hash-sharded](https://www.cockroachlabs.com/docs/v22.2/hash-sharded-indexes) table created in v22.1 or any table created with a virtual column as part of its primary key would indefinitely fail to complete a [schema change](https://www.cockroachlabs.com/docs/v22.2/online-schema-changes) which adds or removes columns. This bug has been fixed. [#87207][#87207]
-- Reduce the amount that [`RESTORE`](https://www.cockroachlabs.com/docs/v22.2/restore) over-splits. [#86496][#86496]
-- Table `system.replication_constraint_stats` is no longer showing erroneous voter constraint violations when `num_voters` is configured. [#84727][#84727]
-- This patch fixes a bug in lookup [join](https://www.cockroachlabs.com/docs/v22.2/joins) selectivity estimation involving [hash-sharded](https://www.cockroachlabs.com/docs/v22.2/hash-sharded-indexes) [indexes](https://www.cockroachlabs.com/docs/v22.2/indexes) which may cause lookup joins to be selected by the [optimizer](https://www.cockroachlabs.com/docs/v22.2/cost-based-optimizer) in cases where other join methods are less expensive. [#86622][#86622]
-
-crdb_internal.transaction_contention_eventscrdb_internal.node_contention_eventscrdb_internal.cluster_locksThe CockroachDB binary for Linux requires glibc, libncurses, and tzdata, which are found by default on nearly all Linux distributions, with Alpine as the notable exception.
diff --git a/src/current/_includes/v22.2/misc/movr-workflow.md b/src/current/_includes/v22.2/misc/movr-workflow.md
deleted file mode 100644
index a682c099b70..00000000000
--- a/src/current/_includes/v22.2/misc/movr-workflow.md
+++ /dev/null
@@ -1,76 +0,0 @@
-The workflow for MovR is as follows:
-
-1. A user loads the app and sees the 25 closest vehicles.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > SELECT id, city, status FROM vehicles WHERE city='amsterdam' limit 25;
- ~~~
-
-1. The user signs up for the service.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > INSERT INTO users (id, name, address, city, credit_card)
- VALUES ('66666666-6666-4400-8000-00000000000f', 'Mariah Lam', '88194 Angela Gardens Suite 60', 'amsterdam', '123245696');
- ~~~
-
- {{site.data.alerts.callout_info}}Usually for Universally Unique Identifier (UUID) you would need to generate it automatically but for the sake of this follow up we will use predetermined UUID to keep track of them in our examples.{{site.data.alerts.end}}
-
-1. In some cases, the user adds their own vehicle to share.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > INSERT INTO vehicles (id, city, type, owner_id,creation_time,status, current_location, ext)
- VALUES ('ffffffff-ffff-4400-8000-00000000000f', 'amsterdam', 'skateboard', '66666666-6666-4400-8000-00000000000f', current_timestamp(), 'available', '88194 Angela Gardens Suite 60', '{"color": "blue"}');
- ~~~
-1. More often, the user reserves a vehicle and starts a ride, applying a promo code, if available and valid.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > SELECT code FROM user_promo_codes WHERE user_id ='66666666-6666-4400-8000-00000000000f';
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > UPDATE vehicles SET status = 'in_use' WHERE id='bbbbbbbb-bbbb-4800-8000-00000000000b';
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > INSERT INTO rides (id, city, vehicle_city, rider_id, vehicle_id, start_address,end_address, start_time, end_time, revenue)
- VALUES ('cd032f56-cf1a-4800-8000-00000000066f', 'amsterdam', 'amsterdam', '66666666-6666-4400-8000-00000000000f', 'bbbbbbbb-bbbb-4800-8000-00000000000b', '70458 Mary Crest', '', TIMESTAMP '2020-10-01 10:00:00.123456', NULL, 0.0);
- ~~~
-
-1. During the ride, MovR tracks the location of the vehicle.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > INSERT INTO vehicle_location_histories (city, ride_id, timestamp, lat, long)
- VALUES ('amsterdam', 'cd032f56-cf1a-4800-8000-00000000066f', current_timestamp(), -101, 60);
- ~~~
-
-1. The user ends the ride and releases the vehicle.
-
- For example:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > UPDATE vehicles SET status = 'available' WHERE id='bbbbbbbb-bbbb-4800-8000-00000000000b';
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > UPDATE rides SET end_address ='33862 Charles Junctions Apt. 49', end_time=TIMESTAMP '2020-10-01 10:30:00.123456', revenue=88.6
- WHERE id='cd032f56-cf1a-4800-8000-00000000066f';
- ~~~
diff --git a/src/current/_includes/v22.2/misc/multiregion-max-offset.md b/src/current/_includes/v22.2/misc/multiregion-max-offset.md
deleted file mode 100644
index 8067f63c825..00000000000
--- a/src/current/_includes/v22.2/misc/multiregion-max-offset.md
+++ /dev/null
@@ -1 +0,0 @@
-For new clusters using the [multi-region SQL abstractions](multiregion-overview.html), Cockroach Labs recommends lowering the [`--max-offset`](cockroach-start.html#flags-max-offset) setting to `250ms`. This setting is especially helpful for lowering the write latency of [global tables](multiregion-overview.html#global-tables). Nodes can run with different values for `--max-offset`, but only for the purpose of updating the setting across the cluster using a rolling upgrade.
diff --git a/src/current/_includes/v22.2/misc/note-egress-perimeter-cdc-backup.md b/src/current/_includes/v22.2/misc/note-egress-perimeter-cdc-backup.md
deleted file mode 100644
index 71e33cf2256..00000000000
--- a/src/current/_includes/v22.2/misc/note-egress-perimeter-cdc-backup.md
+++ /dev/null
@@ -1,3 +0,0 @@
-{{site.data.alerts.callout_info}}
-Cockroach Labs recommends enabling Egress Perimeter Controls on CockroachDB {{ site.data.products.dedicated }} clusters to mitigate the risk of data exfiltration when accessing external resources, such as cloud storage for change data capture or backup and restore operations. See [Egress Perimeter Controls](../cockroachcloud/egress-perimeter-controls.html) for detail and setup instructions.
-{{site.data.alerts.end}}
diff --git a/src/current/_includes/v22.2/misc/remove-user-callout.html b/src/current/_includes/v22.2/misc/remove-user-callout.html
deleted file mode 100644
index 925f83d779d..00000000000
--- a/src/current/_includes/v22.2/misc/remove-user-callout.html
+++ /dev/null
@@ -1 +0,0 @@
-Removing a user does not remove that user's privileges. Therefore, to prevent a future user with an identical username from inheriting an old user's privileges, it's important to revoke a user's privileges before or after removing the user.
diff --git a/src/current/_includes/v22.2/misc/s3-compatible-warning.md b/src/current/_includes/v22.2/misc/s3-compatible-warning.md
deleted file mode 100644
index 24ed8da9035..00000000000
--- a/src/current/_includes/v22.2/misc/s3-compatible-warning.md
+++ /dev/null
@@ -1,3 +0,0 @@
-{{site.data.alerts.callout_danger}}
-While Cockroach Labs actively tests Amazon S3, Google Cloud Storage, and Azure Storage, we **do not** test [S3-compatible services](cloud-storage-authentication.html) (e.g., [MinIO](https://min.io/), [Red Hat Ceph](https://docs.ceph.com/en/pacific/radosgw/s3/)).
-{{site.data.alerts.end}}
\ No newline at end of file
diff --git a/src/current/_includes/v22.2/misc/schema-change-stmt-note.md b/src/current/_includes/v22.2/misc/schema-change-stmt-note.md
deleted file mode 100644
index 576fa59a39c..00000000000
--- a/src/current/_includes/v22.2/misc/schema-change-stmt-note.md
+++ /dev/null
@@ -1,3 +0,0 @@
-{{site.data.alerts.callout_info}}
-The `{{ page.title }}` statement performs a schema change. For more information about how online schema changes work in CockroachDB, see [Online Schema Changes](online-schema-changes.html).
-{{site.data.alerts.end}}
diff --git a/src/current/_includes/v22.2/misc/schema-change-view-job.md b/src/current/_includes/v22.2/misc/schema-change-view-job.md
deleted file mode 100644
index 8861174d621..00000000000
--- a/src/current/_includes/v22.2/misc/schema-change-view-job.md
+++ /dev/null
@@ -1 +0,0 @@
-This schema change statement is registered as a job. You can view long-running jobs with [`SHOW JOBS`](show-jobs.html).
diff --git a/src/current/_includes/v22.2/misc/session-vars.md b/src/current/_includes/v22.2/misc/session-vars.md
deleted file mode 100644
index 79afc885cdc..00000000000
--- a/src/current/_includes/v22.2/misc/session-vars.md
+++ /dev/null
@@ -1,90 +0,0 @@
-| Variable name | Description | Initial value | Modify with [`SET`](set-vars.html)? | View with [`SHOW`](show-vars.html)? |
-|---|---|---|---|---|
-| `application_name` | The current application name for statistics collection. | Empty string, or `cockroach` for sessions from the [built-in SQL client](cockroach-sql.html). | Yes | Yes |
-| `bytea_output` | The [mode for conversions from `STRING` to `BYTES`](bytes.html#supported-conversions). | hex | Yes | Yes |
-| `client_min_messages` | The severity level of notices displayed in the [SQL shell](cockroach-sql.html). Accepted values include `debug5`, `debug4`, `debug3`, `debug2`, `debug1`, `log`, `notice`, `warning`, and `error`. | `notice` | Yes | Yes |
-| `copy_from_atomic_enabled` | **New in v22.2:** If set to `on`, [`COPY FROM`](copy-from.html) statements are committed atomically, matching PostgreSQL behavior. If set to `off`, `COPY FROM` statements are segmented into batches of 100 rows unless issued within an explicit transaction, matching the CockroachDB behavior in versions prior to v22.2. | `on` | Yes | Yes |
-| `cost_scans_with_default_col_size` | Whether to prevent the optimizer from considering column size when costing plans. | `false` | Yes | Yes |
-| `crdb_version` | The version of CockroachDB. | CockroachDB OSS version | No | Yes |
-| `database` | The [current database](sql-name-resolution.html#current-database). | Database in connection string, or empty if not specified. | Yes | Yes |
-| `datestyle` | The input string format for [`DATE`](date.html) and [`TIMESTAMP`](timestamp.html) values. Accepted values include `ISO,MDY`, `ISO,DMY`, and `ISO,YMD`. | The value set by the `sql.defaults.datestyle` [cluster setting](cluster-settings.html) (`ISO,MDY`, by default). | Yes | Yes |
-| `default_int_size` | The size, in bytes, of an [`INT`](int.html) type. | `8` | Yes | Yes |
-| `default_transaction_isolation` | All transactions execute with `SERIALIZABLE` isolation. See [Transactions: Isolation levels](transactions.html#isolation-levels). | `SERIALIZABLE` | No | Yes |
-| `default_transaction_priority` | The default transaction priority for the current session. The supported options are `low`, `normal`, and `high`. | `normal` | Yes | Yes |
-| `default_transaction_quality_of_service` | The default transaction quality of service for the current session. The supported options are `regular`, `critical`, and `background`. See [Set quality of service level](admission-control.html#set-quality-of-service-level-for-a-session). | `regular` | Yes | Yes |
-| `default_transaction_read_only` | The default transaction access mode for the current session. cert-manager (recommended but not default), get the names of the cluster's issuers and delete them: {{ get_issuers_command }}cert-manager (recommended but not default), get the names of the cluster's issuers and delete them: {{ get_issuers_command }}minikube version 0.21.0 or later. Earlier versions do not include a Kubernetes server that supports the maxUnavailability field and PodDisruptionBudget resource type used in the CockroachDB StatefulSet configuration.{{site.data.alerts.end}}
-
-1. Start a local Kubernetes cluster:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ minikube start
- ~~~
diff --git a/src/current/_includes/v22.2/orchestration/monitor-cluster.md b/src/current/_includes/v22.2/orchestration/monitor-cluster.md
deleted file mode 100644
index e01a916fe46..00000000000
--- a/src/current/_includes/v22.2/orchestration/monitor-cluster.md
+++ /dev/null
@@ -1,106 +0,0 @@
-To access the cluster's [DB Console](ui-overview.html):
-
-{% if page.secure == true %}
-
-1. On secure clusters, [certain pages of the DB Console](ui-overview.html#db-console-access) can only be accessed by `admin` users.
-
- Get a shell into the pod and start the CockroachDB [built-in SQL client](cockroach-sql.html):
-
- port-forward command must be run on the same machine as the web browser in which you want to view the DB Console. If you have been running these commands from a cloud instance or other non-local shell, you will not be able to view the UI without configuring kubectl locally and running the above port-forward command on your local machine.{{site.data.alerts.end}}
-
-{% if page.secure == true %}
-
-1. Go to https://localhost:8080 and log in with the username and password you created earlier.
-
- {% include {{ page.version.version }}/misc/chrome-localhost.md %}
-
-{% else %}
-
-1. Go to http://localhost:8080.
-
-{% endif %}
-
-1. In the UI, verify that the cluster is running as expected:
- - View the [Node List](ui-cluster-overview-page.html#node-list) to ensure that all nodes successfully joined the cluster.
- - Click the **Databases** tab on the left to verify that `bank` is listed.
diff --git a/src/current/_includes/v22.2/orchestration/operator-check-namespace.md b/src/current/_includes/v22.2/orchestration/operator-check-namespace.md
deleted file mode 100644
index d6c70aa03dc..00000000000
--- a/src/current/_includes/v22.2/orchestration/operator-check-namespace.md
+++ /dev/null
@@ -1,3 +0,0 @@
-{{site.data.alerts.callout_info}}
-All `kubectl` steps should be performed in the [namespace where you installed the Operator](deploy-cockroachdb-with-kubernetes.html#install-the-operator). By default, this is `cockroach-operator-system`.
-{{site.data.alerts.end}}
\ No newline at end of file
diff --git a/src/current/_includes/v22.2/orchestration/start-cockroachdb-helm-insecure.md b/src/current/_includes/v22.2/orchestration/start-cockroachdb-helm-insecure.md
deleted file mode 100644
index db3916f2fa9..00000000000
--- a/src/current/_includes/v22.2/orchestration/start-cockroachdb-helm-insecure.md
+++ /dev/null
@@ -1,111 +0,0 @@
-1. [Install the Helm client](https://helm.sh/docs/intro/install) (version 3.0 or higher) and add the `cockroachdb` chart repository:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ helm repo add cockroachdb https://charts.cockroachdb.com/
- ~~~
-
- ~~~
- "cockroachdb" has been added to your repositories
- ~~~
-
-1. Update your Helm chart repositories to ensure that you're using the [latest CockroachDB chart](https://github.com/cockroachdb/helm-charts/blob/master/cockroachdb/Chart.yaml):
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ helm repo update
- ~~~
-
-1. Modify our Helm chart's [`values.yaml`](https://github.com/cockroachdb/helm-charts/blob/master/cockroachdb/values.yaml) parameters for your deployment scenario.
-
- Create a `my-values.yaml` file to override the defaults in `values.yaml`, substituting your own values in this example based on the guidelines below.
-
- {% include_cached copy-clipboard.html %}
- ~~~
- statefulset:
- resources:
- limits:
- memory: "8Gi"
- requests:
- memory: "8Gi"
- conf:
- cache: "2Gi"
- max-sql-memory: "2Gi"
- ~~~
-
- 1. To avoid running out of memory when CockroachDB is not the only pod on a Kubernetes node, you *must* set memory limits explicitly. This is because CockroachDB does not detect the amount of memory allocated to its pod when run in Kubernetes. We recommend setting `conf.cache` and `conf.max-sql-memory` each to 1/4 of the `memory` allocation specified in `statefulset.resources.requests` and `statefulset.resources.limits`.
-
- {{site.data.alerts.callout_success}}
- For example, if you are allocating 8Gi of `memory` to each CockroachDB node, allocate 2Gi to `cache` and 2Gi to `max-sql-memory`.
- {{site.data.alerts.end}}
-
-1. For an insecure deployment, set `tls.enabled` to `false`. For clarity, this example includes the example configuration from the previous steps.
-
- {% include_cached copy-clipboard.html %}
- ~~~
- statefulset:
- resources:
- limits:
- memory: "8Gi"
- requests:
- memory: "8Gi"
- conf:
- cache: "2Gi"
- max-sql-memory: "2Gi"
- tls:
- enabled: false
- ~~~
-
- 1. You may want to modify `storage.persistentVolume.size` and `storage.persistentVolume.storageClass` for your use case. This chart defaults to 100Gi of disk space per pod. For more details on customizing disks for performance, see [these instructions]({% link {{ page.version.version }}/kubernetes-performance.md %}#disk-type).
-
- {{site.data.alerts.callout_info}}
- If necessary, you can [expand disk size](/docs/{{ page.version.version }}/configure-cockroachdb-kubernetes.html?filters=helm#expand-disk-size) after the cluster is live.
- {{site.data.alerts.end}}
-
-1. Install the CockroachDB Helm chart.
-
- Provide a "release" name to identify and track this particular deployment of the chart, and override the default values with those in `my-values.yaml`.
-
- {{site.data.alerts.callout_info}}
- This tutorial uses `my-release` as the release name. If you use a different value, be sure to adjust the release name in subsequent commands.
- {{site.data.alerts.end}}
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ helm install my-release --values my-values.yaml cockroachdb/cockroachdb
- ~~~
-
- Behind the scenes, this command uses our `cockroachdb-statefulset.yaml` file to create the StatefulSet that automatically creates 3 pods, each with a CockroachDB node running inside it, where each pod has distinguishable network identity and always binds back to the same persistent storage on restart.
-
-1. Confirm that CockroachDB cluster initialization has completed successfully, with the pods for CockroachDB showing `1/1` under `READY` and the pod for initialization showing `COMPLETED` under `STATUS`:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ kubectl get pods
- ~~~
-
- ~~~
- NAME READY STATUS RESTARTS AGE
- my-release-cockroachdb-0 1/1 Running 0 8m
- my-release-cockroachdb-1 1/1 Running 0 8m
- my-release-cockroachdb-2 1/1 Running 0 8m
- my-release-cockroachdb-init-hxzsc 0/1 Completed 0 1h
- ~~~
-
-1. Confirm that the persistent volumes and corresponding claims were created successfully for all three pods:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ kubectl get pv
- ~~~
-
- ~~~
- NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
- pvc-71019b3a-fc67-11e8-a606-080027ba45e5 100Gi RWO Delete Bound default/datadir-my-release-cockroachdb-0 standard 11m
- pvc-7108e172-fc67-11e8-a606-080027ba45e5 100Gi RWO Delete Bound default/datadir-my-release-cockroachdb-1 standard 11m
- pvc-710dcb66-fc67-11e8-a606-080027ba45e5 100Gi RWO Delete Bound default/datadir-my-release-cockroachdb-2 standard 11m
- ~~~
-
-{{site.data.alerts.callout_success}}
-The StatefulSet configuration sets all CockroachDB nodes to log to `stderr`, so if you ever need access to logs for a pod, use `kubectl logs namespace: cockroach-operator-system with your desired namespace.WATCH_NAMESPACE environment variable in the Deployment pod spec. This can be set to a single namespace or a comma-delimited set of namespaces. When set, only those CrdbCluster resources in the supplied namespace(s) will be reconciled.
-
-To check at a more granular level, SSH to one of the instances not running CockroachDB and run the `SHOW EXPERIMENTAL_RANGES` statement on the `vehicles` table:
-
-{% include_cached copy-clipboard.html %}
-~~~ shell
-$ cockroach sql \
-{{page.certs}} \
---host= \
---database=movr \
---execute="SELECT * FROM \
-[SHOW EXPERIMENTAL_RANGES FROM TABLE vehicles] \
-WHERE \"start_key\" IS NOT NULL \
- AND \"start_key\" NOT LIKE '%Prefix%';"
-~~~
-
-~~~
- start_key | end_key | range_id | replicas | lease_holder
-+------------------+----------------------------+----------+----------+--------------+
- /"boston" | /"boston"/PrefixEnd | 105 | {1,2,3} | 3
- /"los angeles" | /"los angeles"/PrefixEnd | 121 | {7,8,9} | 8
- /"new york" | /"new york"/PrefixEnd | 101 | {1,2,3} | 3
- /"san francisco" | /"san francisco"/PrefixEnd | 117 | {7,8,9} | 8
- /"seattle" | /"seattle"/PrefixEnd | 113 | {4,5,6} | 5
- /"washington dc" | /"washington dc"/PrefixEnd | 109 | {1,2,3} | 1
-(6 rows)
-~~~
-
-For reference, here's how the nodes map to zones:
-
-Node IDs | Zone
----------|-----
-1-3 | `us-east1-b` (South Carolina)
-4-6 | `us-west1-a` (Oregon)
-7-9 | `us-west2-a` (Los Angeles)
-
-We can see that, after partitioning, the replicas for New York, Boston, and Washington DC are located on nodes 1-3 in `us-east1-b`, replicas for Seattle are located on nodes 4-6 in `us-west1-a`, and replicas for San Francisco and Los Angeles are located on nodes 7-9 in `us-west2-a`.
diff --git a/src/current/_includes/v22.2/performance/check-rebalancing.md b/src/current/_includes/v22.2/performance/check-rebalancing.md
deleted file mode 100644
index cef011ff236..00000000000
--- a/src/current/_includes/v22.2/performance/check-rebalancing.md
+++ /dev/null
@@ -1,33 +0,0 @@
-Since you started each node with the `--locality` flag set to its GCE zone, over the next minutes, CockroachDB will rebalance data evenly across the zones.
-
-To check this, access the DB Console on any node at `
-
-For reference, here's how the nodes map to zones:
-
-Node IDs | Zone
----------|-----
-1-3 | `us-east1-b` (South Carolina)
-4-6 | `us-west1-a` (Oregon)
-7-9 | `us-west2-a` (Los Angeles)
-
-To verify even balancing at range level, SSH to one of the instances not running CockroachDB and run the `SHOW EXPERIMENTAL_RANGES` statement:
-
-{% include_cached copy-clipboard.html %}
-~~~ shell
-$ cockroach sql \
-{{page.certs}} \
---host= \
---database=movr \
---execute="SHOW EXPERIMENTAL_RANGES FROM TABLE vehicles;"
-~~~
-
-~~~
- start_key | end_key | range_id | replicas | lease_holder
-+-----------+---------+----------+----------+--------------+
- NULL | NULL | 33 | {3,4,7} | 7
-(1 row)
-~~~
-
-In this case, we can see that, for the single range containing `vehicles` data, one replica is in each zone, and the leaseholder is in the `us-west2-a` zone.
diff --git a/src/current/_includes/v22.2/performance/configure-network.md b/src/current/_includes/v22.2/performance/configure-network.md
deleted file mode 100644
index e9abeb94df3..00000000000
--- a/src/current/_includes/v22.2/performance/configure-network.md
+++ /dev/null
@@ -1,18 +0,0 @@
-CockroachDB requires TCP communication on two ports:
-
-- **26257** (`tcp:26257`) for inter-node communication (i.e., working as a cluster)
-- **8080** (`tcp:8080`) for accessing the DB Console
-
-Since GCE instances communicate on their internal IP addresses by default, you do not need to take any action to enable inter-node communication. However, to access the DB Console from your local network, you must [create a firewall rule for your project](https://cloud.google.com/vpc/docs/using-firewalls):
-
-Field | Recommended Value
-------|------------------
-Name | **cockroachweb**
-Source filter | IP ranges
-Source IP ranges | Your local network's IP ranges
-Allowed protocols | **tcp:8080**
-Target tags | `cockroachdb`
-
-{{site.data.alerts.callout_info}}
-The **tag** feature will let you easily apply the rule to your instances.
-{{site.data.alerts.end}}
diff --git a/src/current/_includes/v22.2/performance/contention-indicators.md b/src/current/_includes/v22.2/performance/contention-indicators.md
deleted file mode 100644
index 31bf32f3025..00000000000
--- a/src/current/_includes/v22.2/performance/contention-indicators.md
+++ /dev/null
@@ -1,5 +0,0 @@
-* In the [**Transaction Executions** view](ui-insights-page.html) on the **Insights** page, transaction executions display the **High Contention** insight.
-* Your application is experiencing degraded performance with transaction errors like `SQLSTATE: 40001`, `RETRY_WRITE_TOO_OLD`, and `RETRY_SERIALIZABLE`. See [Transaction Retry Error Reference](transaction-retry-error-reference.html).
-* The [SQL Statement Contention graph](ui-sql-dashboard.html#sql-statement-contention) is showing spikes over time.
-
-* The [Transaction Restarts graph](ui-sql-dashboard.html) is showing spikes in retries over time.
diff --git a/src/current/_includes/v22.2/performance/create-index-hash-sharded-secondary-index.md b/src/current/_includes/v22.2/performance/create-index-hash-sharded-secondary-index.md
deleted file mode 100644
index 05f66896541..00000000000
--- a/src/current/_includes/v22.2/performance/create-index-hash-sharded-secondary-index.md
+++ /dev/null
@@ -1,62 +0,0 @@
-Let's assume the `events` table already exists:
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> CREATE TABLE events (
- product_id INT8,
- owner UUID,
- serial_number VARCHAR,
- event_id UUID,
- ts TIMESTAMP,
- data JSONB,
- PRIMARY KEY (product_id, owner, serial_number, ts, event_id)
-);
-~~~
-
-You can create a hash-sharded index on an existing table:
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> CREATE INDEX ON events(ts) USING HASH;
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW INDEX FROM events;
-~~~
-
-~~~
- table_name | index_name | non_unique | seq_in_index | column_name | direction | storing | implicit
--------------+---------------+------------+--------------+---------------------------+-----------+---------+-----------
- events | events_pkey | false | 1 | product_id | ASC | false | false
- events | events_pkey | false | 2 | owner | ASC | false | false
- events | events_pkey | false | 3 | serial_number | ASC | false | false
- events | events_pkey | false | 4 | ts | ASC | false | false
- events | events_pkey | false | 5 | event_id | ASC | false | false
- events | events_pkey | false | 6 | data | N/A | true | false
- events | events_ts_idx | true | 1 | crdb_internal_ts_shard_16 | ASC | false | true
- events | events_ts_idx | true | 2 | ts | ASC | false | false
- events | events_ts_idx | true | 3 | product_id | ASC | false | true
- events | events_ts_idx | true | 4 | owner | ASC | false | true
- events | events_ts_idx | true | 5 | serial_number | ASC | false | true
- events | events_ts_idx | true | 6 | event_id | ASC | false | true
-(12 rows)
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW COLUMNS FROM events;
-~~~
-
-~~~
- column_name | data_type | is_nullable | column_default | generation_expression | indices | is_hidden
-----------------------------+-----------+-------------+----------------+---------------------------------------------------+-----------------------------+------------
- product_id | INT8 | false | NULL | | {events_pkey,events_ts_idx} | false
- owner | UUID | false | NULL | | {events_pkey,events_ts_idx} | false
- serial_number | VARCHAR | false | NULL | | {events_pkey,events_ts_idx} | false
- event_id | UUID | false | NULL | | {events_pkey,events_ts_idx} | false
- ts | TIMESTAMP | false | NULL | | {events_pkey,events_ts_idx} | false
- data | JSONB | true | NULL | | {events_pkey} | false
- crdb_internal_ts_shard_16 | INT8 | false | NULL | mod(fnv32(crdb_internal.datums_to_bytes(ts)), 16) | {events_ts_idx} | true
-(7 rows)
-~~~
diff --git a/src/current/_includes/v22.2/performance/create-table-hash-sharded-primary-index.md b/src/current/_includes/v22.2/performance/create-table-hash-sharded-primary-index.md
deleted file mode 100644
index 40ba79a096a..00000000000
--- a/src/current/_includes/v22.2/performance/create-table-hash-sharded-primary-index.md
+++ /dev/null
@@ -1,37 +0,0 @@
-Let's create the `products` table and add a hash-sharded primary key on the `ts` column:
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> CREATE TABLE products (
- ts DECIMAL PRIMARY KEY USING HASH,
- product_id INT8
- );
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW INDEX FROM products;
-~~~
-
-~~~
- table_name | index_name | non_unique | seq_in_index | column_name | direction | storing | implicit
--------------+---------------+------------+--------------+---------------------------+-----------+---------+-----------
- products | products_pkey | false | 1 | crdb_internal_ts_shard_16 | ASC | false | true
- products | products_pkey | false | 2 | ts | ASC | false | false
- products | products_pkey | false | 3 | product_id | N/A | true | false
-(3 rows)
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW COLUMNS FROM products;
-~~~
-
-~~~
- column_name | data_type | is_nullable | column_default | generation_expression | indices | is_hidden
-----------------------------+-----------+-------------+----------------+---------------------------------------------------+-----------------+------------
- crdb_internal_ts_shard_16 | INT8 | false | NULL | mod(fnv32(crdb_internal.datums_to_bytes(ts)), 16) | {products_pkey} | true
- ts | DECIMAL | false | NULL | | {products_pkey} | false
- product_id | INT8 | true | NULL | | {products_pkey} | false
-(3 rows)
-~~~
diff --git a/src/current/_includes/v22.2/performance/create-table-hash-sharded-secondary-index.md b/src/current/_includes/v22.2/performance/create-table-hash-sharded-secondary-index.md
deleted file mode 100644
index dc0e164a0fb..00000000000
--- a/src/current/_includes/v22.2/performance/create-table-hash-sharded-secondary-index.md
+++ /dev/null
@@ -1,56 +0,0 @@
-Let's now create the `events` table and add a secondary index on the `ts` column in a single statement:
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> CREATE TABLE events (
- product_id INT8,
- owner UUID,
- serial_number VARCHAR,
- event_id UUID,
- ts TIMESTAMP,
- data JSONB,
- PRIMARY KEY (product_id, owner, serial_number, ts, event_id),
- INDEX (ts) USING HASH
-);
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW INDEX FROM events;
-~~~
-
-~~~
- table_name | index_name | non_unique | seq_in_index | column_name | direction | storing | implicit
--------------+---------------+------------+--------------+---------------------------+-----------+---------+-----------
- events | events_pkey | false | 1 | product_id | ASC | false | false
- events | events_pkey | false | 2 | owner | ASC | false | false
- events | events_pkey | false | 3 | serial_number | ASC | false | false
- events | events_pkey | false | 4 | ts | ASC | false | false
- events | events_pkey | false | 5 | event_id | ASC | false | false
- events | events_pkey | false | 6 | data | N/A | true | false
- events | events_ts_idx | true | 1 | crdb_internal_ts_shard_16 | ASC | false | true
- events | events_ts_idx | true | 2 | ts | ASC | false | false
- events | events_ts_idx | true | 3 | product_id | ASC | false | true
- events | events_ts_idx | true | 4 | owner | ASC | false | true
- events | events_ts_idx | true | 5 | serial_number | ASC | false | true
- events | events_ts_idx | true | 6 | event_id | ASC | false | true
-(12 rows)
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SHOW COLUMNS FROM events;
-~~~
-
-~~~
- column_name | data_type | is_nullable | column_default | generation_expression | indices | is_hidden
-----------------------------+-----------+-------------+----------------+---------------------------------------------------+-----------------------------+------------
- product_id | INT8 | false | NULL | | {events_pkey,events_ts_idx} | false
- owner | UUID | false | NULL | | {events_pkey,events_ts_idx} | false
- serial_number | VARCHAR | false | NULL | | {events_pkey,events_ts_idx} | false
- event_id | UUID | false | NULL | | {events_pkey,events_ts_idx} | false
- ts | TIMESTAMP | false | NULL | | {events_pkey,events_ts_idx} | false
- data | JSONB | true | NULL | | {events_pkey} | false
- crdb_internal_ts_shard_16 | INT8 | false | NULL | mod(fnv32(crdb_internal.datums_to_bytes(ts)), 16) | {events_ts_idx} | true
-(7 rows)
-~~~
diff --git a/src/current/_includes/v22.2/performance/import-movr.md b/src/current/_includes/v22.2/performance/import-movr.md
deleted file mode 100644
index c83d98654fc..00000000000
--- a/src/current/_includes/v22.2/performance/import-movr.md
+++ /dev/null
@@ -1,160 +0,0 @@
-Now you'll import Movr data representing users, vehicles, and rides in 3 eastern US cities (New York, Boston, and Washington DC) and 3 western US cities (Los Angeles, San Francisco, and Seattle).
-
-1. Still on the fourth instance, start the [built-in SQL shell](cockroach-sql.html), pointing it at one of the CockroachDB nodes:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ cockroach sql {{page.certs}} --host=
- ~~~
-
-1. Create the `movr` database and set it as the default:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > CREATE DATABASE movr;
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > SET DATABASE = movr;
- ~~~
-
-1. Use the [`IMPORT`](import.html) statement to create and populate the `users`, `vehicles,` and `rides` tables:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > IMPORT TABLE users (
- id UUID NOT NULL,
- city STRING NOT NULL,
- name STRING NULL,
- address STRING NULL,
- credit_card STRING NULL,
- CONSTRAINT "primary" PRIMARY KEY (city ASC, id ASC)
- )
- CSV DATA (
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/users/n1.0.csv'
- );
- ~~~
-
- ~~~
- job_id | status | fraction_completed | rows | index_entries | system_records | bytes
- +--------------------+-----------+--------------------+------+---------------+----------------+--------+
- 390345990764396545 | succeeded | 1 | 1998 | 0 | 0 | 241052
- (1 row)
-
- Time: 2.882582355s
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > IMPORT TABLE vehicles (
- id UUID NOT NULL,
- city STRING NOT NULL,
- type STRING NULL,
- owner_id UUID NULL,
- creation_time TIMESTAMP NULL,
- status STRING NULL,
- ext JSON NULL,
- mycol STRING NULL,
- CONSTRAINT "primary" PRIMARY KEY (city ASC, id ASC),
- INDEX vehicles_auto_index_fk_city_ref_users (city ASC, owner_id ASC)
- )
- CSV DATA (
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/vehicles/n1.0.csv'
- );
- ~~~
-
- ~~~
- job_id | status | fraction_completed | rows | index_entries | system_records | bytes
- +--------------------+-----------+--------------------+-------+---------------+----------------+---------+
- 390346109887250433 | succeeded | 1 | 19998 | 19998 | 0 | 3558767
- (1 row)
-
- Time: 5.803841493s
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > IMPORT TABLE rides (
- id UUID NOT NULL,
- city STRING NOT NULL,
- vehicle_city STRING NULL,
- rider_id UUID NULL,
- vehicle_id UUID NULL,
- start_address STRING NULL,
- end_address STRING NULL,
- start_time TIMESTAMP NULL,
- end_time TIMESTAMP NULL,
- revenue DECIMAL(10,2) NULL,
- CONSTRAINT "primary" PRIMARY KEY (city ASC, id ASC),
- INDEX rides_auto_index_fk_city_ref_users (city ASC, rider_id ASC),
- INDEX rides_auto_index_fk_vehicle_city_ref_vehicles (vehicle_city ASC, vehicle_id ASC),
- CONSTRAINT check_vehicle_city_city CHECK (vehicle_city = city)
- )
- CSV DATA (
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.0.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.1.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.2.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.3.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.4.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.5.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.6.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.7.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.8.csv',
- 'https://s3-us-west-1.amazonaws.com/cockroachdb-movr/datasets/perf-tuning/rides/n1.9.csv'
- );
- ~~~
-
- ~~~
- job_id | status | fraction_completed | rows | index_entries | system_records | bytes
- +--------------------+-----------+--------------------+--------+---------------+----------------+-----------+
- 390346325693792257 | succeeded | 1 | 999996 | 1999992 | 0 | 339741841
- (1 row)
-
- Time: 44.620371424s
- ~~~
-
- {{site.data.alerts.callout_success}}
- You can observe the progress of imports as well as all schema change operations (e.g., adding secondary indexes) on the [**Jobs** page](ui-jobs-page.html) of the DB Console.
- {{site.data.alerts.end}}
-
-1. Logically, there should be a number of [foreign key](foreign-key.html) relationships between the tables:
-
- Referencing columns | Referenced columns
- --------------------|-------------------
- `vehicles.city`, `vehicles.owner_id` | `users.city`, `users.id`
- `rides.city`, `rides.rider_id` | `users.city`, `users.id`
- `rides.vehicle_city`, `rides.vehicle_id` | `vehicles.city`, `vehicles.id`
-
- As mentioned earlier, it wasn't possible to put these relationships in place during `IMPORT`, but it was possible to create the required secondary indexes. Now, let's add the foreign key constraints:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > ALTER TABLE vehicles
- ADD CONSTRAINT fk_city_ref_users
- FOREIGN KEY (city, owner_id)
- REFERENCES users (city, id);
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > ALTER TABLE rides
- ADD CONSTRAINT fk_city_ref_users
- FOREIGN KEY (city, rider_id)
- REFERENCES users (city, id);
- ~~~
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > ALTER TABLE rides
- ADD CONSTRAINT fk_vehicle_city_ref_vehicles
- FOREIGN KEY (vehicle_city, vehicle_id)
- REFERENCES vehicles (city, id);
- ~~~
-
-1. Exit the built-in SQL shell:
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- > \q
- ~~~
diff --git a/src/current/_includes/v22.2/performance/lease-preference-system-database.md b/src/current/_includes/v22.2/performance/lease-preference-system-database.md
deleted file mode 100644
index 12344249d4d..00000000000
--- a/src/current/_includes/v22.2/performance/lease-preference-system-database.md
+++ /dev/null
@@ -1,10 +0,0 @@
-To reduce latency while making {% if page.name == "online-schema-changes.md" %}online schema changes{% else %}[online schema changes](online-schema-changes.html){% endif %}, we recommend specifying a `lease_preference` [zone configuration](configure-replication-zones.html) on the `system` database to a single region and running all subsequent schema changes from a node within that region. For example, if the majority of online schema changes come from machines that are geographically close to `us-east1`, run the following:
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-ALTER DATABASE system CONFIGURE ZONE USING constraints = '{"+region=us-east1": 1}', lease_preferences = '[[+region=us-east1]]';
-~~~
-
-Run all subsequent schema changes from a node in the specified region.
-
-If you do not intend to run more schema changes from that region, you can safely [remove the lease preference from the zone configuration]({% link {{ page.version.version }}/alter-database.md %}#remove-a-replication-zone) for the system database.
diff --git a/src/current/_includes/v22.2/performance/overview.md b/src/current/_includes/v22.2/performance/overview.md
deleted file mode 100644
index 48296592679..00000000000
--- a/src/current/_includes/v22.2/performance/overview.md
+++ /dev/null
@@ -1,38 +0,0 @@
-### Topology
-
-You'll start with a 3-node CockroachDB cluster in a single Google Compute Engine (GCE) zone, with an extra instance for running a client application workload:
-
-
-
-{{site.data.alerts.callout_info}}
-Within a single GCE zone, network latency between instances should be sub-millisecond.
-{{site.data.alerts.end}}
-
-You'll then scale the cluster to 9 nodes running across 3 GCE regions, with an extra instance in each region for a client application workload:
-
-
-
-{{site.data.alerts.callout_info}}
-Network latencies will increase with geographic distance between nodes. You can observe this in the [Network Latency page](ui-network-latency-page.html) of the DB Console.
-{{site.data.alerts.end}}
-
-To reproduce the performance demonstrated in this tutorial:
-
-- For each CockroachDB node, you'll use the [`n2-standard-4`](https://cloud.google.com/compute/docs/machine-types#standard_machine_types) machine type (4 vCPUs, 16 GB memory) with the Ubuntu 16.04 OS image and a [local SSD](https://cloud.google.com/compute/docs/disks/#localssds) disk.
-- For running the client application workload, you'll use smaller instances, such as `n2-standard-2`.
-
-### Schema
-
-Your schema and data will be based on our open-source, fictional peer-to-peer vehicle-sharing application, [MovR](movr.html).
-
-
-
-A few notes about the schema:
-
-- There are just three self-explanatory tables: In essence, `users` represents the people registered for the service, `vehicles` represents the pool of vehicles for the service, and `rides` represents when and where users have participated.
-- Each table has a composite primary key, with `city` being first in the key. Although not necessary initially in the single-region deployment, once you scale the cluster to multiple regions, these compound primary keys will enable you to [geo-partition data at the row level](partitioning.html#partition-using-primary-key) by `city`. As such, this tutorial demonstrates a schema designed for future scaling.
-- The [`IMPORT`](import.html) feature you'll use to import the data does not support foreign keys, so you'll import the data without [foreign key constraints](foreign-key.html). However, the import will create the secondary indexes required to add the foreign keys later.
-
-### Important concepts
-
-To understand the techniques in this tutorial, and to be able to apply them in your own scenarios, it's important to first understand [how reads and writes work in CockroachDB](architecture/reads-and-writes-overview.html). Review that document before getting started here.
diff --git a/src/current/_includes/v22.2/performance/partition-by-city.md b/src/current/_includes/v22.2/performance/partition-by-city.md
deleted file mode 100644
index ed3c5929590..00000000000
--- a/src/current/_includes/v22.2/performance/partition-by-city.md
+++ /dev/null
@@ -1,419 +0,0 @@
-For this service, the most effective technique for improving read and write latency is to [geo-partition](partitioning.html) the data by city. In essence, this means changing the way data is mapped to ranges. Instead of an entire table and its indexes mapping to a specific range or set of ranges, all rows in the table and its indexes with a given city will map to a range or set of ranges. Once ranges are defined in this way, we can then use the [replication zone](configure-replication-zones.html) feature to pin partitions to specific locations, ensuring that read and write requests from users in a specific city do not have to leave that region.
-
-1. Partitioning is an enterprise feature, so start off by [registering for a 30-day trial license](https://www.cockroachlabs.com/get-cockroachdb/enterprise/).
-
-1. Once you've received the trial license, SSH to any node in your cluster and [apply the license](licensing-faqs.html#set-a-license):
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ cockroach sql \
- {{page.certs}} \
- --host= \
- --execute="SET CLUSTER SETTING cluster.organization = 'ccloud, a command-line interface (CLI) tool.
-
-ccloud CLI tool.
-
-{{site.data.alerts.callout_info}}
-The ccloud CLI tool is in Preview.
-{{site.data.alerts.end}}
-
-ccloudccloud, a command-line interface (CLI) tool.
-
-ccloud CLI tool.
-
-{{site.data.alerts.callout_info}}
-The ccloud CLI tool is in Preview.
-{{site.data.alerts.end}}
-
-ccloudccloud, a command-line interface (CLI) tool.
-
-ccloud CLI tool.
-
-{{site.data.alerts.callout_info}}
-The ccloud CLI tool is in Preview.
-{{site.data.alerts.end}}
-
-ccloudccloud, a command-line interface (CLI) tool.
-
-ccloud CLI tool.
-
-{{site.data.alerts.callout_info}}
-The ccloud CLI tool is in Preview.
-{{site.data.alerts.end}}
-
-ccloudccloud, a command-line interface (CLI) tool.
-
-ccloud CLI tool.
-
-{{site.data.alerts.callout_info}}
-The ccloud CLI tool is in Preview.
-{{site.data.alerts.end}}
-
-ccloudAS OF SYSTEM TIME",
- "urls": [
- "/${VERSION}/as-of-system-time.html"
- ]
- },
- {
- "title": "Query Spatial Data",
- "urls": [
- "/${VERSION}/query-spatial-data.html"
- ]
- }
- ]
- },
- {
- "title": "Transactions",
- "items": [
- {
- "title": "Transactions Overview",
- "urls": [
- "/${VERSION}/transactions.html"
- ]
- },
- {
- "title": "Advanced Client-side Transaction Retries",
- "urls": [
- "/${VERSION}/advanced-client-side-transaction-retries.html"
- ]
- }
- ]
- },
- {
- "title": "Test Your Application Locally",
- "urls": [
- "/${VERSION}/local-testing.html"
- ]
- },
- {
- "title": "Troubleshoot Common Problems",
- "urls": [
- "/${VERSION}/error-handling-and-troubleshooting.html"
- ]
- },
- {
- "title": "Optimize Statement Performance",
- "items":
- [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/make-queries-fast.html"
- ]
- },
- {
- "title": "Statement Tuning with EXPLAIN",
- "urls": [
- "/${VERSION}/sql-tuning-with-explain.html"
- ]
- },
- {
- "title": "Apply SQL Statement Performance Rules",
- "urls": [
- "/${VERSION}/apply-statement-performance-rules.html"
- ]
- },
- {
- "title": "Map SQL Activity using an Application Name",
- "urls": [
- "/${VERSION}/map-sql-activity-to-app.html"
- ]
- },
- {
- "title": "SQL Performance Best Practices",
- "urls": [
- "/${VERSION}/performance-best-practices-overview.html"
- ]
- },
- {
- "title": "Performance Tuning Recipes",
- "urls": [
- "/${VERSION}/performance-recipes.html"
- ]
- },
- {
- "title": "Performance Features",
- "items":
- [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/performance-features-overview.html"
- ]
- },
- {
- "title": "Indexes",
- "urls": [
- "/${VERSION}/indexes.html"
- ]
- },
- {
- "title": "Cost-Based Optimizer",
- "urls": [
- "/${VERSION}/cost-based-optimizer.html"
- ]
- },
- {
- "title": "Vectorized Execution Engine",
- "urls": [
- "/${VERSION}/vectorized-execution.html"
- ]
- },
- {
- "title": "Load-Based Splitting",
- "urls": [
- "/${VERSION}/load-based-splitting.html"
- ]
- },
- {
- "title": "Admission Control",
- "urls": [
- "/${VERSION}/admission-control.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Example Applications",
- "items": [
- {
- "title": "Overview of Example Applications",
- "urls": [
- "/${VERSION}/example-apps.html"
- ]
- },
- {
- "title": "Build the Roach Data Application using Spring Boot",
- "items": [
- {
- "title": "Spring Boot with JDBC",
- "urls": [
- "/${VERSION}/build-a-spring-app-with-cockroachdb-jdbc.html"
- ]
- },
- {
- "title": "Spring Boot with JPA",
- "urls": [
- "/${VERSION}/build-a-spring-app-with-cockroachdb-jpa.html"
- ]
- }
- ]
- },
- {
- "title": "The MovR Example Application",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/movr.html"
- ]
- },
- {
- "title": "Global Application",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/movr-flask-overview.html"
- ]
- },
- {
- "title": "Global Application Use Case",
- "urls": [
- "/${VERSION}/movr-flask-use-case.html"
- ]
- },
- {
- "title": "Multi-region Database Schema",
- "urls": [
- "/${VERSION}/movr-flask-database.html"
- ]
- },
- {
- "title": "Set up a Development Environment",
- "urls": [
- "/${VERSION}/movr-flask-setup.html"
- ]
- },
- {
- "title": "Develop a Global Application",
- "urls": [
- "/${VERSION}/movr-flask-application.html"
- ]
- },
- {
- "title": "Deploy a Global Application",
- "urls": [
- "/${VERSION}/movr-flask-deployment.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Deploy a Python To-Do App with Flask, Kubernetes, and CockroachDB Cloud",
- "urls": [
- "/cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.html"
- ]
- }
- ]
- },
- {
- "title": "Tutorials",
- "items": [
- {
- "title": "Tutorials Overview",
- "urls": [
- "/${VERSION}/tutorials-overview.html"
- ]
- },
- {
- "title": "Schema Migration Tools",
- "items": [
- {
- "title": "Alembic",
- "urls": [
- "/${VERSION}/alembic.html"
- ]
- },
- {
- "title": "Flyway",
- "urls": [
- "/${VERSION}/flyway.html"
- ]
- },
- {
- "title": "Liquibase",
- "urls": [
- "/${VERSION}/liquibase.html"
- ]
- }
- ]
- },
- {
- "title": "GUIs & IDEs",
- "items": [
- {
- "title": "DBeaver GUI",
- "urls": [
- "/${VERSION}/dbeaver.html"
- ]
- },
- {
- "title": "IntelliJ IDEA",
- "urls": [
- "/${VERSION}/intellij-idea.html"
- ]
- }
- ]
- },
- {
- "title": "Data Security Tools",
- "items": [
- {
- "title": "Satori",
- "urls": [
- "/${VERSION}/satori-integration.html"
- ]
- },
- {
- "title": "HashiCorp Vault",
- "urls": [
- "/${VERSION}/hashicorp-integration.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "SQL Playground",
- "is_top_level": true,
- "urls": [
- "https://www.cockroachlabs.com/docs/tutorials/sql-playground"
- ]
- }
- ]
-}
diff --git a/src/current/_includes/v22.2/sidebar-data/get-started.json b/src/current/_includes/v22.2/sidebar-data/get-started.json
deleted file mode 100644
index 8c79c027eea..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/get-started.json
+++ /dev/null
@@ -1,173 +0,0 @@
-{
- "title": "Get Started",
- "is_top_level": true,
- "items": [{
- "title": "Quickstart",
- "urls": [
- "/cockroachcloud/quickstart.html"
- ]
- },
- {
- "title": "Learn CockroachDB SQL",
- "urls": [
- "/cockroachcloud/learn-cockroachdb-sql.html",
- "/${VERSION}/learn-cockroachdb-sql.html"
- ]
- },
- {
- "title": "Build a Sample Application",
- "items": [
- {
- "title": "JavaScript/TypeScript",
- "urls": [
- "/${VERSION}/build-a-nodejs-app-with-cockroachdb.html",
- "/${VERSION}/build-a-nodejs-app-with-cockroachdb-sequelize.html",
- "/${VERSION}/build-a-nodejs-app-with-cockroachdb-knexjs.html",
- "/${VERSION}/build-a-nodejs-app-with-cockroachdb-prisma.html",
- "/${VERSION}/build-a-typescript-app-with-cockroachdb.html"
- ]
- },
- {
- "title": "Python",
- "urls": [
- "/${VERSION}/build-a-python-app-with-cockroachdb-psycopg3.html",
- "/${VERSION}/build-a-python-app-with-cockroachdb.html",
- "/${VERSION}/build-a-python-app-with-cockroachdb-sqlalchemy.html",
- "/${VERSION}/build-a-python-app-with-cockroachdb-django.html"
- ]
- },
- {
- "title": "Golang",
- "urls": [
- "/${VERSION}/build-a-go-app-with-cockroachdb.html",
- "/${VERSION}/build-a-go-app-with-cockroachdb-gorm.html",
- "/${VERSION}/build-a-go-app-with-cockroachdb-pq.html",
- "/${VERSION}/build-a-go-app-with-cockroachdb-upperdb.html"
- ]
- },
- {
- "title": "Java",
- "urls": [
- "/${VERSION}/build-a-java-app-with-cockroachdb.html",
- "/${VERSION}/build-a-java-app-with-cockroachdb-hibernate.html",
- "/${VERSION}/build-a-java-app-with-cockroachdb-jooq.html",
- "/${VERSION}/build-a-spring-app-with-cockroachdb-mybatis.html"
- ]
- },
- {
- "title": "Ruby",
- "urls": [
- "/${VERSION}/build-a-ruby-app-with-cockroachdb.html",
- "/${VERSION}/build-a-ruby-app-with-cockroachdb-activerecord.html"
- ]
- },
- {
- "title": "C# (.NET)",
- "urls": [
- "/${VERSION}/build-a-csharp-app-with-cockroachdb.html"
- ]
- },
- {
- "title": "Rust",
- "urls": [
- "/${VERSION}/build-a-rust-app-with-cockroachdb.html"
- ]
- },
- {
- "title": "Hasura (GraphQL)",
- "urls": [
- "/${VERSION}/hasura-getting-started.html"
- ]
- }
- ]
- },
- {
- "title": "Build a Serverless Application",
- "items": [
- {
- "title": "AWS Lambda",
- "urls": [
- "/${VERSION}/deploy-lambda-function.html"
- ]
- },
- {
- "title": "Google Cloud Run",
- "urls": [
- "/${VERSION}/deploy-app-gcr.html"
- ]
- },
- {
- "title": "Netlify",
- "urls": [
- "/${VERSION}/deploy-app-netlify.html"
- ]
- },
- {
- "title": "Vercel",
- "urls": [
- "/${VERSION}/deploy-app-vercel.html"
- ]
- },
- {
- "title": "Serverless Function Best Practices",
- "urls": [
- "/${VERSION}/serverless-function-best-practices.html"
- ]
- }
- ]
- },
- {
- "title": "Glossary",
- "urls": [
- "/${VERSION}/architecture/glossary.html"
- ]
- },
- {
- "title": "FAQs",
- "items": [
- {
- "title": "CockroachDB FAQs",
- "urls": [
- "/${VERSION}/frequently-asked-questions.html"
- ]
- },
- {
- "title": "SQL FAQs",
- "urls": [
- "/${VERSION}/sql-faqs.html"
- ]
- },
- {
- "title": "Operational FAQs",
- "urls": [
- "/${VERSION}/operational-faqs.html"
- ]
- },
- {
- "title": "Availability FAQs",
- "urls": [
- "/${VERSION}/multi-active-availability.html"
- ]
- },
- {
- "title": "Licensing FAQs",
- "urls": [
- "/${VERSION}/licensing-faqs.html"
- ]
- },
- {
- "title": "Enterprise Features",
- "urls": [
- "/${VERSION}/enterprise-licensing.html"
- ]
- },
- {
- "title": "CockroachDB in Comparison",
- "urls": [
- "/${VERSION}/cockroachdb-in-comparison.html"
- ]
- }
- ]
- }
- ]
-}
diff --git a/src/current/_includes/v22.2/sidebar-data/manage.json b/src/current/_includes/v22.2/sidebar-data/manage.json
deleted file mode 100644
index ad5bf3cd5c8..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/manage.json
+++ /dev/null
@@ -1,706 +0,0 @@
-{
- "title": "Manage",
- "is_top_level": true,
- "items": [
- {
- "title": "Manage CockroachDB Cloud Clusters",
- "items": [
- {
- "title": "Manage a CockroachDB Basic Cluster",
- "urls": [
- "/cockroachcloud/basic-cluster-management.html"
- ]
- },
- {
- "title": "Manage a CockroachDB Basic Cluster",
- "urls": [
- "/cockroachcloud/basic-cluster-management.html"
- ]
- },
- {
- "title": "Manage Billing",
- "urls": [
- "/cockroachcloud/billing-management.html"
- ]
- },
- {
- "title": "Use the Cloud API",
- "urls": [
- "/cockroachcloud/cloud-api.html"
- ]
- },
- {
- "title": "Use the ccloud command",
- "urls": [
- "/cockroachcloud/ccloud-get-started.html"
- ]
- },
- {
- "title": "Provision a Basic cluster using Terraform",
- "urls": [
- "/cockroachcloud/provision-a-cluster-with-terraform.html?filters=basic"
- ]
- }
- ]
- },
- {
- "title": "Operate CockroachDB on Kubernetes",
- "items": [
- {
- "title": "Pod Scheduling",
- "urls": [
- "/${VERSION}/schedule-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Resource Management",
- "urls": [
- "/${VERSION}/configure-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Certificate Management",
- "urls": [
- "/${VERSION}/secure-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Cluster Scaling",
- "urls": [
- "/${VERSION}/scale-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Cluster Monitoring",
- "urls": [
- "/${VERSION}/monitor-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Cluster Upgrades",
- "urls": [
- "/${VERSION}/upgrade-cockroachdb-kubernetes.html"
- ]
- },
- {
- "title": "Optimizing Performance",
- "urls": [
- "/${VERSION}/kubernetes-performance.html"
- ]
- }
- ]
- },
- {
- "title": "Backups and Restores",
- "items": [
- {
- "title": "Backup and Restore Overview",
- "urls": [
- "/${VERSION}/backup-and-restore-overview.html"
- ]
- },
- {
- "title": "Backup Architecture",
- "urls": [
- "/${VERSION}/backup-architecture.html"
- ]
- },
- {
- "title": "Managed-Service Backups",
- "urls": [
- "/cockroachcloud/managed-backups.html"
- ]
- },
- {
- "title": "Customer-Owned Backups",
- "items": [
- {
- "title": "Take and Restore Customer-Owned Backups on CockroachDB Cloud",
- "urls": [
- "/cockroachcloud/take-and-restore-self-managed-backups.html"
- ]
- },
- {
- "title": "Full and Incremental Backups",
- "urls": [
- "/${VERSION}/take-full-and-incremental-backups.html"
- ]
- },
- {
- "title": "Backups with Revision History and Point-in-time Restore",
- "urls": [
- "/${VERSION}/take-backups-with-revision-history-and-restore-from-a-point-in-time.html"
- ]
- },
- {
- "title": "Encrypted Backup and Restore",
- "urls": [
- "/${VERSION}/take-and-restore-encrypted-backups.html"
- ]
- },
- {
- "title": "Locality-aware Backup and Restore",
- "urls": [
- "/${VERSION}/take-and-restore-locality-aware-backups.html"
- ]
- },
- {
- "title": "Scheduled Backups",
- "urls": [
- "/${VERSION}/manage-a-backup-schedule.html"
- ]
- },
- {
- "title": "Backup Validation",
- "urls": [
- "/${VERSION}/backup-validation.html"
- ]
- },
- {
- "title": "Backup and Restore Monitoring",
- "urls": [
- "/${VERSION}/backup-and-restore-monitoring.html"
- ]
- }
- ]
- },
- {
- "title": "Restoring Backups Across Versions",
- "urls": [
- "/${VERSION}/restoring-backups-across-versions.html"
- ]
- }
- ]
- },
- {
- "title": "File Storage",
- "items": [
- {
- "title": "Cloud Storage",
- "items": [
- {
- "title": "Use Cloud Storage",
- "urls": [
- "/${VERSION}/use-cloud-storage.html"
- ]
- },
- {
- "title": "Cloud Storage Authentication",
- "urls": [
- "/${VERSION}/cloud-storage-authentication.html"
- ]
- }
- ]
- },
- {
- "title": "Userfile Storage",
- "urls": [
- "/${VERSION}/use-userfile-storage.html"
- ]
- },
- {
- "title": "Local File Server",
- "urls": [
- "/${VERSION}/use-a-local-file-server.html"
- ]
- }
- ]
- },
- {
- "title": "Security",
- "items": [
- {
- "title": "Secure CockroachDB Cloud Clusters",
- "urls": ["/cockroachcloud/security-overview.html"],
- "items": [
- {
- "title": "Create Private Clusters",
- "urls": [
- "/cockroachcloud/private-clusters.html"
- ]
- },
- {
- "title": "Managing AWS PrivateLink for an Advanced Cluster",
- "urls": [
- "/cockroachcloud/aws-privatelink.html"
- ]
- },
- {
- "title": "Customer-Managed Encryption Keys (CMEK) for CockroachDB Advanced",
- "urls": [],
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/cockroachcloud/cmek.html"
- ]
- },
- {
- "title": "Manage CMEK",
- "urls": [
- "/cockroachcloud/managing-cmek.html"
- ]
- }
- ]
- },
- {
- "title": "Authentication",
- "items": [
- {
- "title": "Authentication Overview",
- "urls": [
- "/cockroachcloud/authentication.html"
- ]
- },
- {
- "title": "Single Sign-On (SSO) for CockroachDB Cloud Organizations",
- "urls": [
- "/cockroachcloud/cloud-org-sso.html"
- ]
- },
- {
- "title": "Configure Cloud Organization SSO",
- "urls": [
- "/cockroachcloud/configure-cloud-org-sso.html"
- ]
- },
- {
- "title": "Configure SCIM provisioning",
- "urls": [
- "/cockroachcloud/configure-scim-provisioning.html"
- ]
- },
- {
- "title": "Cluster Single Sign-On (SSO) using CockroachDB Cloud Console",
- "urls": [
- "/cockroachcloud/cloud-sso-sql.html"
- ]
- },
- {
- "title": "Certificate Authentication for SQL Clients in CockroachDB Advanced Clusters",
- "urls": [
- "/cockroachcloud/client-certs-advanced.html"
- ]
- }
- ]
- },
- {
- "title": "Network Authorization",
- "urls": [
- "/cockroachcloud/network-authorization.html"
- ]
- },
- {
- "title": "SQL Audit Logging",
- "urls": [
- "/cockroachcloud/sql-audit-logging.html"
- ]
- },
- {
- "title": "Export Cloud Organization Audit Logs",
- "urls": [
- "/cockroachcloud/cloud-org-audit-logs.html"
- ]
- },
- {
- "title": "CockroachDB Cloud Access Management Overview and FAQ",
- "urls": [
- "/cockroachcloud/authorization.html"
- ]
- },
- {
- "title": "Managing Access in CockroachDB Cloud",
- "urls": [
- "/cockroachcloud/managing-access.html"
- ]
- }
- ]
- },
- {
- "title": "Secure CockroachDB Self-Hosted Clusters",
- "items": [
- {
- "title": "Managing Security Certificates",
- "items": [
- {
- "title": "Use the CockroachDB CLI to provision a development cluster",
- "urls": [
- "/${VERSION}/manage-certs-cli.html"
- ]
- },
- {
- "title": "Manage PKI certificates for a CockroachDB deployment with HashiCorp Vault",
- "urls": [
- "/${VERSION}/manage-certs-vault.html"
- ]
- },
- {
- "title": "Create Security Certificates using OpenSSL",
- "urls": [
- "/${VERSION}/create-security-certificates-openssl.html"
- ]
- },
- {
- "title": "Using Online Certificate Status Protocol (OCSP) with CockroachDB",
- "urls": [
- "/${VERSION}/manage-certs-revoke-ocsp.html"
- ]
- }
- ]
- },
- {
- "title": "Authentication",
- "urls": [
- "/${VERSION}/authentication.html"
- ]
- },
- {
- "title": "Encryption",
- "urls": [
- "/${VERSION}/encryption.html"
- ]
- },
- {
- "title": "Authorization",
- "urls": [
- "/${VERSION}/authorization.html"
- ]
- },
- {
- "title": "SQL Audit Logging",
- "urls": [
- "/${VERSION}/sql-audit-logging.html"
- ]
- },
- {
- "title": "GSSAPI Authentication",
- "urls": [
- "/${VERSION}/gssapi_authentication.html"
- ]
- },
- {
- "title": "Cluster Single Sign-on (SSO) using JSON web tokens (JWT)",
- "urls": [
- "/${VERSION}/sso-sql.html"
- ]
- },
- {
- "title": "Single Sign-on (SSO) for DB Console",
- "urls": [
- "/${VERSION}/sso-db-console.html"
- ]
- },
- {
- "title": "Rotate Security Certificates",
- "urls": [
- "/${VERSION}/rotate-certificates.html"
- ]
- }
- ]
- },
- {
- "title": "CockroachDB General Security Tutorials",
- "items": [
- {
- "title": "Configure SQL Authentication for Hardened Serverless Cluster Security",
- "urls": [
- "/${VERSION}/security-reference/config-secure-hba.html"
- ]
- },
- {
- "title": "Using Hashicorp Vault's Dynamic Secrets for Enhanced Database Credential Security",
- "urls": [
- "/${VERSION}/vault-db-secrets-tutorial.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Monitoring and Alerting",
- "items": [
- {
- "title": "Monitor a CockroachDB Cloud Cluster",
- "items": [
- {
- "title": "Cluster Overview Page",
- "urls": [
- "/cockroachcloud/cluster-overview-page.html"
- ]
- },
- {
- "title": "Alerts Page",
- "urls": [
- "/cockroachcloud/alerts-page.html"
- ]
- },
- {
- "title": "Tools Page",
- "urls": [
- "/cockroachcloud/tools-page.html"
- ]
- },
- {
- "title": "Metrics Page",
- "urls": [
- "/cockroachcloud/metrics.html"
- ]
- },
- {
- "title": "Statements Page",
- "urls": [
- "/cockroachcloud/statements-page.html"
- ]
- },
- {
- "title": "Sessions Page",
- "urls": [
- "/cockroachcloud/sessions-page.html"
- ]
- },
- {
- "title": "Transactions Page",
- "urls": [
- "/cockroachcloud/transactions-page.html"
- ]
- },
- {
- "title": "Insights Page",
- "urls": [
- "/cockroachcloud/insights-page.html"
- ]
- },
- {
- "title": "Databases Page",
- "urls": [
- "/cockroachcloud/databases-page.html"
- ]
- },
- {
- "title": "Jobs Page",
- "urls": [
- "/cockroachcloud/jobs-page.html"
- ]
- }
- ]
- },
- {
- "title": "Monitor a CockroachDB Self-Hosted Cluster",
- "items": [
- {
- "title": "Monitoring Clusters Overview",
- "urls": [
- "/${VERSION}/monitoring-and-alerting.html"
- ]
- },
- {
- "title": "Common Issues to Monitor",
- "urls": [
- "/${VERSION}/common-issues-to-monitor.html"
- ]
- },
- {
- "title": "Enable the Node Map",
- "urls": [
- "/${VERSION}/enable-node-map.html"
- ]
- },
- {
- "title": "Use Prometheus and Alertmanager",
- "urls": [
- "/${VERSION}/monitor-cockroachdb-with-prometheus.html"
- ]
- },
- {
- "title": "Cluster API",
- "urls": [
- "/${VERSION}/cluster-api.html"
- ]
- }
- ]
- },
- {
- "title": "Third-Party Monitoring Integrations",
- "items": [
- {
- "title": "Third-Party Monitoring Integration Overview",
- "urls": [
- "/${VERSION}/third-party-monitoring-tools.html"
- ]
- },
- {
- "title": "Export Metrics From a CockroachDB Advanced Cluster",
- "urls": [
- "/cockroachcloud/export-metrics.html"
- ]
- },
- {
- "title": "Monitor CockroachDB {{ site.data.products.core }} with Datadog",
- "urls": [
- "/${VERSION}/datadog.html"
- ]
- },
- {
- "title": "Monitor CockroachDB {{ site.data.products.core }} with DBmarlin",
- "urls": [
- "/${VERSION}/dbmarlin.html"
- ]
- },
- {
- "title": "Monitor CockroachDB {{ site.data.products.core }} with Kibana",
- "urls": [
- "/${VERSION}/kibana.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Logging",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/logging-overview.html"
- ]
- },
- {
- "title": "Configure Logs",
- "urls": [
- "/${VERSION}/configure-logs.html"
- ]
- },
- {
- "title": "Logging Use Cases",
- "urls": [
- "/${VERSION}/logging-use-cases.html"
- ]
- },
-
- {
- "title": "Export Logs From CockroachDB Advanced",
- "urls": [
- "/cockroachcloud/export-logs.html"
- ]
- }
- ]
- },
- {
- "title": "Cluster Maintenance",
- "items": [
- {
- "title": "Upgrade a Cluster",
- "items": [
- {
- "title": "Uprade a CockroachDB Cloud Cluster",
- "items": [
- {
- "title": "Upgrade Policy",
- "urls": [
- "/cockroachcloud/upgrade-policy.html"
- ]
- },
- {
- "title": "Upgrade a cluster",
- "urls": [
- "/cockroachcloud/upgrade-cockroach-version.html"
- ]
- }
- ]
- },
- {
- "title": "Upgrade a CockroachDB Self-Hosted Cluster",
- "items": [
- {
- "title": "Upgrade to CockroachDB {{ page.version.version }}",
- "urls": [
- "/${VERSION}/upgrade-cockroach-version.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Manage Long-Running Queries",
- "urls": [
- "/${VERSION}/manage-long-running-queries.html"
- ]
- },
- {
- "title": "Node Shutdown",
- "urls": [
- "/${VERSION}/node-shutdown.html"
- ]
- },
- {
- "title": "Disaster Recovery",
- "urls": [
- "/${VERSION}/disaster-recovery.html"
- ]
- }
- ]
- },
- {
- "title": "Replication Controls",
- "urls": [
- "/${VERSION}/configure-replication-zones.html"
- ]
- },
- {
- "title": "Troubleshooting",
- "items": [
- {
- "title": "Troubleshooting Overview",
- "urls": [
- "/${VERSION}/troubleshooting-overview.html"
- ]
- },
- {
- "title": "Common Errors and Solutions",
- "urls": [
- "/${VERSION}/common-errors.html"
- ]
- },
- {
- "title": "Troubleshoot Cluster Setup",
- "urls": [
- "/${VERSION}/cluster-setup-troubleshooting.html"
- ]
- },
- {
- "title": "Troubleshoot Statement Behavior",
- "urls": [
- "/${VERSION}/query-behavior-troubleshooting.html"
- ]
- },
- {
- "title": "Troubleshoot CockroachDB Cloud",
- "urls": [
- "/cockroachcloud/troubleshooting-page.html"
- ]
- },
- {
- "title": "Replication Reports",
- "urls": [
- "/${VERSION}/query-replication-reports.html"
- ]
- },
- {
- "title": "Support Resources",
- "urls": [
- "/${VERSION}/support-resources.html"
- ]
- },
- {
- "title": "File an Issue",
- "urls": [
- "/${VERSION}/file-an-issue.html"
- ]
- }
- ]
- }
- ]
-}
diff --git a/src/current/_includes/v22.2/sidebar-data/migrate.json b/src/current/_includes/v22.2/sidebar-data/migrate.json
deleted file mode 100644
index 754807bd3cf..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/migrate.json
+++ /dev/null
@@ -1,94 +0,0 @@
-{
- "title": "Migrate",
- "is_top_level": true,
- "items": [
- {
- "title": "Migration Overview",
- "urls": [
- "/${VERSION}/migration-overview.html"
- ]
- },
- {
- "title": "Use the Schema Conversion Tool",
- "urls": [
- "/cockroachcloud/migrations-page.html"
- ]
- },
- {
- "title": "Migrate Data to CockroachDB",
- "items": [
- {
- "title": "Migrate from CSV",
- "urls": [
- "/${VERSION}/migrate-from-csv.html"
- ]
- },
- {
- "title": "Migrate from Avro",
- "urls": [
- "/${VERSION}/migrate-from-avro.html"
- ]
- },
- {
- "title": "Migrate from Shapefiles",
- "urls": [
- "/${VERSION}/migrate-from-shapefiles.html"
- ]
- },
- {
- "title": "Migrate from OpenStreetMap",
- "urls": [
- "/${VERSION}/migrate-from-openstreetmap.html"
- ]
- },
- {
- "title": "Migrate from GeoJSON",
- "urls": [
- "/${VERSION}/migrate-from-geojson.html"
- ]
- },
- {
- "title": "Migrate from GeoPackage",
- "urls": [
- "/${VERSION}/migrate-from-geopackage.html"
- ]
- },
- {
- "title": "Import Performance Best Practices",
- "urls": [
- "/${VERSION}/import-performance-best-practices.html"
- ]
- }
- ]
- },
- {
- "title": "Migrate with Third-Party Tooling",
- "items": [
- {
- "title": "AWS DMS",
- "urls": [
- "/${VERSION}/aws-dms.html"
- ]
- },
- {
- "title": "Qlik Replicate",
- "urls": [
- "/${VERSION}/qlik.html"
- ]
- },
- {
- "title": "Striim",
- "urls": [
- "/${VERSION}/striim.html"
- ]
- }
- ]
- },
- {
- "title": "Export Spatial Data",
- "urls": [
- "/${VERSION}/export-spatial-data.html"
- ]
- }
- ]
-}
diff --git a/src/current/_includes/v22.2/sidebar-data/reference.json b/src/current/_includes/v22.2/sidebar-data/reference.json
deleted file mode 100644
index 49952f96087..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/reference.json
+++ /dev/null
@@ -1,1770 +0,0 @@
-{
- "title": "Reference",
- "is_top_level": true,
- "items": [
- {
- "title": "Architecture",
- "items": [
- {
- "title": "Architecture Overview",
- "urls": [
- "/${VERSION}/architecture/overview.html"
- ]
- },
- {
- "title": "SQL Layer",
- "urls": [
- "/${VERSION}/architecture/sql-layer.html"
- ]
- },
- {
- "title": "Transaction Layer",
- "urls": [
- "/${VERSION}/architecture/transaction-layer.html"
- ]
- },
- {
- "title": "Distribution Layer",
- "urls": [
- "/${VERSION}/architecture/distribution-layer.html"
- ]
- },
- {
- "title": "Replication Layer",
- "urls": [
- "/${VERSION}/architecture/replication-layer.html"
- ]
- },
- {
- "title": "Storage Layer",
- "urls": [
- "/${VERSION}/architecture/storage-layer.html"
- ]
- },
- {
- "title": "Life of a Distributed Transaction",
- "urls": [
- "/${VERSION}/architecture/life-of-a-distributed-transaction.html"
- ]
- },
- {
- "title": "Reads and Writes Overview",
- "urls": [
- "/${VERSION}/architecture/reads-and-writes-overview.html"
- ]
- }
- ]
- },
- {
- "title": "SQL",
- "items": [
- {
- "title": "SQL Overview",
- "urls": [
- "/${VERSION}/sql-feature-support.html"
- ]
- },
- {
- "title": "PostgreSQL Compatibility",
- "urls": [
- "/${VERSION}/postgresql-compatibility.html"
- ]
- },
- {
- "title": "SQL Syntax",
- "items": [
- {
- "title": "Full SQL Grammar",
- "urls": [
- "/${VERSION}/sql-grammar.html"
- ]
- },
- {
- "title": "Keywords & Identifiers",
- "urls": [
- "/${VERSION}/keywords-and-identifiers.html"
- ]
- },
- {
- "title": "Constants",
- "urls": [
- "/${VERSION}/sql-constants.html"
- ]
- },
- {
- "title": "Selection Queries",
- "urls": [
- "/${VERSION}/selection-queries.html"
- ]
- },
- {
- "title": "Cursors",
- "urls": [
- "/${VERSION}/cursors.html"
- ]
- },
- {
- "title": "Table Expressions",
- "urls": [
- "/${VERSION}/table-expressions.html"
- ]
- },
- {
- "title": "Common Table Expressions",
- "urls": [
- "/${VERSION}/common-table-expressions.html"
- ]
- },
- {
- "title": "Scalar Expressions",
- "urls": [
- "/${VERSION}/scalar-expressions.html"
- ]
- },
- {
- "title": "User-Defined Functions",
- "urls": [
- "/${VERSION}/user-defined-functions.html"
- ]
- },
- {
- "title": "NULL Handling",
- "urls": [
- "/${VERSION}/null-handling.html"
- ]
- }
- ]
- },
- {
- "title": "SQL Statements",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/sql-statements.html"
- ]
- },
- {
- "title": "ALTER BACKUP (Enterprise)",
- "urls": [
- "/${VERSION}/alter-backup.html"
- ]
- },
- {
- "title": "ALTER BACKUP SCHEDULE",
- "urls": [
- "/${VERSION}/alter-backup-schedule.html"
- ]
- },
- {
- "title": "ALTER CHANGEFEED (Enterprise)",
- "urls": [
- "/${VERSION}/alter-changefeed.html"
- ]
- },
- {
- "title": "ALTER DATABASE",
- "urls": [
- "/${VERSION}/alter-database.html"
- ]
- },
- {
- "title": "ALTER DEFAULT PRIVILEGES",
- "urls": [
- "/${VERSION}/alter-default-privileges.html"
- ]
- },
- {
- "title": "ALTER FUNCTION",
- "urls": [
- "/${VERSION}/alter-function.html"
- ]
- },
- {
- "title": "ALTER INDEX",
- "urls": [
- "/${VERSION}/alter-index.html"
- ]
- },
- {
- "title": "ALTER PARTITION (Enterprise)",
- "urls": [
- "/${VERSION}/alter-partition.html"
- ]
- },
- {
- "title": "ALTER RANGE",
- "urls": [
- "/${VERSION}/alter-range.html"
- ]
- },
- {
- "title": "ALTER ROLE",
- "urls": [
- "/${VERSION}/alter-role.html"
- ]
- },
- {
- "title": "ALTER SCHEMA",
- "urls": [
- "/${VERSION}/alter-schema.html"
- ]
- },
- {
- "title": "ALTER SEQUENCE",
- "urls": [
- "/${VERSION}/alter-sequence.html"
- ]
- },
- {
- "title": "ALTER TABLE",
- "urls": [
- "/${VERSION}/alter-table.html"
- ]
- },
- {
- "title": "ALTER TYPE",
- "urls": [
- "/${VERSION}/alter-type.html"
- ]
- },
- {
- "title": "ALTER USER",
- "urls": [
- "/${VERSION}/alter-user.html"
- ]
- },
- {
- "title": "ALTER VIEW",
- "urls": [
- "/${VERSION}/alter-view.html"
- ]
- },
- {
- "title": "BACKUP",
- "urls": [
- "/${VERSION}/backup.html"
- ]
- },
- {
- "title": "BEGIN",
- "urls": [
- "/${VERSION}/begin-transaction.html"
- ]
- },
- {
- "title": "CANCEL JOB",
- "urls": [
- "/${VERSION}/cancel-job.html"
- ]
- },
- {
- "title": "CANCEL QUERY",
- "urls": [
- "/${VERSION}/cancel-query.html"
- ]
- },
- {
- "title": "CANCEL SESSION",
- "urls": [
- "/${VERSION}/cancel-session.html"
- ]
- },
- {
- "title": "COMMENT ON",
- "urls": [
- "/${VERSION}/comment-on.html"
- ]
- },
- {
- "title": "COMMIT",
- "urls": [
- "/${VERSION}/commit-transaction.html"
- ]
- },
- {
- "title": "COPY FROM",
- "urls": [
- "/${VERSION}/copy-from.html"
- ]
- },
- {
- "title": "CREATE CHANGEFEED (Enterprise)",
- "urls": [
- "/${VERSION}/create-changefeed.html"
- ]
- },
- {
- "title": "CREATE DATABASE",
- "urls": [
- "/${VERSION}/create-database.html"
- ]
- },
- {
- "title": "CREATE EXTERNAL CONNECTION",
- "urls": [
- "/${VERSION}/create-external-connection.html"
- ]
- },
- {
- "title": "CREATE FUNCTION",
- "urls": [
- "/${VERSION}/create-function.html"
- ]
- },
- {
- "title": "CREATE INDEX",
- "urls": [
- "/${VERSION}/create-index.html"
- ]
- },
- {
- "title": "CREATE ROLE",
- "urls": [
- "/${VERSION}/create-role.html"
- ]
- },
- {
- "title": "CREATE SCHEDULE FOR BACKUP",
- "urls": [
- "/${VERSION}/create-schedule-for-backup.html"
- ]
- },
- {
- "title": "CREATE SCHEMA",
- "urls": [
- "/${VERSION}/create-schema.html"
- ]
- },
- {
- "title": "CREATE SEQUENCE",
- "urls": [
- "/${VERSION}/create-sequence.html"
- ]
- },
- {
- "title": "CREATE STATISTICS",
- "urls": [
- "/${VERSION}/create-statistics.html"
- ]
- },
- {
- "title": "CREATE TABLE",
- "urls": [
- "/${VERSION}/create-table.html"
- ]
- },
- {
- "title": "CREATE TABLE AS",
- "urls": [
- "/${VERSION}/create-table-as.html"
- ]
- },
- {
- "title": "CREATE TYPE",
- "urls": [
- "/${VERSION}/create-type.html"
- ]
- },
- {
- "title": "CREATE USER",
- "urls": [
- "/${VERSION}/create-user.html"
- ]
- },
- {
- "title": "CREATE VIEW",
- "urls": [
- "/${VERSION}/create-view.html"
- ]
- },
- {
- "title": "DELETE",
- "urls": [
- "/${VERSION}/delete.html"
- ]
- },
- {
- "title": "DROP DATABASE",
- "urls": [
- "/${VERSION}/drop-database.html"
- ]
- },
- {
- "title": "DROP EXTERNAL CONNECTION",
- "urls": [
- "/${VERSION}/drop-external-connection.html"
- ]
- },
- {
- "title": "DROP FUNCTION",
- "urls": [
- "/${VERSION}/drop-function.html"
- ]
- },
- {
- "title": "DROP OWNED BY",
- "urls": [
- "/${VERSION}/drop-owned-by.html"
- ]
- },
- {
- "title": "DROP TYPE",
- "urls": [
- "/${VERSION}/drop-type.html"
- ]
- },
- {
- "title": "DROP INDEX",
- "urls": [
- "/${VERSION}/drop-index.html"
- ]
- },
- {
- "title": "DROP ROLE",
- "urls": [
- "/${VERSION}/drop-role.html"
- ]
- },
- {
- "title": "DROP SCHEDULES",
- "urls": [
- "/${VERSION}/drop-schedules.html"
- ]
- },
- {
- "title": "DROP SCHEMA",
- "urls": [
- "/${VERSION}/drop-schema.html"
- ]
- },
- {
- "title": "DROP SEQUENCE",
- "urls": [
- "/${VERSION}/drop-sequence.html"
- ]
- },
- {
- "title": "DROP TABLE",
- "urls": [
- "/${VERSION}/drop-table.html"
- ]
- },
- {
- "title": "DROP USER",
- "urls": [
- "/${VERSION}/drop-user.html"
- ]
- },
- {
- "title": "DROP VIEW",
- "urls": [
- "/${VERSION}/drop-view.html"
- ]
- },
- {
- "title": "EXPERIMENTAL CHANGEFEED FOR",
- "urls": [
- "/${VERSION}/changefeed-for.html"
- ]
- },
- {
- "title": "EXPLAIN",
- "urls": [
- "/${VERSION}/explain.html"
- ]
- },
- {
- "title": "EXPLAIN ANALYZE",
- "urls": [
- "/${VERSION}/explain-analyze.html"
- ]
- },
- {
- "title": "EXPORT",
- "urls": [
- "/${VERSION}/export.html"
- ]
- },
- {
- "title": "GRANT",
- "urls": [
- "/${VERSION}/grant.html"
- ]
- },
- {
- "title": "IMPORT",
- "urls": [
- "/${VERSION}/import.html"
- ]
- },
- {
- "title": "IMPORT INTO",
- "urls": [
- "/${VERSION}/import-into.html"
- ]
- },
- {
- "title": "INSERT",
- "urls": [
- "/${VERSION}/insert.html"
- ]
- },
- {
- "title": "JOIN",
- "urls": [
- "/${VERSION}/joins.html"
- ]
- },
- {
- "title": "LIMIT/OFFSET",
- "urls": [
- "/${VERSION}/limit-offset.html"
- ]
- },
- {
- "title": "ORDER BY",
- "urls": [
- "/${VERSION}/order-by.html"
- ]
- },
- {
- "title": "PAUSE JOB",
- "urls": [
- "/${VERSION}/pause-job.html"
- ]
- },
- {
- "title": "PAUSE SCHEDULES",
- "urls": [
- "/${VERSION}/pause-schedules.html"
- ]
- },
- {
- "title": "REASSIGN OWNED",
- "urls": [
- "/${VERSION}/reassign-owned.html"
- ]
- },
- {
- "title": "REFRESH",
- "urls": [
- "/${VERSION}/refresh.html"
- ]
- },
- {
- "title": "RELEASE SAVEPOINT",
- "urls": [
- "/${VERSION}/release-savepoint.html"
- ]
- },
- {
- "title": "RESET CLUSTER SETTING",
- "urls": [
- "/${VERSION}/reset-cluster-setting.html"
- ]
- },
- {
- "title": "RESET {session variable}",
- "urls": [
- "/${VERSION}/reset-vars.html"
- ]
- },
- {
- "title": "RESTORE",
- "urls": [
- "/${VERSION}/restore.html"
- ]
- },
- {
- "title": "RESUME JOB",
- "urls": [
- "/${VERSION}/resume-job.html"
- ]
- },
- {
- "title": "RESUME SCHEDULES",
- "urls": [
- "/${VERSION}/resume-schedules.html"
- ]
- },
- {
- "title": "REVOKE",
- "urls": [
- "/${VERSION}/revoke.html"
- ]
- },
- {
- "title": "ROLLBACK",
- "urls": [
- "/${VERSION}/rollback-transaction.html"
- ]
- },
- {
- "title": "SAVEPOINT",
- "urls": [
- "/${VERSION}/savepoint.html"
- ]
- },
- {
- "title": "SELECT",
- "urls": [
- "/${VERSION}/select-clause.html"
- ]
- },
- {
- "title": "SELECT FOR UPDATE",
- "urls": [
- "/${VERSION}/select-for-update.html"
- ]
- },
- {
- "title": "SET CLUSTER SETTING",
- "urls": [
- "/${VERSION}/set-cluster-setting.html"
- ]
- },
- {
- "title": "SET {session variable}",
- "urls": [
- "/${VERSION}/set-vars.html"
- ]
- },
- {
- "title": "SET TRANSACTION",
- "urls": [
- "/${VERSION}/set-transaction.html"
- ]
- },
- {
- "title": "SHOW BACKUP",
- "urls": [
- "/${VERSION}/show-backup.html"
- ]
- },
- {
- "title": "SHOW CLUSTER SETTING",
- "urls": [
- "/${VERSION}/show-cluster-setting.html"
- ]
- },
- {
- "title": "SHOW COLUMNS",
- "urls": [
- "/${VERSION}/show-columns.html"
- ]
- },
- {
- "title": "SHOW CONSTRAINTS",
- "urls": [
- "/${VERSION}/show-constraints.html"
- ]
- },
- {
- "title": "SHOW CREATE",
- "urls": [
- "/${VERSION}/show-create.html"
- ]
- },
- {
- "title": "SHOW CREATE EXTERNAL CONNECTION",
- "urls": [
- "/${VERSION}/show-create-external-connection.html"
- ]
- },
- {
- "title": "SHOW CREATE SCHEDULE",
- "urls": [
- "/${VERSION}/show-create-schedule.html"
- ]
- },
- {
- "title": "SHOW DATABASES",
- "urls": [
- "/${VERSION}/show-databases.html"
- ]
- },
- {
- "title": "SHOW DEFAULT PRIVILEGES",
- "urls": [
- "/${VERSION}/show-default-privileges.html"
- ]
- },
- {
- "title": "SHOW ENUMS",
- "urls": [
- "/${VERSION}/show-enums.html"
- ]
- },
- {
- "title": "SHOW FULL TABLE SCANS",
- "urls": [
- "/${VERSION}/show-full-table-scans.html"
- ]
- },
- {
- "title": "SHOW GRANTS",
- "urls": [
- "/${VERSION}/show-grants.html"
- ]
- },
- {
- "title": "SHOW INDEX",
- "urls": [
- "/${VERSION}/show-index.html"
- ]
- },
- {
- "title": "SHOW JOBS",
- "urls": [
- "/${VERSION}/show-jobs.html"
- ]
- },
- {
- "title": "SHOW LOCALITY",
- "urls": [
- "/${VERSION}/show-locality.html"
- ]
- },
- {
- "title": "SHOW PARTITIONS (Enterprise)",
- "urls": [
- "/${VERSION}/show-partitions.html"
- ]
- },
- {
- "title": "SHOW RANGES",
- "urls": [
- "/${VERSION}/show-ranges.html"
- ]
- },
- {
- "title": "SHOW RANGE FOR ROW",
- "urls": [
- "/${VERSION}/show-range-for-row.html"
- ]
- },
- {
- "title": "SHOW REGIONS",
- "urls": [
- "/${VERSION}/show-regions.html"
- ]
- },
- {
- "title": "SHOW {session variable}",
- "urls": [
- "/${VERSION}/show-vars.html"
- ]
- },
- {
- "title": "SHOW SUPER REGIONS",
- "urls": [
- "/${VERSION}/show-super-regions.html"
- ]
- },
- {
- "title": "SHOW SYSTEM GRANTS",
- "urls": [
- "/${VERSION}/show-system-grants.html"
- ]
- },
- {
- "title": "SHOW ROLES",
- "urls": [
- "/${VERSION}/show-roles.html"
- ]
- },
- {
- "title": "SHOW SCHEDULES",
- "urls": [
- "/${VERSION}/show-schedules.html"
- ]
- },
- {
- "title": "SHOW SCHEMAS",
- "urls": [
- "/${VERSION}/show-schemas.html"
- ]
- },
- {
- "title": "SHOW SEQUENCES",
- "urls": [
- "/${VERSION}/show-sequences.html"
- ]
- },
- {
- "title": "SHOW SESSIONS",
- "urls": [
- "/${VERSION}/show-sessions.html"
- ]
- },
- {
- "title": "SHOW STATEMENTS",
- "urls": [
- "/${VERSION}/show-statements.html"
- ]
- },
- {
- "title": "SHOW STATISTICS",
- "urls": [
- "/${VERSION}/show-statistics.html"
- ]
- },
- {
- "title": "SHOW SAVEPOINT STATUS",
- "urls": [
- "/${VERSION}/show-savepoint-status.html"
- ]
- },
- {
- "title": "SHOW TABLES",
- "urls": [
- "/${VERSION}/show-tables.html"
- ]
- },
- {
- "title": "SHOW TRACE FOR SESSION",
- "urls": [
- "/${VERSION}/show-trace.html"
- ]
- },
- {
- "title": "SHOW TRANSACTIONS",
- "urls": [
- "/${VERSION}/show-transactions.html"
- ]
- },
- {
- "title": "SHOW TYPES",
- "urls": [
- "/${VERSION}/show-types.html"
- ]
- },
- {
- "title": "SHOW USERS",
- "urls": [
- "/${VERSION}/show-users.html"
- ]
- },
- {
- "title": "SHOW ZONE CONFIGURATIONS",
- "urls": [
- "/${VERSION}/show-zone-configurations.html"
- ]
- },
- {
- "title": "TRUNCATE",
- "urls": [
- "/${VERSION}/truncate.html"
- ]
- },
- {
- "title": "UPDATE",
- "urls": [
- "/${VERSION}/update.html"
- ]
- },
- {
- "title": "UPSERT",
- "urls": [
- "/${VERSION}/upsert.html"
- ]
- },
- {
- "title": "WITH {storage parameter}",
- "urls": [
- "/${VERSION}/with-storage-parameter.html"
- ]
- }
- ]
- },
- {
- "title": "Data Types",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/data-types.html"
- ]
- },
- {
- "title": "ARRAY",
- "urls": [
- "/${VERSION}/array.html"
- ]
- },
- {
- "title": "BIT",
- "urls": [
- "/${VERSION}/bit.html"
- ]
- },
- {
- "title": "BOOL",
- "urls": [
- "/${VERSION}/bool.html"
- ]
- },
- {
- "title": "BYTES",
- "urls": [
- "/${VERSION}/bytes.html"
- ]
- },
- {
- "title": "COLLATE",
- "urls": [
- "/${VERSION}/collate.html"
- ]
- },
- {
- "title": "DATE",
- "urls": [
- "/${VERSION}/date.html"
- ]
- },
- {
- "title": "DECIMAL",
- "urls": [
- "/${VERSION}/decimal.html"
- ]
- },
- {
- "title": "ENUM",
- "urls": [
- "/${VERSION}/enum.html"
- ]
- },
- {
- "title": "FLOAT",
- "urls": [
- "/${VERSION}/float.html"
- ]
- },
- {
- "title": "INET",
- "urls": [
- "/${VERSION}/inet.html"
- ]
- },
- {
- "title": "INT",
- "urls": [
- "/${VERSION}/int.html"
- ]
- },
- {
- "title": "INTERVAL",
- "urls": [
- "/${VERSION}/interval.html"
- ]
- },
- {
- "title": "JSONB",
- "urls": [
- "/${VERSION}/jsonb.html"
- ]
- },
- {
- "title": "OID",
- "urls": [
- "/${VERSION}/oid.html"
- ]
- },
- {
- "title": "SERIAL",
- "urls": [
- "/${VERSION}/serial.html"
- ]
- },
- {
- "title": "STRING",
- "urls": [
- "/${VERSION}/string.html"
- ]
- },
- {
- "title": "TIME",
- "urls": [
- "/${VERSION}/time.html"
- ]
- },
- {
- "title": "TIMESTAMP",
- "urls": [
- "/${VERSION}/timestamp.html"
- ]
- },
- {
- "title": "UUID",
- "urls": [
- "/${VERSION}/uuid.html"
- ]
- }
- ]
- },
- {
- "title": "Constraints",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/constraints.html"
- ]
- },
- {
- "title": "Check",
- "urls": [
- "/${VERSION}/check.html"
- ]
- },
- {
- "title": "Default Value",
- "urls": [
- "/${VERSION}/default-value.html"
- ]
- },
- {
- "title": "Foreign Key",
- "urls": [
- "/${VERSION}/foreign-key.html"
- ]
- },
- {
- "title": "Not Null",
- "urls": [
- "/${VERSION}/not-null.html"
- ]
- },
- {
- "title": "Primary Key",
- "urls": [
- "/${VERSION}/primary-key.html"
- ]
- },
- {
- "title": "Unique",
- "urls": [
- "/${VERSION}/unique.html"
- ]
- }
- ]
- },
- {
- "title": "Functions and Operators",
- "urls": [
- "/${VERSION}/functions-and-operators.html"
- ]
- },
- {
- "title": "Window Functions",
- "urls": [
- "/${VERSION}/window-functions.html"
- ]
- },
- {
- "title": "Name Resolution",
- "urls": [
- "/${VERSION}/sql-name-resolution.html"
- ]
- },
- {
- "title": "System Catalogs",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/system-catalogs.html"
- ]
- },
- {
- "title": "crdb_internal",
- "urls": [
- "/${VERSION}/crdb-internal.html"
- ]
- },
- {
- "title": "information_schema",
- "urls": [
- "/${VERSION}/information-schema.html"
- ]
- },
- {
- "title": "pg_catalog",
- "urls": [
- "/${VERSION}/pg-catalog.html"
- ]
- },
- {
- "title": "pg_extension",
- "urls": [
- "/${VERSION}/pg-extension.html"
- ]
- }
- ]
- },
- {
- "title": "Spatial Features",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/spatial-features.html"
- ]
- },
- {
- "title": "Work with Spatial Data",
- "urls": [
- "/${VERSION}/spatial-data.html"
- ]
- },
- {
- "title": "Spatial and GIS Glossary",
- "urls": [
- "/${VERSION}/spatial-glossary.html"
- ]
- },
- {
- "title": "POINT",
- "urls": [
- "/${VERSION}/point.html"
- ]
- },
- {
- "title": "LINESTRING",
- "urls": [
- "/${VERSION}/linestring.html"
- ]
- },
- {
- "title": "POLYGON",
- "urls": [
- "/${VERSION}/polygon.html"
- ]
- },
- {
- "title": "MULTIPOINT",
- "urls": [
- "/${VERSION}/multipoint.html"
- ]
- },
- {
- "title": "MULTILINESTRING",
- "urls": [
- "/${VERSION}/multilinestring.html"
- ]
- },
- {
- "title": "MULTIPOLYGON",
- "urls": [
- "/${VERSION}/multipolygon.html"
- ]
- },
- {
- "title": "GEOMETRYCOLLECTION",
- "urls": [
- "/${VERSION}/geometrycollection.html"
- ]
- },
- {
- "title": "Well Known Text (WKT)",
- "urls": [
- "/${VERSION}/well-known-text.html"
- ]
- },
- {
- "title": "Well Known Binary (WKB)",
- "urls": [
- "/${VERSION}/well-known-binary.html"
- ]
- },
- {
- "title": "GeoJSON",
- "urls": [
- "/${VERSION}/geojson.html"
- ]
- },
- {
- "title": "SRID 4326 - longitude and latitude",
- "urls": [
- "/${VERSION}/srid-4326.html"
- ]
- },
- {
- "title": "ST_Contains",
- "urls": [
- "/${VERSION}/st_contains.html"
- ]
- },
- {
- "title": "ST_Within",
- "urls": [
- "/${VERSION}/st_within.html"
- ]
- },
- {
- "title": "ST_Intersects",
- "urls": [
- "/${VERSION}/st_intersects.html"
- ]
- },
- {
- "title": "ST_CoveredBy",
- "urls": [
- "/${VERSION}/st_coveredby.html"
- ]
- },
- {
- "title": "ST_Covers",
- "urls": [
- "/${VERSION}/st_covers.html"
- ]
- },
- {
- "title": "ST_Disjoint",
- "urls": [
- "/${VERSION}/st_disjoint.html"
- ]
- },
- {
- "title": "ST_Equals",
- "urls": [
- "/${VERSION}/st_equals.html"
- ]
- },
- {
- "title": "ST_Overlaps",
- "urls": [
- "/${VERSION}/st_overlaps.html"
- ]
- },
- {
- "title": "ST_Touches",
- "urls": [
- "/${VERSION}/st_touches.html"
- ]
- },
- {
- "title": "ST_ConvexHull",
- "urls": [
- "/${VERSION}/st_convexhull.html"
- ]
- },
- {
- "title": "ST_Union",
- "urls": [
- "/${VERSION}/st_union.html"
- ]
- }
- ]
- }
- ]
- },
- {
- "title": "Cluster Settings",
- "urls": [
- "/${VERSION}/cluster-settings.html"
- ]
- },
- {
- "title": "Security",
- "items": [
- {
- "title": "Security Overview",
- "urls": [
- "/${VERSION}/security-reference/security-overview.html"
- ]
- },
- {
- "title": "Authentication",
- "urls": [
- "/${VERSION}/security-reference/authentication.html"
- ],
- "items": [
- {
- "title": "SASL/SCRAM-SHA-256 Secure Password-based Authentication",
- "urls": [ "/${VERSION}/security-reference/scram-authentication.html" ]
- }
- ]
- },
- {
- "title": "Authorization",
- "urls": [
- "/${VERSION}/security-reference/authorization.html"
- ]
- },
- {
- "title": "Encryption",
- "urls": [
- "/${VERSION}/security-reference/encryption.html"
- ]
- },
- {
- "title": "Public Key Infrastructure (PKI) and Transport Layer Security (TLS)",
- "urls": [
- "/${VERSION}/security-reference/transport-layer-security.html"
- ]
- },
- {
- "title": "Customer-Managed Encryption Keys (CMEK)",
- "urls": [
- "/cockroachcloud/cmek.html"
- ]
- },
- {
- "title": "Payment Card Industry Data Security Standard (PCI DSS)",
- "urls": [
- "/cockroachcloud/pci-dss.html"
- ]
- }
- ]
- },
- {
- "title": "CLI",
- "items": [
- {
- "title": "cockroach Commands Overview",
- "urls": [
- "/${VERSION}/cockroach-commands.html"
- ]
- },
- {
- "title": "Client Connection Parameters",
- "urls": [
- "/${VERSION}/connection-parameters.html"
- ]
- },
- {
- "title": "cockroach Commands",
- "items": [
- {
- "title": "cockroach start",
- "urls": [
- "/${VERSION}/cockroach-start.html"
- ]
- },
- {
- "title": "cockroach init",
- "urls": [
- "/${VERSION}/cockroach-init.html"
- ]
- },
- {
- "title": "cockroach start-single-node",
- "urls": [
- "/${VERSION}/cockroach-start-single-node.html"
- ]
- },
- {
- "title": "cockroach cert",
- "urls": [
- "/${VERSION}/cockroach-cert.html"
- ]
- },
- {
- "title": "cockroach sql",
- "urls": [
- "/${VERSION}/cockroach-sql.html"
- ]
- },
- {
- "title": "cockroach sqlfmt",
- "urls": [
- "/${VERSION}/cockroach-sqlfmt.html"
- ]
- },
- {
- "title": "cockroach node",
- "urls": [
- "/${VERSION}/cockroach-node.html"
- ]
- },
- {
- "title": "cockroach nodelocal upload",
- "urls": [
- "/${VERSION}/cockroach-nodelocal-upload.html"
- ]
- },
- {
- "title": "cockroach auth-session",
- "urls": [
- "/${VERSION}/cockroach-auth-session.html"
- ]
- },
- {
- "title": "cockroach demo",
- "urls": [
- "/${VERSION}/cockroach-demo.html"
- ]
- },
- {
- "title": "cockroach debug ballast",
- "urls": [
- "/${VERSION}/cockroach-debug-ballast.html"
- ]
- },
- {
- "title": "cockroach debug encryption-active-key",
- "urls": [
- "/${VERSION}/cockroach-debug-encryption-active-key.html"
- ]
- },
- {
- "title": "cockroach debug job-trace",
- "urls": [
- "/${VERSION}/cockroach-debug-job-trace.html"
- ]
- },
- {
- "title": "cockroach debug list-files",
- "urls": [
- "/${VERSION}/cockroach-debug-list-files.html"
- ]
- },
- {
- "title": "cockroach debug merge-logs",
- "urls": [
- "/${VERSION}/cockroach-debug-merge-logs.html"
- ]
- },
- {
- "title": "cockroach debug tsdump",
- "urls": [
- "/${VERSION}/cockroach-debug-tsdump.html"
- ]
- },
- {
- "title": "cockroach debug zip",
- "urls": [
- "/${VERSION}/cockroach-debug-zip.html"
- ]
- },
- {
- "title": "cockroach statement-diag",
- "urls": [
- "/${VERSION}/cockroach-statement-diag.html"
- ]
- },
- {
- "title": "cockroach gen",
- "urls": [
- "/${VERSION}/cockroach-gen.html"
- ]
- },
- {
- "title": "cockroach userfile upload",
- "urls": [
- "/${VERSION}/cockroach-userfile-upload.html"
- ]
- },
- {
- "title": "cockroach userfile list",
- "urls": [
- "/${VERSION}/cockroach-userfile-list.html"
- ]
- },
- {
- "title": "cockroach userfile get",
- "urls": [
- "/${VERSION}/cockroach-userfile-get.html"
- ]
- },
- {
- "title": "cockroach userfile delete",
- "urls": [
- "/${VERSION}/cockroach-userfile-delete.html"
- ]
- },
- {
- "title": "cockroach version",
- "urls": [
- "/${VERSION}/cockroach-version.html"
- ]
- },
- {
- "title": "cockroach workload",
- "urls": [
- "/${VERSION}/cockroach-workload.html"
- ]
- },
- {
- "title": "cockroach import",
- "urls": [
- "/${VERSION}/cockroach-import.html"
- ]
- }
- ]
- },
- {
- "title": "The cockroach-sql command",
- "urls": [
- "/${VERSION}/cockroach-sql-binary.html"
- ]
- }
- ]
- },
- {
- "title": "DB Console",
- "items": [
- {
- "title": "DB Console Overview",
- "urls": [
- "/${VERSION}/ui-overview.html"
- ]
- },
- {
- "title": "Cluster Overview Page",
- "urls": [
- "/${VERSION}/ui-cluster-overview-page.html"
- ]
- },
- {
- "title": "Metrics Dashboards",
- "items": [
- {
- "title": "Overview Dashboard",
- "urls": [
- "/${VERSION}/ui-overview-dashboard.html"
- ]
- },
- {
- "title": "Hardware Dashboard",
- "urls": [
- "/${VERSION}/ui-hardware-dashboard.html"
- ]
- },
- {
- "title": "Runtime Dashboard",
- "urls": [
- "/${VERSION}/ui-runtime-dashboard.html"
- ]
- },
- {
- "title": "SQL Dashboard",
- "urls": [
- "/${VERSION}/ui-sql-dashboard.html"
- ]
- },
- {
- "title": "Storage Dashboard",
- "urls": [
- "/${VERSION}/ui-storage-dashboard.html"
- ]
- },
- {
- "title": "Replication Dashboard",
- "urls": [
- "/${VERSION}/ui-replication-dashboard.html"
- ]
- },
- {
- "title": "Distributed Dashboard",
- "urls": [
- "/${VERSION}/ui-distributed-dashboard.html"
- ]
- },
- {
- "title": "Queues Dashboard",
- "urls": [
- "/${VERSION}/ui-queues-dashboard.html"
- ]
- },
- {
- "title": "Slow Requests Dashboard",
- "urls": [
- "/${VERSION}/ui-slow-requests-dashboard.html"
- ]
- },
- {
- "title": "Changefeeds Dashboard",
- "urls": [
- "/${VERSION}/ui-cdc-dashboard.html"
- ]
- },
- {
- "title": "Overload Dashboard",
- "urls": [
- "/${VERSION}/ui-overload-dashboard.html"
- ]
- },
- {
- "title": "TTL Dashboard",
- "urls": [
- "/${VERSION}/ui-ttl-dashboard.html"
- ]
- },
- {
- "title": "Custom Chart",
- "urls": [
- "/${VERSION}/ui-custom-chart-debug-page.html"
- ]
- }
- ]
- },
- {
- "title": "Databases Page",
- "urls": [
- "/${VERSION}/ui-databases-page.html"
- ]
- },
- {
- "title": "Sessions Page",
- "urls": [
- "/${VERSION}/ui-sessions-page.html"
- ]
- },
- {
- "title": "Statements Page",
- "urls": [
- "/${VERSION}/ui-statements-page.html"
- ]
- },
- {
- "title": "Transactions Page",
- "urls": [
- "/${VERSION}/ui-transactions-page.html"
- ]
- },
- {
- "title": "Insights Page",
- "urls": [
- "/${VERSION}/ui-insights-page.html"
- ]
- },
- {
- "title": "Network Latency Page",
- "urls": [
- "/${VERSION}/ui-network-latency-page.html"
- ]
- },
- {
- "title": "Hot Ranges Page",
- "urls": [
- "/${VERSION}/ui-hot-ranges-page.html"
- ]
- },
- {
- "title": "Jobs Page",
- "urls": [
- "/${VERSION}/ui-jobs-page.html"
- ]
- },
- {
- "title": "Schedules Page",
- "urls": [
- "/${VERSION}/ui-schedules-page.html"
- ]
- },
- {
- "title": "Advanced Debug Page",
- "urls": [
- "/${VERSION}/ui-debug-pages.html"
- ]
- }
- ]
- },
- {
- "title": "Metrics",
- "urls": [
- "/${VERSION}/metrics.html"
- ]
- },
- {
- "title": "Transaction Retry Error Reference",
- "urls": [
- "/${VERSION}/transaction-retry-error-reference.html"
- ]
- },
- {
- "title": "Cluster API",
- "urls": [
- "https://www.cockroachlabs.com/docs/api/cluster/v2"
- ]
- },
- {
- "title": "Cloud API",
- "urls": [
- "https://www.cockroachlabs.com/docs/api/cloud/v1"
- ]
- },
- {
- "title": "Logging",
- "items": [
- {
- "title": "Logging Levels and Channels",
- "urls": [
- "/${VERSION}/logging.html"
- ]
- },
- {
- "title": "Log Formats",
- "urls": [
- "/${VERSION}/log-formats.html"
- ]
- },
- {
- "title": "Notable Event Types",
- "urls": [
- "/${VERSION}/eventlog.html"
- ]
- }
- ]
- },
- {
- "title": "API Support Policy",
- "urls": [
- "/${VERSION}/api-support-policy.html"
- ]
- },
- {
- "title": "Diagnostics Reporting",
- "urls": [
- "/${VERSION}/diagnostics-reporting.html"
- ]
- },
- {
- "title": "Benchmarking",
- "items": [
- {
- "title": "Overview",
- "urls": [
- "/${VERSION}/performance.html"
- ]
- },
- {
- "title": "Benchmarking Instructions",
- "urls": [
- "/${VERSION}/performance-benchmarking-with-tpcc-local.html",
- "/${VERSION}/performance-benchmarking-with-tpcc-local-multiregion.html",
- "/${VERSION}/performance-benchmarking-with-tpcc-small.html",
- "/${VERSION}/performance-benchmarking-with-tpcc-medium.html",
- "/${VERSION}/performance-benchmarking-with-tpcc-large.html"
- ]
- }
- ]
- },
- {
- "title": "CockroachDB Feature Availability",
- "urls": [
- "/${VERSION}/cockroachdb-feature-availability.html"
- ]
- },
- {
- "title": "Third-Party Support",
- "items": [
- {
- "title": "Tools Supported by Cockroach Labs",
- "urls": [
- "/${VERSION}/third-party-database-tools.html"
- ]
- },
- {
- "title": "Tools Supported by the Community",
- "urls": [
- "/${VERSION}/community-tooling.html"
- ]
- }
- ]
- }
- ]
- }
diff --git a/src/current/_includes/v22.2/sidebar-data/releases.json b/src/current/_includes/v22.2/sidebar-data/releases.json
deleted file mode 100644
index 18f2a1b7c6a..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/releases.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "title": "Releases",
- "is_top_level": true,
- "items": [
- {% include_cached sidebar-releases.json %}
- ]
- }
diff --git a/src/current/_includes/v22.2/sidebar-data/stream.json b/src/current/_includes/v22.2/sidebar-data/stream.json
deleted file mode 100644
index a926905cc1c..00000000000
--- a/src/current/_includes/v22.2/sidebar-data/stream.json
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "title": "Stream Data",
- "is_top_level": true,
- "items": [
- {
- "title": "Change Data Capture Overview",
- "urls": [
- "/${VERSION}/change-data-capture-overview.html"
- ]
- },
- {
- "title": "Get Started with Changefeeds",
- "items": [
- {
- "title": "Create and Configure Changefeeds",
- "urls": [
- "/${VERSION}/create-and-configure-changefeeds.html"
- ]
- },
- {
- "title": "Changefeed Messages",
- "urls": [
- "/${VERSION}/changefeed-messages.html"
- ]
- },
- {
- "title": "Changefeed Sinks",
- "urls": [
- "/${VERSION}/changefeed-sinks.html"
- ]
- },
- {
- "title": "Changefeed Examples",
- "urls": [
- "/${VERSION}/changefeed-examples.html"
- ]
- }
- ]
- },
- {
- "title": "Optimize Changefeeds",
- "items": [
- {
- "title": "Change Data Capture Transformations",
- "urls": [
- "/${VERSION}/cdc-transformations.html"
- ]
- },
- {
- "title": "Changefeeds on Tables with Column Families",
- "urls": [
- "/${VERSION}/changefeeds-on-tables-with-column-families.html"
- ]
- },
- {
- "title": "Export Data with Changefeeds",
- "urls": [
- "/${VERSION}/export-data-with-changefeeds.html"
- ]
- },
- {
- "title": "Changefeeds in Multi-Region Deployments",
- "urls": [
- "/${VERSION}/changefeeds-in-multi-region-deployments.html"
- ]
- }
- ]
- },
- {
- "title": "Monitor and Debug Changefeeds",
- "urls": [
- "/${VERSION}/monitor-and-debug-changefeeds.html"
- ]
- },
- {
- "title": "Tutorials",
- "items": [
- {
- "title": "Stream a Changefeed from CockroachDB Cloud to Snowflake",
- "urls": [
- "/cockroachcloud/stream-changefeed-to-snowflake-aws.html"
- ]
- },
- {
- "title": "Stream a Changefeed to a Confluent Cloud Kafka Cluster",
- "urls": [
- "/${VERSION}/stream-a-changefeed-to-a-confluent-cloud-kafka-cluster.html"
- ]
- }
- ]
- },
- {
- "title": "Advanced Changefeed Configuration",
- "urls": [
- "/${VERSION}/advanced-changefeed-configuration.html"
- ]
- }
- ]
-}
diff --git a/src/current/_includes/v22.2/spatial/ogr2ogr-supported-version.md b/src/current/_includes/v22.2/spatial/ogr2ogr-supported-version.md
deleted file mode 100644
index ad444257227..00000000000
--- a/src/current/_includes/v22.2/spatial/ogr2ogr-supported-version.md
+++ /dev/null
@@ -1,3 +0,0 @@
-{{site.data.alerts.callout_info}}
-An `ogr2ogr` version of 3.1.0 or higher is required to generate data that can be imported into CockroachDB.
-{{site.data.alerts.end}}
diff --git a/src/current/_includes/v22.2/spatial/zmcoords.md b/src/current/_includes/v22.2/spatial/zmcoords.md
deleted file mode 100644
index fedbb74e703..00000000000
--- a/src/current/_includes/v22.2/spatial/zmcoords.md
+++ /dev/null
@@ -1,27 +0,0 @@
- You can also store a `{{page.title}}` with the following additional dimensions:
-
-- A third dimension coordinate `Z` (`{{page.title}}Z`).
-- A measure coordinate `M` (`{{page.title}}M`).
-- Both a third dimension and a measure coordinate (`{{page.title}}ZM`).
-
-The `Z` and `M` dimensions can be accessed or modified using a number of [built-in functions](functions-and-operators.html#spatial-functions), including:
-
-- `ST_Z`
-- `ST_M`
-- `ST_Affine`
-- `ST_Zmflag`
-- `ST_MakePoint`
-- `ST_MakePointM`
-- `ST_Force3D`
-- `ST_Force3DZ`
-- `ST_Force3DM`
-- `ST_Force4D`
-- `ST_Snap`
-- `ST_SnapToGrid`
-- `ST_RotateZ`
-- `ST_AddMeasure`
-
-Note that CockroachDB's [spatial indexing](spatial-indexes.html) is still based on the 2D coordinate system. This means that:
-
-- The Z/M dimension is not index accelerated when using spatial predicates.
-- Some spatial functions ignore the Z/M dimension, with transformations discarding the Z/M value.
diff --git a/src/current/_includes/v22.2/sql/add-size-limits-to-indexed-columns.md b/src/current/_includes/v22.2/sql/add-size-limits-to-indexed-columns.md
deleted file mode 100644
index c79aef6ac76..00000000000
--- a/src/current/_includes/v22.2/sql/add-size-limits-to-indexed-columns.md
+++ /dev/null
@@ -1,22 +0,0 @@
-We **strongly recommend** adding size limits to all [indexed columns](indexes.html), which includes columns in [primary keys](primary-key.html).
-
-Values exceeding 1 MiB can lead to [storage layer write amplification](architecture/storage-layer.html#write-amplification) and cause significant performance degradation or even [crashes due to OOMs (out of memory errors)](cluster-setup-troubleshooting.html#out-of-memory-oom-crash).
-
-To add a size limit using [`CREATE TABLE`](create-table.html):
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-CREATE TABLE name (first STRING(100), last STRING(100));
-~~~
-
-To add a size limit using [`ALTER TABLE ... ALTER COLUMN`](alter-table.html#alter-column):
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-SET enable_experimental_alter_column_type_general = true;
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-ALTER TABLE name ALTER first TYPE STRING(99);
-~~~
diff --git a/src/current/_includes/v22.2/sql/begin-transaction-as-of-system-time-example.md b/src/current/_includes/v22.2/sql/begin-transaction-as-of-system-time-example.md
deleted file mode 100644
index 7f2c11dac77..00000000000
--- a/src/current/_includes/v22.2/sql/begin-transaction-as-of-system-time-example.md
+++ /dev/null
@@ -1,19 +0,0 @@
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> BEGIN AS OF SYSTEM TIME '2019-04-09 18:02:52.0+00:00';
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SELECT * FROM orders;
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> SELECT * FROM products;
-~~~
-
-{% include_cached copy-clipboard.html %}
-~~~ sql
-> COMMIT;
-~~~
diff --git a/src/current/_includes/v22.2/sql/cannot-refresh-materialized-views-inside-transactions.md b/src/current/_includes/v22.2/sql/cannot-refresh-materialized-views-inside-transactions.md
deleted file mode 100644
index 95d65f985fa..00000000000
--- a/src/current/_includes/v22.2/sql/cannot-refresh-materialized-views-inside-transactions.md
+++ /dev/null
@@ -1,27 +0,0 @@
-- CockroachDB cannot refresh {% if page.name == "views.md" %} materialized views {% else %} [materialized views](views.html#materialized-views) {% endif %} inside [explicit transactions](begin-transaction.html). Trying to refresh a materialized view inside an explicit transaction will result in an error.
- 1. Start [`cockroach demo`](cockroach-demo.html) with the sample `bank` data set:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- cockroach demo bank
- ~~~
- 1. Create the materialized view described in [Usage](views.html#usage).
- 1. Start a new multi-statement transaction with [`BEGIN TRANSACTION`](begin-transaction.html):
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- BEGIN TRANSACTION;
- ~~~
- 1. Inside the open transaction, attempt to [refresh the view](refresh.html). This will result in an error.
-
- {% include_cached copy-clipboard.html %}
- ~~~ sql
- REFRESH MATERIALIZED VIEW overdrawn_accounts;
- ~~~
-
- ~~~
- ERROR: cannot refresh view in an explicit transaction
- SQLSTATE: 25000
- ~~~
-
- [Tracking GitHub Issue](https://github.com/cockroachdb/cockroach/issues/66008)
diff --git a/src/current/_includes/v22.2/sql/connection-parameters.md b/src/current/_includes/v22.2/sql/connection-parameters.md
deleted file mode 100644
index 769f3c776d6..00000000000
--- a/src/current/_includes/v22.2/sql/connection-parameters.md
+++ /dev/null
@@ -1,9 +0,0 @@
-Flag | Description
------|------------
- `--url` | A [connection URL](connection-parameters.html#connect-using-a-url) to use instead of the other arguments. To convert a connection URL to the syntax that works with your client driver, run [`cockroach convert-url`](connection-parameters.html#convert-a-url-for-different-drivers).
-
-In **iTerm2**:
-
-1. Navigate to "Preferences", then "Profiles", then "Keys".
-1. Select the radio button "Esc+" for the behavior of the Left Option Key.
-
-
-
diff --git a/src/current/_includes/v22.2/sql/materialized-views-no-stats.md b/src/current/_includes/v22.2/sql/materialized-views-no-stats.md
deleted file mode 100644
index a7b90d3d28e..00000000000
--- a/src/current/_includes/v22.2/sql/materialized-views-no-stats.md
+++ /dev/null
@@ -1,3 +0,0 @@
-- The optimizer may not select the most optimal query plan when querying materialized views because CockroachDB does not [collect statistics](cost-based-optimizer.html#table-statistics) on materialized views.
-
- [Tracking GitHub Issue](https://github.com/cockroachdb/cockroach/issues/78181).
diff --git a/src/current/_includes/v22.2/sql/movr-start-nodes.md b/src/current/_includes/v22.2/sql/movr-start-nodes.md
deleted file mode 100644
index 0311fd67ba2..00000000000
--- a/src/current/_includes/v22.2/sql/movr-start-nodes.md
+++ /dev/null
@@ -1,6 +0,0 @@
-Run [`cockroach demo`](cockroach-demo.html) with the [`--nodes`](cockroach-demo.html#flags) and [`--demo-locality`](cockroach-demo.html#flags) flags This command opens an interactive SQL shell to a temporary, multi-node in-memory cluster with the `movr` database preloaded and set as the [current database](sql-name-resolution.html#current-database).
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ cockroach demo --nodes=3 --demo-locality=region=us-east1:region=us-central1:region=us-west1
- ~~~
diff --git a/src/current/_includes/v22.2/sql/movr-start.md b/src/current/_includes/v22.2/sql/movr-start.md
deleted file mode 100644
index 83be1f776e2..00000000000
--- a/src/current/_includes/v22.2/sql/movr-start.md
+++ /dev/null
@@ -1,62 +0,0 @@
-- Run [`cockroach demo`](cockroach-demo.html) to start a temporary, in-memory cluster with the `movr` dataset preloaded:
-
- {% include_cached copy-clipboard.html %}
- ~~~ shell
- $ cockroach demo
- ~~~
-
-- Load the `movr` dataset into a persistent local cluster and open an interactive SQL shell:
- 1. Start a [secure](secure-a-cluster.html) or [insecure](start-a-local-cluster.html) local cluster.
- 1. Use [`cockroach workload`](cockroach-workload.html) to load the `movr` dataset:
-
- \| | Run the output of an external command as SQL statements. [See an example](cockroach-sql.html#run-external-commands-from-the-sql-shell).
-`\set