

digoal=# insert into ao2_test select * from heap_test order by c2, c4, c3, c5, c1 ;
digoal=# analyze ao2_test;
ANALYZE
digoal=# select pg_size_pretty(pg_total_relation_size('ao2_test'));
pg_size_pretty
----------------
4603MB
(1 row)
以此方法,数据空间占用从500GB到4.5GB,压缩比达到了111 : 1。
物联网,选择PostgreSQL,还不错哦。
后续继续会放出PostgreSQL数据库在更多物联网细分行业的解决方案,敬请期待。
https://yq.aliyun.com/articles/18034
https://yq.aliyun.com/edu/lesson/67
传真:0755 - 2799 6625
投诉:133-2299-1235
邮箱:sale@inmiga.com