Skip to content

Commit 84992f5

Browse files
committed
improve
1 parent a7c4962 commit 84992f5

File tree

6 files changed

+56
-8
lines changed

6 files changed

+56
-8
lines changed

197001/20181218_02.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ XX公司,本是某运营商的最大软件供货商,由于没有认识到去
332332
XX公司,在功能机时代独领风骚,在智能机刚开始兴起时,由于没有快速转变赛道,市场格局发生了变化,最终错过。
333333

334334
## PDF下载
335-
[PG 生态构建暨PG社区工作汇报](20181218_02_pdf_001.pdf)
335+
[PG 生态构建暨PG社区工作汇报](../201801/20180121_01_pdf_002.pdf)
336336

337337

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

197001/20181218_02_pdf_001.pdf

-1.28 MB
Binary file not shown.

197001/20181222_01.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ http://www.woshipm.com/it/1712278.html
5858
![pic](20181222_01_pic_004.png)
5959

6060

61-
深入了解企业数据库需求
61+
### 深入了解企业数据库需求
6262

6363
1、了解企业介绍,所属行业,竞争对手,行业地位,历史,定位,核心价值,地域分布,典型客户,是否上市公司,业务规模,员工数,员工学历分布,员工岗位分布(管理、技术、市场、客服、。。。)
6464

@@ -130,7 +130,7 @@ http://www.woshipm.com/it/1712278.html
130130

131131
34、企业提前准备交流的问题。
132132

133-
### 最终用户,简化问答
133+
### 简化问答
134134
1、公司,公司主营业务介绍,核心价值介绍,主要客户介绍,属于什么行业?
135135

136136
2、联系人,职位,
@@ -243,10 +243,16 @@ http://www.woshipm.com/it/1712278.html
243243

244244
客户答疑。
245245

246-
## 流量扩大
247-
建立与企业、高校、小镇调度沟通渠道(群、微信、官网、钉钉群)
246+
## (圈子)流量扩大
247+
建立与企业、高校、小镇沟通渠道(群、微信、官网、钉钉群)
248+
249+
PostgreSQL 进阶群(钉钉)
248250

249251
![pic](../pic/dingding_pg_chat.png)
252+
253+
个人微信,欢迎深入交流
254+
255+
![pic](../pic/digoal_weixin.jpg)
250256

251257

252258
## 后续

197001/20190114_01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ https://wiki.postgresql.org/wiki/PostgreSQL_derived_databases
102102

103103
大量国产数据库厂商在内核、管控层面支持PG,
104104

105-
全球前3的云厂商均支持PG
105+
全球知名云厂商均支持PG
106106

107107
PG已形成了用户、软件开发商、服务商、数据库厂商、云厂商的商业闭环。
108108

201805/20180524_02.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,24 @@ https://github.com/digoal/blog/blob/master/201708/20170826_01.md
494494
6、《PostgreSQL 在铁老大订单系统中的schemaless设计和性能压测》
495495

496496
https://github.com/digoal/blog/blob/master/201709/20170927_03.md
497+
498+
[《PostgreSQL pipelinedb 流计算插件 - IoT应用 - 实时轨迹聚合》](../201811/20181101_02.md)
499+
500+
[《HTAP数据库 PostgreSQL 场景与性能测试之 33 - (OLAP) 物联网 - 线性字段区间实时统计》](../201711/20171107_34.md)
501+
502+
[《HTAP数据库 PostgreSQL 场景与性能测试之 27 - (OLTP) 物联网 - FEED日志, 流式处理 与 阅后即焚 (CTE)》](../201711/20171107_28.md)
503+
504+
[《HTAP数据库 PostgreSQL 场景与性能测试之 24 - (OLTP) 物联网 - 时序数据并发写入(含时序索引BRIN)》](../201711/20171107_25.md)
505+
506+
[《HTAP数据库 PostgreSQL 场景与性能测试之 15 - (OLTP) 物联网 - 查询一个时序区间的数据》](../201711/20171107_16.md)
507+
508+
[《SQL流式案例 - 旋转门压缩(前后计算相关滑窗处理例子)》](../201801/20180107_01.md)
509+
510+
[《PostgreSQL 三角函数的用法举例 - 已知3点求任意夹角(旋转门续)》](../201608/20160816_01.md)
511+
512+
[《旋转门数据压缩算法在PostgreSQL中的实现 - 流式压缩在物联网、监控、传感器等场景的应用》](../201608/20160813_01.md)
513+
514+
https://commitfest.postgresql.org/21/1294/
497515

498516

499517
### 第13期:PostgreSQL 图式关系数据应用实践
@@ -520,6 +538,8 @@ https://github.com/digoal/blog/blob/master/201804/20180406_01.md
520538
5、《PostgrSQL 递归SQL的几个应用 - 极客与正常人的思维》
521539

522540
https://github.com/digoal/blog/blob/master/201705/20170519_01.md
541+
542+
[《PostgreSQL 图式搜索(graph search)实践 - 百亿级图谱,毫秒响应》](../201801/20180102_04.md)
523543

524544

525545
### 第14期:PostgreSQL 数据清洗、采样、脱敏、批处理、合并

201901/20190113_01.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Oracle nested table功能介绍如下
1717

1818
http://www.orafaq.com/wiki/NESTED_TABLE
1919

20+
NESTED TABLE is an Oracle data type used to support columns containing multivalued attributes, in this case, columns that can hold an entire sub-table.
21+
2022
Create a table with NESTED TABLE column:
2123

2224
```
@@ -66,12 +68,17 @@ SQL> SELECT id, COLUMN_VALUE FROM nested_table t1, TABLE(t1.col1) t2;
6668
```
6769

6870
## PostgreSQL nested table兼容 - array, complex type
71+
PostgreSQL 使用数组+复合类型,实现同样场景需求。
6972

70-
1、创建复合类型
73+
1、创建复合类型(如果系统中曾经已经创建了这个类型,或者曾经已经创建过一个即将使用的TABLE,则不需要再次创建)
7174

7275
```
7376
postgres=# create type thisisnesttable1 as (c1 int, c2 int, c3 text, c4 timestamp);
7477
CREATE TYPE
78+
79+
or
80+
81+
create table nesttablename (...); -- 隐含创建composite type
7582
```
7683

7784
2、创建nested table (thisisnesttable1作为hello表的nested table)
@@ -86,7 +93,22 @@ CREATE TABLE
8693
```
8794
postgres=# insert into hello values (1,'test',array['(1,2,"abcde","2018-01-01 12:00:00")'::thisisnesttable1, '(2,3,"abcde123","2018-01-01 12:00:00")'::thisisnesttable1]);
8895
INSERT 0 1
89-
```
96+
97+
或使用row构造法
98+
99+
insert into hello values (
100+
1,
101+
'test',
102+
(array
103+
[
104+
row(1,2,'hello',now()),
105+
row(1,3,'hello',now())
106+
]
107+
)::thisisnesttable1[]
108+
);
109+
```
110+
111+
https://www.postgresql.org/docs/11/sql-expressions.html#SQL-SYNTAX-ROW-CONSTRUCTORS
90112

91113
4、查询
92114

0 commit comments

Comments
 (0)