Skip to content
3 changes: 0 additions & 3 deletions src/current/_data/cards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ develop:
- link: "/PREFIX/schema-design-overview.html"
title: "Design a schema"
text: "Details and best practices about designing schemas for your data."
- link: "/PREFIX/query-data.html"
title: "Read data"
text: "How to query your cluster to retrieve data."
- link: "/PREFIX/insert-data.html"
title: "Write data"
text: "How to insert data into your cluster."
Expand Down
17 changes: 17 additions & 0 deletions src/current/_data/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1098,9 +1098,26 @@
- destination: deploy-cockroachdb-on-digital-ocean.md
sources: ['deploy-cockroachdb-on-digital-ocean-insecure.md']
versions: ['v26.1', 'v26.2']

- destination: stable/developer-guide-overview.md
sources: ['cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md']

- destination: developer-guide-overview.md
sources: ['example-apps.md', 'build-a-spring-app-with-cockroachdb-jdbc.md', 'build-a-spring-app-with-cockroachdb-jpa.md', 'movr-flask-use-case.md', 'movr-flask-database.md', 'movr-flask-setup.md', 'movr-flask-application.md', 'movr-flask-deployment.md']
versions: ['v26.1', 'v26.2']

- destination: topology-patterns.md
sources: ['topology-development.md']
versions: ['v26.1', 'v26.2']

- destination: monitoring-and-alerting.md
sources: ['datadog.md', 'dbmarlin.md', 'kibana.md']
versions: ['v26.1', 'v26.2']

- destination: schema-design-overview.md
sources: ['schema-design-database.md', 'schema-design-schema.md', 'schema-design-table.md', 'schema-design-update.md']
versions: ['v26.1', 'v26.2']

- destination: reads-and-writes-overview.md
sources: ['query-data.md']
versions: ['v26.1', 'v26.2']
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Convert the source table definitions into CockroachDB-compatible equivalents. Co
When using `--case-sensitive`, quote all identifiers and match the case exactly (for example, use `"CO"."STORES"` and `"STORE_ID"`).
</section>

- Every table **must** have an explicit primary key. For more information, refer to [Primary key best practices]({% link {{ site.current_cloud_version }}/schema-design-table.md %}#primary-key-best-practices).
- Every table **must** have an explicit primary key.

{{site.data.alerts.callout_danger}}
Avoid using sequential keys. To learn more about the performance issues that can result from their use, refer to the [guidance on indexing with sequential keys]({% link {{site.current_cloud_version}}/sql-faqs.md %}#how-do-i-generate-unique-slowly-increasing-sequential-numbers-in-cockroachdb). If a sequential key is necessary in your CockroachDB table, you must create it manually, after using [MOLT Fetch]({% link molt/molt-fetch.md %}) to load and replicate the data.
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/v26.1/essential-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
These essential CockroachDB metrics let you monitor your CockroachDB {{ site.data.products.core }} cluster. Use them to build custom dashboards with the following tools:

- [Grafana]({% link {{ page.version.version }}/monitor-cockroachdb-with-prometheus.md %}#step-5-visualize-metrics-in-grafana)
- [Datadog Integration]({% link {{ page.version.version }}/datadog.md %}): The [**Datadog Integration Metric Name**]({{ datadog_link }}) column lists the corresponding Datadog metric which requires the `{{ datadog_prefix }}.` prefix.
- Datadog Integration: The [**Datadog Integration Metric Name**]({{ datadog_link }}) column lists the corresponding Datadog metric which requires the `{{ datadog_prefix }}.` prefix.

{% elsif include.deployment == 'advanced' %}
{% assign metrics_datadog = site.data[version].metrics.datadog-crdb-dedicated %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
{
"title": "Read Data",
"items": [
{
"title": "Query Data",
"urls": [
"/${VERSION}/query-data.html"
]
},
{
"title": "Reusable Views",
"urls": [
Expand Down
24 changes: 0 additions & 24 deletions src/current/_includes/v26.1/sidebar-data/schema-design.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@
"/${VERSION}/schema-design-overview.html"
]
},
{
"title": "Create a Database",
"urls": [
"/${VERSION}/schema-design-database.html"
]
},
{
"title": "Create a User-defined Schema",
"urls": [
"/${VERSION}/schema-design-schema.html"
]
},
{
"title": "Create a Table",
"urls": [
"/${VERSION}/schema-design-table.html"
]
},
{
"title": "Computed Columns",
"urls": [
Expand Down Expand Up @@ -105,12 +87,6 @@
{
"title": "Update a Database Schema",
"items": [
{
"title": "Change and Remove Objects",
"urls": [
"/${VERSION}/schema-design-update.html"
]
},
{
"title": "Online Schema Changes",
"urls": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,6 @@
"/${VERSION}/topology-patterns.html"
]
},
{
"title": "Development Topology",
"urls": [
"/${VERSION}/topology-development.html"
]
},
{
"title": "Basic Production Topology",
"urls": [
Expand Down Expand Up @@ -409,14 +403,9 @@
]
},
{
"title": "Security Tutorials",
"items": [
{
"title": "Use Hashicorp Vault's Dynamic Secrets",
"urls": [
"/${VERSION}/vault-db-secrets-tutorial.html"
]
}
"title": "Use Hashicorp Vault's Dynamic Secrets",
"urls": [
"/${VERSION}/vault-db-secrets-tutorial.html"
]
}
]
Expand Down Expand Up @@ -454,24 +443,6 @@
"/${VERSION}/monitor-cockroachdb-with-prometheus.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": "Essential Metrics for CockroachDB {{ site.data.products.core }} Deployments",
"urls": [
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/v26.1/sql/privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Privilege | Levels | Description
<a id="replicationdest"></a>`REPLICATIONDEST` | Table | Grants the ability to run logical data replication into an existing table on the destination cluster. For more details, refer to the [Set Up Logical Data Replication]({% link {{ page.version.version }}/set-up-logical-data-replication.md %}) tutorial.
<a id="replicationsource"></a>`REPLICATIONSOURCE` | Table | Grants the ability to run logical data replication from a table on the source cluster. For more details, refer to the [Set Up Logical Data Replication]({% link {{ page.version.version }}/set-up-logical-data-replication.md %}) tutorial.
`RESTORE` | System, Database | Grants the ability to restore [backups]({% link {{ page.version.version }}/backup-and-restore-overview.md %}) at the system or database level. Refer to `RESTORE` [Required privileges]({% link {{ page.version.version }}/restore.md %}#required-privileges) for more details.
`SELECT` | Table, Sequence | Grants the ability to run [selection queries]({% link {{ page.version.version }}/query-data.md %}) at the table or sequence level.
`SELECT` | Table, Sequence | Grants the ability to run [selection queries]({% link {{ page.version.version }}/selection-queries.md %}) at the table or sequence level.
`UPDATE` | Table, Sequence | Grants the ability to run [update statements]({% link {{ page.version.version }}/update-data.md %}) at the table or sequence level.
`USAGE` | Schema, Sequence, Type | Grants the ability to use [schemas]({% link {{ page.version.version }}/schema-design-overview.md %}), [sequences]({% link {{ page.version.version }}/create-sequence.md %}), or [user-defined types]({% link {{ page.version.version }}/create-type.md %}).
<a id="viewactivity"></a>`VIEWACTIVITY` | System | Grants the ability to view other user's activity statistics of a cluster.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Cockroach Labs recommends leaving the transaction priority at the default setting in almost all cases. Changing the transaction priority to `HIGH` in particular can lead to difficult-to-debug interactions with other transactions executing on the system.

If you are setting a transaction priority to avoid [contention]({% link {{ page.version.version }}/performance-best-practices-overview.md %}#transaction-contention) or [hotspots]({% link {{ page.version.version }}/understand-hotspots.md %}), or to [get better query performance]({% link {{ page.version.version }}/make-queries-fast.md %}), it is usually a sign that you need to update your [schema design]({% link {{ page.version.version }}/schema-design-database.md %}) and/or review the data access patterns of your workload.
If you are setting a transaction priority to avoid [contention]({% link {{ page.version.version }}/performance-best-practices-overview.md %}#transaction-contention) or [hotspots]({% link {{ page.version.version }}/understand-hotspots.md %}), or to [get better query performance]({% link {{ page.version.version }}/make-queries-fast.md %}), it is usually a sign that you need to update your schema design and/or review the data access patterns of your workload.
1 change: 0 additions & 1 deletion src/current/_includes/v26.1/topology-patterns/see-also.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- [`ALTER DATABASE ... DROP SECONDARY REGION`]({% link {{ page.version.version }}/alter-database.md %}#drop-secondary-region)
- [Topology Patterns Overview]({% link {{ page.version.version }}/topology-patterns.md %})
- Single-region patterns
- [Development]({% link {{ page.version.version }}/topology-development.md %})
- [Basic Production]({% link {{ page.version.version }}/topology-basic-production.md %})
- Multi-region patterns
- [`REGIONAL` Tables]({% link {{ page.version.version }}/regional-tables.md %})
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/v26.2/essential-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
These essential CockroachDB metrics let you monitor your CockroachDB {{ site.data.products.core }} cluster. Use them to build custom dashboards with the following tools:

- [Grafana]({% link {{ page.version.version }}/monitor-cockroachdb-with-prometheus.md %}#step-5-visualize-metrics-in-grafana)
- [Datadog Integration]({% link {{ page.version.version }}/datadog.md %}): The [**Datadog Integration Metric Name**]({{ datadog_link }}) column lists the corresponding Datadog metric which requires the `{{ datadog_prefix }}.` prefix.
- Datadog Integration: The [**Datadog Integration Metric Name**]({{ datadog_link }}) column lists the corresponding Datadog metric which requires the `{{ datadog_prefix }}.` prefix.

{% elsif include.deployment == 'advanced' %}
{% assign metrics_datadog = site.data[version].metrics.datadog-crdb-dedicated %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
{
"title": "Read Data",
"items": [
{
"title": "Query Data",
"urls": [
"/${VERSION}/query-data.html"
]
},
{
"title": "Reusable Views",
"urls": [
Expand Down
24 changes: 0 additions & 24 deletions src/current/_includes/v26.2/sidebar-data/schema-design.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@
"/${VERSION}/schema-design-overview.html"
]
},
{
"title": "Create a Database",
"urls": [
"/${VERSION}/schema-design-database.html"
]
},
{
"title": "Create a User-defined Schema",
"urls": [
"/${VERSION}/schema-design-schema.html"
]
},
{
"title": "Create a Table",
"urls": [
"/${VERSION}/schema-design-table.html"
]
},
{
"title": "Computed Columns",
"urls": [
Expand Down Expand Up @@ -105,12 +87,6 @@
{
"title": "Update a Database Schema",
"items": [
{
"title": "Change and Remove Objects",
"urls": [
"/${VERSION}/schema-design-update.html"
]
},
{
"title": "Online Schema Changes",
"urls": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,6 @@
"/${VERSION}/topology-patterns.html"
]
},
{
"title": "Development Topology",
"urls": [
"/${VERSION}/topology-development.html"
]
},
{
"title": "Basic Production Topology",
"urls": [
Expand Down Expand Up @@ -409,14 +403,9 @@
]
},
{
"title": "Security Tutorials",
"items": [
{
"title": "Use Hashicorp Vault's Dynamic Secrets",
"urls": [
"/${VERSION}/vault-db-secrets-tutorial.html"
]
}
"title": "Use Hashicorp Vault's Dynamic Secrets",
"urls": [
"/${VERSION}/vault-db-secrets-tutorial.html"
]
}
]
Expand Down Expand Up @@ -454,24 +443,6 @@
"/${VERSION}/monitor-cockroachdb-with-prometheus.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": "Essential Metrics for CockroachDB {{ site.data.products.core }} Deployments",
"urls": [
Expand Down
2 changes: 1 addition & 1 deletion src/current/_includes/v26.2/sql/privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Privilege | Levels | Description
<a id="replicationdest"></a>`REPLICATIONDEST` | Table | Grants the ability to run logical data replication into an existing table on the destination cluster. For more details, refer to the [Set Up Logical Data Replication]({% link {{ page.version.version }}/set-up-logical-data-replication.md %}) tutorial.
<a id="replicationsource"></a>`REPLICATIONSOURCE` | Table | Grants the ability to run logical data replication from a table on the source cluster. For more details, refer to the [Set Up Logical Data Replication]({% link {{ page.version.version }}/set-up-logical-data-replication.md %}) tutorial.
`RESTORE` | System, Database | Grants the ability to restore [backups]({% link {{ page.version.version }}/backup-and-restore-overview.md %}) at the system or database level. Refer to `RESTORE` [Required privileges]({% link {{ page.version.version }}/restore.md %}#required-privileges) for more details.
`SELECT` | Table, Sequence | Grants the ability to run [selection queries]({% link {{ page.version.version }}/query-data.md %}) at the table or sequence level.
`SELECT` | Table, Sequence | Grants the ability to run [selection queries]({% link {{ page.version.version }}/selection-queries.md %}) at the table or sequence level.
`UPDATE` | Table, Sequence | Grants the ability to run [update statements]({% link {{ page.version.version }}/update-data.md %}) at the table or sequence level.
`USAGE` | Schema, Sequence, Type | Grants the ability to use [schemas]({% link {{ page.version.version }}/schema-design-overview.md %}), [sequences]({% link {{ page.version.version }}/create-sequence.md %}), or [user-defined types]({% link {{ page.version.version }}/create-type.md %}).
<a id="viewactivity"></a>`VIEWACTIVITY` | System | Grants the ability to view other user's activity statistics of a cluster.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Cockroach Labs recommends leaving the transaction priority at the default setting in almost all cases. Changing the transaction priority to `HIGH` in particular can lead to difficult-to-debug interactions with other transactions executing on the system.

If you are setting a transaction priority to avoid [contention]({% link {{ page.version.version }}/performance-best-practices-overview.md %}#transaction-contention) or [hotspots]({% link {{ page.version.version }}/understand-hotspots.md %}), or to [get better query performance]({% link {{ page.version.version }}/make-queries-fast.md %}), it is usually a sign that you need to update your [schema design]({% link {{ page.version.version }}/schema-design-database.md %}) and/or review the data access patterns of your workload.
If you are setting a transaction priority to avoid [contention]({% link {{ page.version.version }}/performance-best-practices-overview.md %}#transaction-contention) or [hotspots]({% link {{ page.version.version }}/understand-hotspots.md %}), or to [get better query performance]({% link {{ page.version.version }}/make-queries-fast.md %}), it is usually a sign that you need to update your schema design and/or review the data access patterns of your workload.
1 change: 0 additions & 1 deletion src/current/_includes/v26.2/topology-patterns/see-also.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- [`ALTER DATABASE ... DROP SECONDARY REGION`]({% link {{ page.version.version }}/alter-database.md %}#drop-secondary-region)
- [Topology Patterns Overview]({% link {{ page.version.version }}/topology-patterns.md %})
- Single-region patterns
- [Development]({% link {{ page.version.version }}/topology-development.md %})
- [Basic Production]({% link {{ page.version.version }}/topology-basic-production.md %})
- Multi-region patterns
- [`REGIONAL` Tables]({% link {{ page.version.version }}/regional-tables.md %})
Expand Down
Loading
Loading