Skip to content

Commit da1600f

Browse files
committed
new doc
1 parent 8f9739b commit da1600f

File tree

9 files changed

+114
-7
lines changed

9 files changed

+114
-7
lines changed

201607/20160725_01.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系
1+
## PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系 - 例如视图依赖
22
33
### 作者
44
digoal
@@ -7,7 +7,7 @@ digoal
77
2016-07-25
88

99
### 标签
10-
PostgreSQL , 对象依赖 , depend , 递归查询
10+
PostgreSQL , 视图依赖 , 对象依赖 , depend , 递归查询
1111

1212
----
1313

201607/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
##### 20160725_04.md [《PostgreSQL Oracle 兼容性之 - 锁定执行计划(Outline system)》](20160725_04.md)
1818
##### 20160725_03.md [《mongoDB BI 分析利器 - PostgreSQL FDW (MongoDB Connector for BI)》](20160725_03.md)
1919
##### 20160725_02.md [《如何加快PostgreSQL结巴分词pg_jieba加载速度》](20160725_02.md)
20-
##### 20160725_01.md [《PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系》](20160725_01.md)
20+
##### 20160725_01.md [《PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系 - 例如视图依赖](20160725_01.md)
2121
##### 20160723_03.md [《一致性哈希在分布式数据库中的应用探索》](20160723_03.md)
2222
##### 20160723_02.md [《关键时刻HINT出彩 - PG优化器的参数优化、执行计划固化CASE》](20160723_02.md)
2323
##### 20160723_01.md [《PostgreSQL 递归死循环案例及解法》](20160723_01.md)

201905/20190514_01.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组) - resource manage
1+
## PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组, pg_cgroups) - resource manage
22
33
### 作者
44
digoal
@@ -52,6 +52,8 @@ https://github.com/MasahikoSawada/pg_cgroup
5252
## 参考
5353
https://github.com/MasahikoSawada/pg_cgroup
5454

55+
https://github.com/cybertec-postgresql/pg_cgroups
56+
5557
[《手工清理 cgroup中的page cache》](../201708/20170817_02.md)
5658

5759
[《Linux cgroup - memory子系统讲解》](../201701/20170111_02.md)

201905/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
##### 20190517_02.md [[招聘] [阿里巴巴] 招聘PostgreSQL 数据库DBA》](20190517_02.md)
1717
##### 20190517_01.md [[招聘] [上海光源-国家级应用物理研究所] 招聘PostgreSQL 数据库DBA》](20190517_01.md)
1818
##### 20190515_01.md [《PostgreSQL 12 preview - 优化器接口 - 自定义函数成本估算优化接口》](20190515_01.md)
19-
##### 20190514_01.md [《PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组) - resource manage》](20190514_01.md)
19+
##### 20190514_01.md [《PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组, pg_cgroups) - resource manage》](20190514_01.md)
2020
##### 20190509_01.md [《pipelinedb 团队加入Confluent,TimescaleDB时序插件支持准实时聚合(类流式计算)》](20190509_01.md)
2121
##### 20190508_01.md [《删除用户风险大,试试锁定用户》](20190508_01.md)
2222
##### 20190505_01.md [《PostgreSQL 权限查询与统计 - has ... privilege (例 用户、数据库维度 OWNER、connect,create,temp权限统计) , 默认权限列表查询,解读ACL》](20190505_01.md)

201909/20190928_01.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## PostgreSQL TDE 透明加密 - wait PG 13
2+
3+
### 作者
4+
digoal
5+
6+
### 日期
7+
2019-09-28
8+
9+
### 标签
10+
PostgreSQL , tde , 透明加密
11+
12+
----
13+
14+
## 背景
15+
PostgreSQL 13 将提供整个集群级别的TDE功能,初期不支持表级、表空间级、库级TDE。以最小代码量(包括后期的影响最小),满足用户安全合规需求。
16+
17+
For the past 16 months, there has been discussion about whether and how to implement Transparent Data Encryption (tde) in Postgres. Many other relational databases support tde, and some security standards require it. However, it is also debatable how much security value tde provides.
18+
19+
The tde 400-email thread became difficult for people to follow, partly because full understanding required knowledge of Postgres internals and security details. A group of people who wanted to move forward began attending a Zoom call, hosted by Ahsan Hadi. The voice format allowed for more rapid exchange of ideas, and the ability to quickly fill knowledge gaps. It was eventually decided that all-cluster encryption was the easiest to implement in the first version. Later releases will build on this.
20+
21+
Fundamentally, tde must meet three criteria — it must be secure, obviously, but it also must be done in a way that has minimal impact on the rest of the Postgres code. This has value for two reasons — first, only a small number of users will use tde, so the less code that is added, the less testing is required. Second, the less code that is added, the less likely tde will break because of future Postgres changes. Finally, tde should meet regulatory requirements. This diagram by Peter Smith illustrates the constraints.
22+
23+
There is an active TODO list to coordinate development. There is hope this can be completed in Postgres 13.
24+
25+
26+
![pic](20190928_01_pic_001.png)
27+
28+
## 参考
29+
https://momjian.us/main/blogs/pgblog/2019.html#September_27_2019
30+
31+
http://momjian.us/main/img.html?tde.png
32+
33+
https://wiki.postgresql.org/wiki/Transparent_Data_Encryption#TODO_for_Full-Cluster_Encryption
34+
35+
36+
37+
<a rel="nofollow" href="http://info.flagcounter.com/h9V1" ><img src="http://s03.flagcounter.com/count/h9V1/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0" ></a>
38+
39+
40+
## [digoal's 大量PostgreSQL文章入口](https://github.com/digoal/blog/blob/master/README.md "22709685feb7cab07d30f30387f0a9ae")
41+
42+
43+
## [免费领取阿里云RDS PostgreSQL实例、ECS虚拟机](https://free.aliyun.com/ "57258f76c37864c6e6d23383d05714ea")
44+

201909/20190928_01_pic_001.png

14 KB
Loading

201909/20190928_02.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## PostgreSQL pl/proxy Function-based sharding for PostgreSQL - 2.9 发布 支持PG 12
2+
3+
### 作者
4+
digoal
5+
6+
### 日期
7+
2019-09-28
8+
9+
### 标签
10+
PostgreSQL , pl/proxy , 新版本
11+
12+
----
13+
14+
## 背景
15+
https://plproxy.github.io
16+
17+
plproxy是基于函数接口的PG sharding插件,可以用于postgresql的数据库分库分表,非常灵活,性能损耗很低。早在200x年就被skype广泛使用。
18+
19+
[《PostgreSQL 最佳实践 - 水平分库(基于plproxy)》](../201608/20160824_02.md)
20+
21+
[《阿里云ApsaraDB RDS for PostgreSQL 最佳实践 - 4 水平分库(plproxy) 之 节点扩展》](../201512/20151220_04.md)
22+
23+
[《阿里云ApsaraDB RDS for PostgreSQL 最佳实践 - 3 水平分库(plproxy) vs 单机 性能》](../201512/20151220_03.md)
24+
25+
[《阿里云ApsaraDB RDS for PostgreSQL 最佳实践 - 2 教你RDS PG的水平分库(plproxy)》](../201512/20151220_02.md)
26+
27+
[《A Smart PostgreSQL extension plproxy 2.2 practices》](../201110/20111025_01.md)
28+
29+
[《使用Plproxy设计PostgreSQL分布式数据库》](../201005/20100511_01.md)
30+
31+
2.9版本放出,支持pg 11,12。
32+
33+
34+
2019-09-15 - PL/Proxy 2.9 - “Don’t Look Into The Eye”
35+
36+
Fixes:
37+
38+
Dynamic record-type functions can crash backend if called in scalar context.
39+
Changes:
40+
41+
- Support for PG11 and PG12.
42+
- Drop support for PG9.2 and earlier.
43+
- Drop local Debian packaging, it seems unused.
44+
- Drop support for keepalive cluster options. These are replaced by keepalive support in libpq. Removing OS-specific code makes PL/Proxy also more portable.
45+
46+
## cank
47+
https://plproxy.github.io
48+
49+
50+
<a rel="nofollow" href="http://info.flagcounter.com/h9V1" ><img src="http://s03.flagcounter.com/count/h9V1/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0" ></a>
51+
52+
53+
## [digoal's 大量PostgreSQL文章入口](https://github.com/digoal/blog/blob/master/README.md "22709685feb7cab07d30f30387f0a9ae")
54+
55+
56+
## [免费领取阿里云RDS PostgreSQL实例、ECS虚拟机](https://free.aliyun.com/ "57258f76c37864c6e6d23383d05714ea")
57+

201909/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
### 文章列表
44
----
5+
##### 20190928_02.md [《PostgreSQL pl/proxy Function-based sharding for PostgreSQL - 2.9 发布 支持PG 12》](20190928_02.md)
6+
##### 20190928_01.md [《PostgreSQL TDE 透明加密 - wait PG 13》](20190928_01.md)
57
##### 20190922_04.md [《PostgreSQL Incremental View Maintenance - ivm (增量物化视图MATERIALIZED VIEW)进化》](20190922_04.md)
68
##### 20190922_03.md [《PostgreSQL PRO 特性 - rdma 协议使用 - libpq - rsocket API》](20190922_03.md)
79
##### 20190922_02.md [《PostgreSQL PRO 特性 - 内置连接池 - build-in pool 相关参数》](20190922_02.md)

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ digoal's|PostgreSQL|文章|归类
5757

5858
### 所有文档如下
5959
----
60+
##### 201909/20190928_02.md [《PostgreSQL pl/proxy Function-based sharding for PostgreSQL - 2.9 发布 支持PG 12》](201909/20190928_02.md)
61+
##### 201909/20190928_01.md [《PostgreSQL TDE 透明加密 - wait PG 13》](201909/20190928_01.md)
6062
##### 201909/20190922_04.md [《PostgreSQL Incremental View Maintenance - ivm (增量物化视图MATERIALIZED VIEW)进化》](201909/20190922_04.md)
6163
##### 201909/20190922_03.md [《PostgreSQL PRO 特性 - rdma 协议使用 - libpq - rsocket API》](201909/20190922_03.md)
6264
##### 201909/20190922_02.md [《PostgreSQL PRO 特性 - 内置连接池 - build-in pool 相关参数》](201909/20190922_02.md)
@@ -163,7 +165,7 @@ digoal's|PostgreSQL|文章|归类
163165
##### 201905/20190517_02.md [[招聘] [阿里巴巴] 招聘PostgreSQL 数据库DBA》](201905/20190517_02.md)
164166
##### 201905/20190517_01.md [[招聘] [上海光源-国家级应用物理研究所] 招聘PostgreSQL 数据库DBA》](201905/20190517_01.md)
165167
##### 201905/20190515_01.md [《PostgreSQL 12 preview - 优化器接口 - 自定义函数成本估算优化接口》](201905/20190515_01.md)
166-
##### 201905/20190514_01.md [《PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组) - resource manage》](201905/20190514_01.md)
168+
##### 201905/20190514_01.md [《PostgreSQL 用户、会话、业务级 资源隔离(cgroup, 进程组, pg_cgroups) - resource manage》](201905/20190514_01.md)
167169
##### 201905/20190509_01.md [《pipelinedb 团队加入Confluent,TimescaleDB时序插件支持准实时聚合(类流式计算)》](201905/20190509_01.md)
168170
##### 201905/20190508_01.md [《删除用户风险大,试试锁定用户》](201905/20190508_01.md)
169171
##### 201905/20190505_01.md [《PostgreSQL 权限查询与统计 - has ... privilege (例 用户、数据库维度 OWNER、connect,create,temp权限统计) , 默认权限列表查询,解读ACL》](201905/20190505_01.md)
@@ -1547,7 +1549,7 @@ digoal's|PostgreSQL|文章|归类
15471549
##### 201607/20160725_04.md [《PostgreSQL Oracle 兼容性之 - 锁定执行计划(Outline system)》](201607/20160725_04.md)
15481550
##### 201607/20160725_03.md [《mongoDB BI 分析利器 - PostgreSQL FDW (MongoDB Connector for BI)》](201607/20160725_03.md)
15491551
##### 201607/20160725_02.md [《如何加快PostgreSQL结巴分词pg_jieba加载速度》](201607/20160725_02.md)
1550-
##### 201607/20160725_01.md [《PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系》](201607/20160725_01.md)
1552+
##### 201607/20160725_01.md [《PostgreSQL 使用递归SQL 找出数据库对象之间的依赖关系 - 例如视图依赖](201607/20160725_01.md)
15511553
##### 201607/20160723_03.md [《一致性哈希在分布式数据库中的应用探索》](201607/20160723_03.md)
15521554
##### 201607/20160723_02.md [《关键时刻HINT出彩 - PG优化器的参数优化、执行计划固化CASE》](201607/20160723_02.md)
15531555
##### 201607/20160723_01.md [《PostgreSQL 递归死循环案例及解法》](201607/20160723_01.md)

0 commit comments

Comments
 (0)