Skip to content

Commit 2117aa7

Browse files
committed
improve
1 parent 4d5f4e7 commit 2117aa7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

201709/20170923_01.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ Time: 41.558 ms
747747

748748
7、ltree树类型
749749

750+
https://www.postgresql.org/docs/9.6/static/ltree.html
751+
750752
## 七、Greenplum
751753
注意前面已经提到了Greenplum的TP能力很弱,如果设备心跳实时更新、订单实时写入、实时更新,可能会扛不住压力。(目前greenplum update, delete都是锁全表的,很大的锁。)
752754

@@ -938,6 +940,22 @@ Greenplum 暂不支持递归语法,需要自定义UDF实现。
938940
## 九、小结
939941
对于本例,建议还是使用PostgreSQL 10。性能方面,TP和AP都满足需求。功能方面也完全满足需求,而且有很多可以利用的特性来提升用户体验。
940942

943+
1、递归查询
944+
945+
2、并行查询
946+
947+
3、JOIN方法
948+
949+
4、继承(分区表)
950+
951+
5、触发器
952+
953+
6、复合类型
954+
955+
7、ltree树类型
956+
957+
https://www.postgresql.org/docs/9.6/static/ltree.html
958+
941959
将来阿里云会推出PolarDB for PostgreSQL,100TB级,共享存储,一写多读架构。对标AWSAurora与Oracle RAC。
942960

943961
本例性能对比表格:

0 commit comments

Comments
 (0)