0
点赞
收藏
分享

微信扫一扫

postgresql 分表

老北京的热干面 2022-09-05 阅读 255
sql数据库
create table test_part
(
    id   int,
    name varchar,
    age  numeric
) partition by range (age);
create table test_part_yong partition of test_part for values from (MINVALUE ) to (25);
create table test_part_medium partition of test_part for values from (25) to (75);
create table test_part_old partition of test_part for values from (75) to (maxvalue );
举报

相关推荐

0 条评论