From 2ff6e7c3d61626114257382858afca1314a66bfd Mon Sep 17 00:00:00 2001 From: Tushar-TG-14 Date: Fri, 26 Sep 2025 20:37:39 +0530 Subject: [PATCH 1/2] DOC-3029 Add `GSQL.AllowInterpretedQueries` configuration parameter --- .../reference/pages/configuration-parameters.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/reference/pages/configuration-parameters.adoc b/modules/reference/pages/configuration-parameters.adoc index 2ad58100..bc1cf102 100644 --- a/modules/reference/pages/configuration-parameters.adoc +++ b/modules/reference/pages/configuration-parameters.adoc @@ -633,6 +633,19 @@ request timeout in milliseconds |`600000` |Gadmin.StopServiceDefaultTimeoutMS |The stop one service default request timeout in milliseconds. Default 200000 (200s).|`30000` + +|Gadmin.GSQL.AllowInterpretedQueries +a|Enables or disables all interpreted (ad hoc) GSQL queries for the cluster. Default: `true`. + +[.bullets] +* When `true`: Both interpreted and installed queries are allowed. +* When `false`: Interpreted queries are blocked. Only installed queries run. + +Use this setting in production to prevent misuse or heavy resource consumption from interpreted queries. + + +|`gadmin config set GSQL.AllowInterpretedQueries false` + |=== == Informant From 343e9fb5e8cd6769a93d4f75f6361e03f8a0a6fe Mon Sep 17 00:00:00 2001 From: Tushar-TG-14 Date: Mon, 13 Oct 2025 19:13:30 +0530 Subject: [PATCH 2/2] DOC-3029: Fixed the parameter name --- .../pages/configuration-parameters.adoc | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/modules/reference/pages/configuration-parameters.adoc b/modules/reference/pages/configuration-parameters.adoc index bc1cf102..a2267db1 100644 --- a/modules/reference/pages/configuration-parameters.adoc +++ b/modules/reference/pages/configuration-parameters.adoc @@ -542,6 +542,17 @@ online |`300` |GSQL.QueryPlanCache.Enable |Enables the xref:{page-component-version}@gsql-ref:querying:query-optimizer/query-plan-cache.adoc[query plan cache], default is `true` |`true` |GSQL.QueryPlanCache.Capacity |Maximum number of xref:{page-component-version}@gsql-ref:querying:query-optimizer/query-plan-cache.adoc[queries in the cache]. Range from 1 : 100,000. default is 10,000. |`10000` + +|GSQL.AllowInterpretedQueries +a|Enables or disables all interpreted (ad hoc) GSQL queries for the cluster. Default: `true`. + +[.bullets] +* When `true`: Both interpreted and installed queries are allowed. +* When `false`: Interpreted queries are blocked. Only installed queries run. + +Use this setting in production to prevent misuse or heavy resource consumption from interpreted queries. + +|`gadmin config set GSQL.AllowInterpretedQueries false` |=== == GUI @@ -634,18 +645,6 @@ request timeout in milliseconds |`600000` |Gadmin.StopServiceDefaultTimeoutMS |The stop one service default request timeout in milliseconds. Default 200000 (200s).|`30000` -|Gadmin.GSQL.AllowInterpretedQueries -a|Enables or disables all interpreted (ad hoc) GSQL queries for the cluster. Default: `true`. - -[.bullets] -* When `true`: Both interpreted and installed queries are allowed. -* When `false`: Interpreted queries are blocked. Only installed queries run. - -Use this setting in production to prevent misuse or heavy resource consumption from interpreted queries. - - -|`gadmin config set GSQL.AllowInterpretedQueries false` - |=== == Informant