You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
144525: vecindex: add settings and storage options for vector indexes r=drewkimball,mw5h a=andy-kimball
#### vecindex: disable vector indexes by default
For 25.2, vector indexes are shipping as a public preview, but disabled until
users set the cluster setting feature.vector_index.enabled=true. Creating a
vector index gives an error until then.
Epic: CRDB-42943
Release note: None
#### vecindex: add vector-search-beam-size session setting
Add a new "vector-search-beam-size" session setting that controls the
breadth of the vector index search. The higher the value, the more
accurate is the search, but the more processing it requires.
Epic: CRDB-42943
Release note: None
#### vecindex: offer vector index storage params
Add support for several storage parameters when creating a vector index:
* build_beam_size: controls accuracy of index build
* min_partition_size: min size of partition without being merged
* max_partition_size: max size of partition without being split
Here is an example:
CREATE VECTOR INDEX ON storage_params (v)
WITH (min_partition_size = 8, max_partition_size = 64)
Epic: CRDB-42943
Release note: None
#### vecindex: hook up StalledOpTimeout
Hook up the vector index's stalled op timeout callback to the cluster
setting. While the setting was added in a previous PR, it was never
being used.
Epic: CRDB-42943
Release note: None
Co-authored-by: Andrew Kimball <[email protected]>
Copy file name to clipboardExpand all lines: docs/generated/settings/settings-for-tenants.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ feature.import.enabled boolean true set to true to enable imports, false to disa
75
75
feature.restore.enabled boolean true set to true to enable restore, false to disable; default is true application
76
76
feature.schema_change.enabled boolean true set to true to enable schema changes, false to disable; default is true application
77
77
feature.stats.enabled boolean true set to true to enable CREATE STATISTICS/ANALYZE, false to disable; default is true application
78
+
feature.vector_index.enabled boolean false set to true to enable vector indexes, false to disable; default is false application
78
79
jobs.retention_time duration 336h0m0s the amount of time for which records for completed jobs are retained application
79
80
kv.bulk_sst.target_size byte size 16 MiB target size for SSTs emitted from export requests; export requests (i.e. BACKUP) may buffer up to the sum of kv.bulk_sst.target_size and kv.bulk_sst.max_allowed_overage in memory system-visible
80
81
kv.closed_timestamp.follower_reads.enabled (alias: kv.closed_timestamp.follower_reads_enabled) boolean true allow (all) replicas to serve consistent historical reads based on closed timestamp information system-visible
Copy file name to clipboardExpand all lines: docs/generated/settings/settings.html
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@
80
80
<tr><td><divid="setting-feature-restore-enabled" class="anchored"><code>feature.restore.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>set to true to enable restore, false to disable; default is true</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
81
81
<tr><td><divid="setting-feature-schema-change-enabled" class="anchored"><code>feature.schema_change.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>set to true to enable schema changes, false to disable; default is true</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
82
82
<tr><td><divid="setting-feature-stats-enabled" class="anchored"><code>feature.stats.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>set to true to enable CREATE STATISTICS/ANALYZE, false to disable; default is true</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
83
+
<tr><td><divid="setting-feature-vector-index-enabled" class="anchored"><code>feature.vector_index.enabled</code></div></td><td>boolean</td><td><code>false</code></td><td>set to true to enable vector indexes, false to disable; default is false</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
83
84
<tr><td><divid="setting-jobs-retention-time" class="anchored"><code>jobs.retention_time</code></div></td><td>duration</td><td><code>336h0m0s</code></td><td>the amount of time for which records for completed jobs are retained</td><td>Serverless/Dedicated/Self-Hosted</td></tr>
84
85
<tr><td><divid="setting-kv-allocator-lease-rebalance-threshold" class="anchored"><code>kv.allocator.lease_rebalance_threshold</code></div></td><td>float</td><td><code>0.05</code></td><td>minimum fraction away from the mean a store's lease count can be before it is considered for lease-transfers</td><td>Dedicated/Self-Hosted</td></tr>
85
86
<tr><td><divid="setting-kv-allocator-load-based-lease-rebalancing-enabled" class="anchored"><code>kv.allocator.load_based_lease_rebalancing.enabled</code></div></td><td>boolean</td><td><code>true</code></td><td>set to enable rebalancing of range leases based on load and latency</td><td>Dedicated/Self-Hosted</td></tr>
0 commit comments