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
CNDB-12956: Vector CC Release Issue: Tenant Assignment Failure on Kube AWS 701031671627: The minimum sstable size 1.000GiB cannot be larger than the target size's lower bound 724.077MiB (#1567)
…e AWS 701031671627: The minimum sstable size 1.000GiB cannot be larger
than the target size's lower bound 724.077MiB
Revert "CNDB-10455: Automatically tune compaction for vector tables
(#1265)"
This reverts commit 8305834.
see CNDB-12956
Copy file name to clipboardExpand all lines: src/java/org/apache/cassandra/db/compaction/UnifiedCompactionStrategy.md
-16Lines changed: 0 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -463,10 +463,6 @@ the span of the lower-density ones.
463
463
464
464
UCS accepts these compaction strategy parameters:
465
465
466
-
*`override_ucs_config_for_vector_tables` Allows different configurations for vector and non-vector tables. When set
467
-
to `true`, if a table has a column of `VectorType`, the "vector" parameters will be used instead of the regular
468
-
parameters. For example, `vector_min_sstable_size` will be used, and `min_sstable_size` will be ignored.
469
-
The default value is `false` which disables this feature.
470
466
*`scaling_parameters` A list of per-level scaling parameters, specified as L*f*, T*f*, N, or an integer value
471
467
specifying $w$ directly. If more levels are present than the length of this list, the last value is used for all
472
468
higher levels. Often this will be a single parameter, specifying the behaviour for all levels of the
@@ -481,8 +477,6 @@ UCS accepts these compaction strategy parameters:
481
477
compaction to be promoted to the next level) and a fan factor of 2. This can also be specified as T2 or L2.
482
478
The default value is T4, matching the default STCS behaviour with threshold 4. To select an equivalent of LCS
483
479
with its default fan factor 10, use L10.
484
-
*`vector_scaling_parameters` A list of per-level scaling parameters used for vector tables when `override_ucs_config_for_vector_tables=true`.
485
-
The default value is -8 or L10.
486
480
*`target_sstable_size` The target sstable size $t$, specified as a human-friendly size in bytes (e.g. 100 MiB =
487
481
$100\cdot 2^{20}$ B or (10 MB = 10,000,000 B)). The strategy will split data in shards that aim to produce sstables
488
482
of size between $t / \sqrt 2$ and $t \cdot \sqrt 2$.
@@ -491,14 +485,10 @@ UCS accepts these compaction strategy parameters:
491
485
Increase this if the memory pressure from the number of sstables in the system becomes too high. Also see
492
486
`sstable_growth` below.
493
487
The default value is 1 GiB.
494
-
*`vector_target_sstable_size` The target sstable size used for vector tables when `override_ucs_config_for_vector_tables=true`.
495
-
The default value is 5GiB.
496
488
*`base_shard_count` The minimum number of shards $b$, used for levels with the smallest density. This gives the
497
489
minimum compaction concurrency for the lowest levels. A low number would result in larger L0 sstables but may limit
498
490
the overall maximum write throughput (as every piece of data has to go through L0). The base shard count only applies after `min_sstable_size` is reached.
499
491
The default value is 4 for all tables.
500
-
*`vector_base_shard_count` The base shard count used for vector tables when `override_ucs_config_for_vector_tables=true`.
501
-
The default value is 1.
502
492
*`sstable_growth` The sstable growth component $\lambda$, applied as a factor in the shard exponent calculation.
503
493
This is a number between 0 and 1 that controls what part of the density growth should apply to individual sstable
504
494
size and what part should increase the number of shards. Using a value of 1 has the effect of fixing the shard
@@ -513,23 +503,17 @@ UCS accepts these compaction strategy parameters:
513
503
two can be further tweaked by increasing $\lambda$ to get fewer but bigger sstables on the top level, and decreasing
514
504
it to favour a higher count of smaller sstables.
515
505
The default value is 0.333 meaning the sstable size grows with the square root of the growth of the shard count.
516
-
*`vector_sstable_growth` The sstable growth component used for vector tables when `override_ucs_config_for_vector_tables=true`.
517
-
The default value is 1 which means the shard count will be fixed to the base value.
518
506
*`min_sstable_size` The minimum sstable size $m$, applicable when the base shard count will result is sstables
519
507
that are considered too small. If set, the strategy will split the space into fewer than the base count shards, to
520
508
make the estimated sstables size at least as large as this value. A value of 0 disables this feature. A value of `auto` sets the minimum sstable size to the size
521
509
of sstables resulting from flushes. The default value is 100MiB.
522
-
*`vector_min_sstable_size` The minimum sstable size used for vector tables when `override_ucs_config_for_vector_tables=true`.
523
-
The default value is 1024MiB.
524
510
*`reserved_threads` Specifies the number of threads to reserve per level. Any remaining threads will take
525
511
work according to the prioritization mechanism (i.e. higher overlap first). Higher reservations mean better
526
512
responsiveness of the compaction strategy to new work, or smoother performance, at the expense of reducing the
527
513
overall utilization of compaction threads. Higher values work best with high `concurrent_compactors` values.
528
514
The default value is `max`, which spreads all threads as close to evenly between levels as possible. It is recommended
529
515
to keep this option and the next at their defaults, which should offer a good balance between responsiveness and
530
516
thread utilization.
531
-
*`vector_reserved_threads` Specifies the number of threads to reserve per level for vector tables when `override_ucs_config_for_vector_tables=true`.
532
-
The default value is `max`.
533
517
*`reservations_type` Specifies whether reservations can be used by lower levels. If set to `per_level`, the
534
518
reservations are only used by the specific level. If set to `level_or_below`, the reservations can be used by this
0 commit comments