Skip to content

Commit 2fb7835

Browse files
committed
improve
1 parent 184f5c1 commit 2fb7835

11 files changed

+87
-0
lines changed

201801/20180121_01.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ postgresql.auto.conf是数据库alter system动态修改数据库参数的配置
580580
重要议题8:企业辩论赛。
581581

582582
参会企业:索易软件、温州大学、温州联通、文章数勘察测绘研究院、温州科技学院、温州易天、温州达古科技有限公司、温州老年病医院、。。。等。
583+
584+
![pic](20180121_01_pic_021.jpg)
583585

584586
# 二、PG全栈数据库在线视频
585587
[《PostgreSQL 2~3 天培训》](../201901/20190105_01.md)

201801/20180121_01_pic_021.jpg

1.91 MB
Loading

201905/20190514_01.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ PG为进程架构,利用Linux的cgroup功能,可以限定进程的资源使
2525

2626
每一个连接对应一个数据库进程。将这些进程分配到对应CGROUP资源组,限定资源。
2727

28+
目前edb epas采用类似原理,支持了数据库的用户级资源隔离。
29+
30+
[《PostgreSQL 商用版本EPAS(阿里云ppas(Oracle 兼容版)) HTAP功能之资源隔离管理 - CPU与刷脏资源组管理》](../201801/20180113_01.md)
31+
2832
## 按核限定
2933
![pic](20190514_01_pic_001.jpg)
3034
1、选择按核数限定
@@ -60,6 +64,8 @@ PG为进程架构,利用Linux的cgroup功能,可以限定进程的资源使
6064

6165
[《cgroup告诉你如何计算 PostgreSQL 数据库实例用了多少内存》](../201509/20150926_01.md)
6266

67+
[《PostgreSQL 商用版本EPAS(阿里云ppas(Oracle 兼容版)) HTAP功能之资源隔离管理 - CPU与刷脏资源组管理》](../201801/20180113_01.md)
68+
6369

6470

6571
<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>

201905/20190520_01.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
## powa4 PostreSQL Workload Analyzer - PostgreSQL监控工具、带WEB展示
2+
3+
### 作者
4+
digoal
5+
6+
### 日期
7+
2019-05-20
8+
9+
### 标签
10+
PostgreSQL , powa , PostreSQL Workload Analyzer
11+
12+
----
13+
14+
## 背景
15+
PoWA (PostgreSQL Workload Analyzer) is a performance tool for PostgreSQL 9.4 and newer allowing to collect, aggregate and purge statistics on multiple PostgreSQL instances from various Stats Extensions.
16+
17+
PoWA通过一些插件来统计PG数据库的允许数据,同时进行分析和诊断。
18+
19+
依赖插件如下:
20+
21+
1、pg_stat_statements,TOP SQL统计
22+
23+
2、pg_qualstats,SQL的真实过滤性、选择性统计(where, join),用于判断是否需要索引
24+
25+
3、pg_stat_kcache,buffer,os cache, disk HINT统计
26+
27+
4、pg_wait_sampling,等待事件采样统计
28+
29+
[《PostgreSQL 等待事件 及 等待采样统计(pg_wait_sampling)》](../201610/20161006_01.md)
30+
31+
5、pg_track_settings,跟踪数据库配置的改变
32+
33+
6、HypoPG,虚拟索引(用于索引推荐)
34+
35+
支持远程采集数据,支持将数据存储到其他PG数据库。
36+
37+
[DEMO](https://demo-powa.anayrat.info/login/?next=%2F)
38+
39+
## 例子
40+
qps
41+
42+
![pic](20190520_01_pic_001.jpg)
43+
44+
hit
45+
46+
![pic](20190520_01_pic_002.jpg)
47+
48+
SQL洞察
49+
50+
![pic](20190520_01_pic_003.jpg)
51+
52+
等待时间统计
53+
54+
![pic](20190520_01_pic_004.jpg)
55+
56+
索引推荐
57+
58+
![pic](20190520_01_pic_005.jpg)
59+
60+
61+
62+
## 参考
63+
https://rjuju.github.io/postgresql/2019/05/17/powa-4-with-remote-mode-beta-is-available.html
64+
65+
https://powa.readthedocs.io/en/latest/
66+
67+
https://demo-powa.anayrat.info/
68+
69+
70+
<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>
71+
72+
73+
## [digoal's 大量PostgreSQL文章入口](https://github.com/digoal/blog/blob/master/README.md "22709685feb7cab07d30f30387f0a9ae")
74+
75+
76+
## [免费领取阿里云RDS PostgreSQL实例、ECS虚拟机](https://free.aliyun.com/ "57258f76c37864c6e6d23383d05714ea")
77+

201905/20190520_01_pic_001.jpg

105 KB
Loading

201905/20190520_01_pic_002.jpg

143 KB
Loading

201905/20190520_01_pic_003.jpg

299 KB
Loading

201905/20190520_01_pic_004.jpg

144 KB
Loading

201905/20190520_01_pic_005.jpg

129 KB
Loading

201905/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
### 文章列表
44
----
5+
##### 20190520_01.md [《powa4 PostreSQL Workload Analyzer - PostgreSQL监控工具、带WEB展示》](20190520_01.md)
56
##### 20190517_03.md [[招聘] [国家电网旗下 - 许继] 招聘PostgreSQL 数据库DBA》](20190517_03.md)
67
##### 20190517_02.md [[招聘] [阿里巴巴] 招聘PostgreSQL 数据库DBA》](20190517_02.md)
78
##### 20190517_01.md [[招聘] [上海光源-国家级应用物理研究所] 招聘PostgreSQL 数据库DBA》](20190517_01.md)

0 commit comments

Comments
 (0)