summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_knobs.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_knobs.idl')
-rw-r--r--src/mongo/db/query/query_knobs.idl28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mongo/db/query/query_knobs.idl b/src/mongo/db/query/query_knobs.idl
index d631ab42d3d..519e7bda433 100644
--- a/src/mongo/db/query/query_knobs.idl
+++ b/src/mongo/db/query/query_knobs.idl
@@ -36,7 +36,7 @@ global:
- "mongo/db/query/ce_mode_parameter.h"
- "mongo/db/query/explain_version_validator.h"
- "mongo/db/query/sbe_plan_cache_on_parameter_change.h"
- - "mongo/db/query/telemetry_util.h"
+ - "mongo/db/query/query_stats_util.h"
- "mongo/platform/atomic_proxy.h"
- "mongo/platform/atomic_word.h"
@@ -1018,32 +1018,32 @@ server_parameters:
default: false
test_only: true
- internalQueryConfigureTelemetrySamplingRate:
- description: "The maximum number of queries per second that are sampled for query telemetry.
+ internalQueryStatsSamplingRate:
+ description: "The maximum number of queries per second that are sampled for query stats.
If the rate of queries goes above this number, then rate limiting will kick in, and any
further queries will not be sampled. To sample all queries, this can be set to -1. This can be
- set to 0 to turn telemetry off completely."
+ set to 0 to turn queryStats off completely."
set_at: [ startup, runtime ]
- cpp_varname: "queryTelemetrySamplingRate"
+ cpp_varname: "queryQueryStatsSamplingRate"
cpp_vartype: AtomicWord<int>
default: 0
validator:
gte: -1
- on_update: telemetry_util::onTelemetrySamplingRateUpdate
+ on_update: query_stats_util::onQueryStatsSamplingRateUpdate
- internalQueryConfigureTelemetryCacheSize:
- description: "The maximum amount of memory that the system will allocate for the query telemetry
+ internalQueryStatsCacheSize:
+ description: "The maximum amount of memory that the system will allocate for the query queryStats
cache. This will accept values in either of the following formats:
1. <number>% indicates a percentage of the physical memory available to the process. E.g.: 15%.
2. <number>(MB|GB), indicates the amount of memory in MB or GB. E.g.: 1.5GB, 100MB.
The default value is 1%, which means 1% of the physical memory available to the process."
set_at: [ startup, runtime ]
- cpp_varname: "queryTelemetryStoreSize"
+ cpp_varname: "queryQueryStatsStoreSize"
cpp_vartype: synchronized_value<std::string>
default: "1%"
- on_update: telemetry_util::onTelemetryStoreSizeUpdate
+ on_update: query_stats_util::onQueryStatsStoreSizeUpdate
validator:
- callback: telemetry_util::validateTelemetryStoreSize
+ callback: query_stats_util::validateQueryStatsStoreSize
internalQueryColumnScanMinCollectionSizeBytes:
description: "The min collection size threshold for which column scan will always be allowed. If
@@ -1130,7 +1130,7 @@ server_parameters:
default: 60000
validator:
gte: 0
-
+
internalQueryAggMulticastMaxConcurrency:
description: "Max number of concurrent requests when aggregations are sent to all shard servers"
set_at: startup
@@ -1173,8 +1173,8 @@ server_parameters:
gte: 0
internalQueryAutoParameterizationMaxParameterCount:
- description: "The maximum numbers of parameters that query auto-parameterization can extract from a query.
- If auto parameterizating a query would result in a greater number of parameters than the limit,
+ description: "The maximum numbers of parameters that query auto-parameterization can extract from a query.
+ If auto parameterizating a query would result in a greater number of parameters than the limit,
then auto parameterization will not be performed.
If set to 0, then no limit will be applied."
set_at: [ startup, runtime ]