drop table if exists shanhai.user; create table shanhai.user ( `#reg_time` DateTime('UTC'), `#account_id` String, `svrindex` UInt16, `#zone_offset` Int8 default 8, `#server_time` DateTime('UTC') default now() ) ENGINE = ReplacingMergeTree() PARTITION BY `svrindex` order by `#account_id`