德哥的PostgreSQL私房菜 - 史上最屌PG资料合集

本文涉及的产品
云原生数据库 PolarDB PostgreSQL 版,企业版 4核16GB
推荐场景:
HTAP混合负载
云原生数据库 PolarDB 分布式版,标准版 2核8GB
云数据库 RDS MySQL,集群版 2核4GB 100GB
推荐场景:
搭建个人博客
简介: 看完并理解这些文章,相信你会和我一样爱上PostgreSQL,并成为PostgreSQL的布道者。 沉稳的外表无法掩饰PG炙热的内心 。 扩展阅读,用心感受PostgreSQL 内核扩展 《找对业务G点, 体验酸爽 - PostgreSQL内核扩展指南》https://yq.

看完并理解这些文章,相信你会和我一样爱上PostgreSQL,并成为一名PostgreSQL的布道者。

资料不断更新中... ...

沉稳的外表无法掩饰PG炙热的内心

扩展阅读,用心感受PostgreSQL


内核扩展

《找对业务G点, 体验酸爽 - PostgreSQL内核扩展指南》
https://yq.aliyun.com/articles/55981

《当物流调度遇见PostgreSQL - GIS, 路由, 机器学习 (狮子,女巫,魔衣橱)》
https://yq.aliyun.com/articles/57857

《弱水三千,只取一瓢,当图像搜索遇见PostgreSQL (Haar wavelet)》
https://yq.aliyun.com/articles/58246

《用PostgreSQL支持含有更新,删除,插入的实时流式计算》
https://yq.aliyun.com/articles/30985

《PostgreSQL 内核扩展之 - 管理十亿级3D扫描数据》
https://yq.aliyun.com/articles/57095

《PostgreSQL 内核扩展之 - ElasticSearch同步插件》
https://yq.aliyun.com/articles/56824

《为了部落 - 如何通过PostgreSQL基因配对,产生优良下一代》
https://yq.aliyun.com/articles/55869

《PostgreSQL 结巴分词》
https://yq.aliyun.com/articles/58007

《PostgreSQL 如何高效解决 按任意字段分词检索的问题 - case 1》
https://yq.aliyun.com/articles/58006

《使用阿里云PostgreSQL zhparser时不可不知的几个参数》
https://yq.aliyun.com/articles/7730

《如何用PostgreSQL解决一个人工智能语义去重的小问题》
https://yq.aliyun.com/articles/25899

《mongoDB BI 分析利器 - PostgreSQL FDW (MongoDB Connector for BI)》
https://yq.aliyun.com/articles/57987

《关键时刻HINT出彩 - PG优化器的参数如何优化、执行计划如何固化》
https://yq.aliyun.com/articles/57945

《PostgreSQL Oracle兼容性之 - 锁定执行计划 (Outline system)》
https://yq.aliyun.com/articles/57999

《使用PostgreSQL 流复制decode 对接kafka,实现数据跨应用融合》
http://www.confluent.io/blog/bottled-water-real-time-integration-of-postgresql-and-kafka/

《PostgreSQL 内存表》
https://yq.aliyun.com/articles/59247


场景与优化

《PostgreSQL 如何潇洒的处理每天上百TB的数据增量》
https://yq.aliyun.com/articles/8528

《PostgreSQL "为秒杀而生" 的feature》
https://yq.aliyun.com/articles/3010

《PostgreSQL独孤九式搞定物联网》
https://yq.aliyun.com/articles/52405

《PostgreSQL 用CPU "硬解码" 提升1倍 数值运算能力 助力金融大数据量计算》
https://yq.aliyun.com/articles/7482

《PostgreSQL 百亿数据 秒级响应 正则及模糊查询》
https://yq.aliyun.com/articles/7444

《PostgreSQL 1000亿数据量 正则匹配 速度与激情》
https://yq.aliyun.com/articles/7549

《PostgreSQL 百亿地理位置数据 近邻查询性能优化》
https://yq.aliyun.com/articles/2999

《PostgreSQL 如何实现upsert与新旧数据自动分离》
https://yq.aliyun.com/articles/52403

《PostgreSQL 金融行业高可用和容灾解决方案》
https://yq.aliyun.com/articles/297


大数据实践

《Greenplum 数据分布黄金法则 - 论分布列与分区的选择》
https://yq.aliyun.com/articles/57822

《Greenplum行存与列存的选择以及转换方法》
https://yq.aliyun.com/articles/59132

《阿里云ApsaraDB RDS用户 - OLAP最佳实践》
https://yq.aliyun.com/articles/57778

《Greenplum 资源隔离的原理与源码分析》
https://yq.aliyun.com/articles/57763

《解放程序猿双手 - 多维分析 CASE》
https://yq.aliyun.com/articles/53750

《一致性哈希在分布式数据库中的应用探索》
https://yq.aliyun.com/articles/57954

《PostgreSQL 9.5新特性 width_bucket 位置插值,展示柱状图》
https://yq.aliyun.com/articles/2642

《PostgreSQL 9.5 新特性 高斯(正态)分布和指数分布 数据生成器》
https://yq.aliyun.com/articles/2639

《一个简单算法可以帮助物联网,金融 用户 节约98%的数据存储成本》
https://yq.aliyun.com/articles/18042

《开源数据库 PostgreSQL 攻克并行计算难题》
https://yq.aliyun.com/articles/44655

《PostgreSQL 并行计算 - 助力实时精准营销应用》
https://yq.aliyun.com/articles/44649

《PostgreSQL 9.6 并行计算 优化器算法浅析》
https://yq.aliyun.com/articles/59180

《PostgreSQL 并行计算 在 xfs, ext4 下的表现》
https://yq.aliyun.com/articles/53985

《PostgreSQL 计算 任意类型 字段之间的线性相关性》
https://yq.aliyun.com/articles/18038

《HLL 估值算法在PostgreSQL大数据 估值计算中的应用》
http://blog.163.com/digoal@126/blog/static/16387704020131264480325/
http://blog.163.com/digoal@126/blog/static/1638770402013127917876/
http://blog.163.com/digoal@126/blog/static/16387704020131288553810/

《PostgreSQL 流式计算数据库pipelineDB》
http://www.pipelinedb.com/

《旋转门数据压缩算法在PostgreSQL中的实现》
https://yq.aliyun.com/articles/59101

《PostgreSQL 三角函数的用法举例 - 已知3点求夹角(旋转门续)》
https://yq.aliyun.com/articles/59175

《PostgreSQL 文本数据分析实践之 - 相似度分析》
https://yq.aliyun.com/articles/59212


最佳实践

《固若金汤 - PostgreSQL pgcrypto加密插件》
https://yq.aliyun.com/articles/58377

《PostgreSQL 物联网黑科技 - 瘦身500倍的索引(范围索引 BRIN)》
https://yq.aliyun.com/articles/27860

《PostgreSQL 物联网黑科技 - 阅后即焚》
https://yq.aliyun.com/articles/27722

《如何用PostgreSQL解决一个人工智能 语义去重 的小问题》
https://yq.aliyun.com/articles/25899

《PostgreSQL 老湿机图解平安科技遇到的垃圾回收"坑",及解法》
https://yq.aliyun.com/articles/57710

《PostgreSQL雕虫小技,分组TOP性能提升44倍》
https://yq.aliyun.com/articles/57315

《PostgreSQL 9.6 黑科技 bloom 算法索引,一个索引支撑任意列组合查询》
https://yq.aliyun.com/articles/51131

《PostgreSQL 9.6 攻克金融级多副本可靠性问题》
https://yq.aliyun.com/articles/45518

《distinct xx和count(distinct xx)的 变态优化方法》
https://yq.aliyun.com/articles/39689

《PostgreSQL 百亿级数据范围查询, 分组排序窗口取值 变态优化 case》
https://yq.aliyun.com/articles/39680

《中文模糊查询性能优化 by PostgreSQL trgm》
https://yq.aliyun.com/articles/39033

《PostgreSQL Oracle兼容性之 - connect by》
https://yq.aliyun.com/articles/54657

《论云数据库编程能力的重要性》
https://yq.aliyun.com/articles/38377

《使用sysbench测试阿里云RDS PostgreSQL性能》
https://yq.aliyun.com/articles/35517

《PostgreSQL merge json的正确姿势》
https://yq.aliyun.com/articles/54646

《PostgreSQL 在路上的特性 - 远离触发器, 拥抱内置分区》
https://yq.aliyun.com/articles/54456

《PostgreSQL 如何轻松搞定行驶、运动轨迹合并和切分》
https://yq.aliyun.com/articles/54445

《在PostgreSQL中如何生成kmean算法的测试数据》
https://yq.aliyun.com/articles/53992

《在PostgreSQL中如何生成线性相关的测试数据》
https://yq.aliyun.com/articles/53993

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 1 教你做RDS性能测试》
https://yq.aliyun.com/articles/202

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 2 水平分库的设计和实现》
https://yq.aliyun.com/articles/203

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 3 水平分库 vs 单机 性能》
https://yq.aliyun.com/articles/204

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 4 水平分库 之 节点扩展》
https://yq.aliyun.com/articles/205

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 5 长短连接测试》
https://yq.aliyun.com/articles/206

《阿里云 ApsaraDB for PostgreSQL 最佳实践 - 6 任意时间点恢复》
https://yq.aliyun.com/articles/207

《PostgreSQL 最佳实践 - 读写分离》
https://yq.aliyun.com/articles/59377

《PostgreSQL 最佳实践 - 水平分库(基于plproxy)》
https://yq.aliyun.com/articles/59372

《PostgreSQL 最佳实践 - 冷备份与还原介绍》
https://yq.aliyun.com/articles/59355

《PostgreSQL 最佳实践 - 在线增量备份与任意时间点恢复》
https://yq.aliyun.com/articles/59359

《PostgreSQL 最佳实践 - 任意时间点恢复源码分析》
https://yq.aliyun.com/articles/59360

《PostgreSQL 最佳实践 - 块级增量备份(ZFS篇)方案与实战》
https://yq.aliyun.com/articles/59363

《PostgreSQL 最佳实践 - 块级增量备份(ZFS篇)备份集自动校验》
https://yq.aliyun.com/articles/59365

《PostgreSQL 最佳实践 - 块级增量备份(ZFS篇)多zfs卷场景一致性备份》
https://yq.aliyun.com/articles/59367

《PostgreSQL 最佳实践 - 块级增量备份(ZFS篇)双机HA与块级备份部署》
https://yq.aliyun.com/articles/59368

《PostgreSQL 最佳实践 - 逻辑增量复制(MySQL <-> PgSQL <-> PgSQL)》
https://yq.aliyun.com/articles/52815

《PostgreSQL 最佳实践 - 如何搭建阿里云RDS PostgreSQL数据库的物理备库》
https://yq.aliyun.com/articles/7255

《PostgreSQL 最佳实践 - 块级别增量备份(pg_rman baseon LSN)源码浅析与使用》
https://yq.aliyun.com/articles/59452

《PostgreSQL 最佳实践 - pg_rman 以standby为源的备份浅析》
https://yq.aliyun.com/articles/59502

《PostgreSQL 最佳实践 - pg_rman 数据库恢复示例 与 软件限制解说》
https://yq.aliyun.com/articles/59503


内核探索

《PostgreSQL plan cache 源码浅析 - 如何确保不会计划倾斜》
https://yq.aliyun.com/articles/55719

《为什么用 PostgreSQL 绑定变量 没有 Oracle pin S 等待问题》
https://yq.aliyun.com/articles/55698

《PostgreSQL 同步流复制原理和代码浅析》
https://yq.aliyun.com/articles/55676

《深入浅出PostgreSQL B-Tree索引结构》
https://yq.aliyun.com/articles/53701

《PostgreSQL 可靠性和一致性 代码分析》
https://yq.aliyun.com/articles/37395

《PostgreSQL 统计信息混淆之处(scan,read,fetch,hit)源码解读》
https://yq.aliyun.com/articles/8475

《PostgreSQL HOT技术》
src/backend/access/heap/README.HOT
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/access/heap/README.HOT;h=4cf3c3a0d4c2db96a57e73e46fdd7463db439f79;hb=f2dba881a5e13abc957f0e692749f89c9288134d

《PostgreSQL B-Tree GIN GIST SP-GIST BRIN HASH索引内部结构》
https://www.pgcon.org/2016/schedule/attachments/434_Index-internals-PGCon2016.pdf


更多内容

ApsaraDB 数据库内核组月报(涵盖MySQL PostgreSQL Greenplum mongoDB 等数据库引擎)
http://mysql.taobao.org/monthly/

我的BLOG
这里有我多年以来呕心沥血写的上千篇PG相关的技术文章,谁叫中国PG的技术资料少呢,好东西要传播,我就把它写出来。
http://blog.163.com/digoal@126

我的git
https://github.com/digoal


阿里云PostgreSQL产品介绍

https://www.aliyun.com/product/rds/postgresql

阿里云Greenplum产品介绍

https://www.aliyun.com/product/gpdb

相关实践学习
使用PolarDB和ECS搭建门户网站
本场景主要介绍基于PolarDB和ECS实现搭建门户网站。
阿里云数据库产品家族及特性
阿里云智能数据库产品团队一直致力于不断健全产品体系,提升产品性能,打磨产品功能,从而帮助客户实现更加极致的弹性能力、具备更强的扩展能力、并利用云设施进一步降低企业成本。以云原生+分布式为核心技术抓手,打造以自研的在线事务型(OLTP)数据库Polar DB和在线分析型(OLAP)数据库Analytic DB为代表的新一代企业级云原生数据库产品体系, 结合NoSQL数据库、数据库生态工具、云原生智能化数据库管控平台,为阿里巴巴经济体以及各个行业的企业客户和开发者提供从公共云到混合云再到私有云的完整解决方案,提供基于云基础设施进行数据从处理、到存储、再到计算与分析的一体化解决方案。本节课带你了解阿里云数据库产品家族及特性。
相关文章
|
9月前
|
SQL 存储 关系型数据库
MySQL的精选15道面试题(学会了就离入职不远了!!!)
MySQL的精选15道面试题(学会了就离入职不远了!!!)
65 0
查漏补缺第四期(Mysql相关)
前言 目前正在出一个查漏补缺专题系列教程, 篇幅会较多, 喜欢的话,给个关注❤️ ~ 本专题主要以Java语言为主, 好了, 废话不多说直接开整吧~ 项目有没有用到sql优化,你是如何优化的呢? 使用索引:索引是数据库中提供快速访问数据的重要工具。确保在查询中使用到的列上创建索引,特别是经常用于过滤、排序和连接的列。然而,过多的索引也会导致性能下降,因此需要权衡选择合适的列创建索引。
|
存储 Cloud Native 关系型数据库
阿里云大师课——PolarDB 高手课上线开讲!
近日,由阿里云开发者社区、极客时间、PolarDB开源社区联合出品的「阿里云大师课:PolarDB 高手课」课程正式上线。
|
Oracle 关系型数据库 数据库
炫“库”行动-人大金仓有奖征文—谈谈oracle建表规范
今天突然想把工作几年在oracle建表相关的知识整理成一个像样的文档分享给大家,为达到数据库开发规范、后期维护方便等目的编写此篇文章,希望大家能重视数据库建表这个“小小的问题”,从小处见大学问,欢迎大家一起讨论。
195 0
|
关系型数据库 MySQL 数据库
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(一)
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(一)
115 1
|
存储 SQL 安全
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(三)
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(三)
117 1
|
关系型数据库 MySQL
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(二)
猿创征文|深聊MySQL,从入门到入坟之:应该是全网最详细的MySQL知识点汇总,必须收藏。(二)
88 0
|
关系型数据库 MySQL 数据管理
冬季第三期:MySQL实战日记
参加冬季实战营第三期:MySQL数据库进阶实战特训的日记和感想
102 1
|
存储 数据挖掘 关系型数据库
漫画:通过青梅给绿巨人讲解Greenplum(文末赠书)
漫画:通过青梅给绿巨人讲解Greenplum(文末赠书)
漫画:通过青梅给绿巨人讲解Greenplum(文末赠书)
|
SQL Oracle 关系型数据库
【重新发现PostgreSQL之美】- 32 天不怕地不怕, 就怕老板问为什么?
大家好,这里是重新发现PostgreSQL之美 - 32 天不怕地不怕, 就怕老板问为什么?

相关产品

  • 云原生数据库 PolarDB