将外表数据导入到物理表中
最近更新时间: 2025-10-11 18:10: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 |