From 8d2f95db3ab2df36c569d87f3738dfe6e4afdb21 Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Fri, 12 May 2023 11:15:41 -0400 Subject: [PATCH] fixes to includes/Liquid --- _includes/releases/v23.1/v23.1.0-alpha.4.md | 2 +- .../v23.1/performance/sql-trace-txn-enable-threshold.md | 7 ++++++- _includes/v23.1/ui/insights.md | 4 ++++ cockroachcloud/insights-page.md | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/_includes/releases/v23.1/v23.1.0-alpha.4.md b/_includes/releases/v23.1/v23.1.0-alpha.4.md index a606479e2a5..c56db517ea4 100644 --- a/_includes/releases/v23.1/v23.1.0-alpha.4.md +++ b/_includes/releases/v23.1/v23.1.0-alpha.4.md @@ -9,7 +9,7 @@ Release Date: February 27, 2023 - Some of the transformations specific to changefeeds have been deprecated and replaced. These functions were released in limited access in v22.2. Deprecated changefeed transformations continue to function. Closely monitor changefeeds that are created during upgrade. While effort was made to maintain backward compatibility, the updated changefeed transformation may produce slightly different output, such as different column names. [#96295][#96295] - Add support for implicit authentication to Azure Storage and KMS. [#96825][#96825] - Add support for `CREATE EXTERNAL CONNECTION ... AS "postgresql://"` or `"postgres://"`. These external connections may be specified as the source in streaming replication. [#96551][#96551] -- Add support for referencing [user defined functions (UDFs)](../{{site.versions["stable"]}}/user-defined-functions.html) from other objects. Backup and restore operations can now read and write UDF descriptors. [#97038][#97038] +- Add support for referencing [user defined functions (UDFs)](../v23.1/user-defined-functions.html) from other objects. Backup and restore operations can now read and write UDF descriptors. [#97038][#97038]

SQL language changes

diff --git a/_includes/v23.1/performance/sql-trace-txn-enable-threshold.md b/_includes/v23.1/performance/sql-trace-txn-enable-threshold.md index 723f9075d85..effcda2bdbd 100644 --- a/_includes/v23.1/performance/sql-trace-txn-enable-threshold.md +++ b/_includes/v23.1/performance/sql-trace-txn-enable-threshold.md @@ -1 +1,6 @@ -The default tracing behavior captures a small percent of transactions, so not all contention events will be recorded. When investigating transaction contention, you can set the `sql.trace.txn.enable_threshold` [cluster setting](cluster-settings.html#setting-sql-trace-txn-enable-threshold) to always capture contention events. \ No newline at end of file +{% if include.version_prefix != nil %} + {% assign url = include.version_prefix | append: "cluster-settings.html#setting-sql-trace-txn-enable-threshold" | absolute_url %} +{% else %} + {% assign url = "cluster-settings.html#setting-sql-trace-txn-enable-threshold" %} +{% endif %} +The default tracing behavior captures a small percent of transactions, so not all contention events will be recorded. When investigating transaction contention, you can set the `sql.trace.txn.enable_threshold` [cluster setting]({{ url }}) to always capture contention events. diff --git a/_includes/v23.1/ui/insights.md b/_includes/v23.1/ui/insights.md index ad84fe59643..900eafa92a0 100644 --- a/_includes/v23.1/ui/insights.md +++ b/_includes/v23.1/ui/insights.md @@ -84,7 +84,11 @@ To display this view, click **Insights** in the left-hand navigation of the Clou The rows in this page are populated from the [`crdb_internal.cluster_execution_insights`]({{ link_prefix }}crdb-internal.html) table. - The results displayed on the **Statement Executions** view will be available as long as the number of rows in each node is less than the [`sql.insights.execution_insights_capacity` cluster setting]({{ link_prefix }}cluster-settings.html#setting-sql-insights-execution-insights-capacity). +{% if include.version_prefix != nil %} +- {% include {{ include.version_prefix }}performance/sql-trace-txn-enable-threshold.md version_prefix=version_prefix %} +{% else %} - {% include {{ page.version.version }}/performance/sql-trace-txn-enable-threshold.md %} +{% endif %} {{site.data.alerts.end}} {% if page.cloud != true -%} diff --git a/cockroachcloud/insights-page.md b/cockroachcloud/insights-page.md index e8da3c02b9e..bc9c7062207 100644 --- a/cockroachcloud/insights-page.md +++ b/cockroachcloud/insights-page.md @@ -23,7 +23,7 @@ The **Insights** page of the {{ site.data.products.db }} Console helps you: To view this page, select a cluster from the [**Clusters** page](cluster-management.html#view-clusters-page), and click **Insights** in the **Monitoring** section of the left side navigation. -{% include {{version_prefix}}ui/insights.md %} +{% include {{version_prefix}}ui/insights.md version_prefix=version_prefix %} ## See also