将外表数据导入到物理表中
最近更新时间: 2025-02-18 16:02:00
postgres=# insert into t_col_compress select * from t_table_text;
INSERT 0 1000000
Time: 19241.301 ms (00:19.241)
导入数据对比,导入文件大小8.6G,行数1700万
对比项目 | 行存 | 列存 | 列存(带压缩) |
---|---|---|---|
从tdx外表导入 | 100s | 158s | 137s |
copy | 129s | 198 | 169s |
大小 | 9.9G | 12G | 2.3G |