创建列存表
最近更新时间: 2025-02-18 16:02:00
postgres=# create table t_col_test(f1 int,f2 varchar(32),f3 date) with(orientation='column');
CREATE TABLE
postgres=# \d+ t_col_test
Table "public.t_col_test"
Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
--------+-----------------------+-----------+----------+---------+----------+--------------+-------------
f1 | integer | | | | plain | |
f2 | character varying(32) | | | | extended | |
f3 | date | | | | plain | |
Options: orientation=column