-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43ccdab
commit 2d8779c
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
|
||
-- Optimal table properties | ||
|
||
ALTER TABLE cluster | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 'ALL'}; | ||
|
||
ALTER TABLE repair_unit | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run_by_cluster | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_run_by_unit | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_segment | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'}; | ||
|
||
ALTER TABLE repair_segment_by_run_id | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_schedule | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_schedule_by_cluster_and_keyspace | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; | ||
|
||
ALTER TABLE repair_id | ||
WITH compaction = {'class': 'LeveledCompactionStrategy'} | ||
AND caching = {'rows_per_partition': 10}; |