Remove compression from content columns

main
Max Ignatenko 2024-04-13 18:42:26 +01:00
parent fe19806af2
commit 7af2a3f8be
2 changed files with 1 additions and 14 deletions

View File

@ -1,8 +1,7 @@
alter table records alter content set compression lz4;
alter table records rename to records_like;
create table records
(like records_like including defaults including compression)
(like records_like including defaults)
partition by list (collection);
drop index idx_repo_record_key;

View File

@ -1,12 +0,0 @@
-- Only affects future writes
alter table records_like alter content set compression lz4;
alter table records alter content set compression lz4;
alter table records_default alter content set compression lz4;
alter table records_post alter content set compression lz4;
alter table records_follow alter content set compression lz4;
alter table records_block alter content set compression lz4;
alter table records_repost alter content set compression lz4;
alter table records_profile alter content set compression lz4;
alter table records_list alter content set compression lz4;
alter table records_listblock alter content set compression lz4;
alter table records_listitem alter content set compression lz4;