Skip to content

Commit

Permalink
Update create_tables.cql
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Mar 17, 2024
1 parent ca11d3b commit 7de9b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/create_tables.cql
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ CREATE TABLE IF NOT EXISTS player_caches (
item_neutral text,
average_rank int,
) WITH CLUSTERING ORDER BY (match_id DESC);
ALTER TABLE player_caches WITH compaction = { 'class' : 'LeveledCompactionStrategy', 'sstable_size_in_mb' : 320 };
ALTER TABLE player_caches WITH compaction = { 'class' : 'LeveledCompactionStrategy', 'sstable_size_in_mb' : 512 };

CREATE TABLE IF NOT EXISTS match_blobs (
PRIMARY KEY (match_id),
Expand All @@ -84,4 +84,4 @@ CREATE TABLE IF NOT EXISTS player_temp (
account_id bigint,
blob blob
);
ALTER TABLE player_temp WITH compaction = { 'class' : 'LeveledCompactionStrategy' } AND gc_grace_seconds = 86400 AND compression = {'sstable_compression': ''};
ALTER TABLE player_temp WITH compaction = { 'class' : 'LeveledCompactionStrategy' } AND gc_grace_seconds = 86400 AND compression = {'sstable_compression': ''};

0 comments on commit 7de9b13

Please sign in to comment.