mirror of https://github.com/sipwise/db-schema.git
11 lines
448 B
11 lines
448 B
use sipstats;
|
|
|
|
alter ignore table messages remove partitioning;
|
|
alter table messages partition by range (id) (partition pmax values less than maxvalue);
|
|
|
|
alter ignore table message_packets remove partitioning;
|
|
alter table message_packets partition by range (message) (partition pmax values less than maxvalue);
|
|
|
|
alter ignore table packets remove partitioning;
|
|
alter table packets partition by range (id) (partition pmax values less than maxvalue);
|