主頁 > 資料庫 > 德哥PostgreSQL學習資料匯總

德哥PostgreSQL學習資料匯總

2022-01-06 18:00:51 資料庫

文章來自:https://yq.aliyun.com/articles/59251

德哥博客新地址:https://billtian.github.io/digoal.blog/

德哥介紹:周正中,網名德哥 ( digoal ),目前就職于阿里云,PostgreSQL 中國社區發起人之一,PostgreSQL 象牙塔發起人之一,DBA+社群聯合發起人之一,DBGeeK社區專家組成員,

德哥:看完并理解這些文章,相信你會和我一樣愛上PostgreSQL,并成為一名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/59351

《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


更多內容

云棲PostgreSQL圈子
https://yq.aliyun.com/groups/29

云棲Greenplum圈子
https://yq.aliyun.com/groups/13

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

本文來自博客園,作者:古道輕風,轉載請注明原文鏈接:https://www.cnblogs.com/88223100/p/digoal_postgresql_articles.html

轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/404309.html

標籤:PostgreSQL

上一篇:[20220106]ora-00600 kokasgi1.txt

下一篇:MySQL 資料庫自動備份

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • GPU虛擬機創建時間深度優化

    **?桔妹導讀:**GPU虛擬機實體創建速度慢是公有云面臨的普遍問題,由于通常情況下創建虛擬機屬于低頻操作而未引起業界的重視,實際生產中還是存在對GPU實體創建時間有苛刻要求的業務場景。本文將介紹滴滴云在解決該問題時的思路、方法、并展示最終的優化成果。 從公有云服務商那里購買過虛擬主機的資深用戶,一 ......

    uj5u.com 2020-09-10 06:09:13 more
  • 可編程網卡芯片在滴滴云網路的應用實踐

    **?桔妹導讀:**隨著云規模不斷擴大以及業務層面對延遲、帶寬的要求越來越高,采用DPDK 加速網路報文處理的方式在橫向縱向擴展都出現了局限性。可編程芯片成為業界熱點。本文主要講述了可編程網卡芯片在滴滴云網路中的應用實踐,遇到的問題、帶來的收益以及開源社區貢獻。 #1. 資料中心面臨的問題 隨著滴滴 ......

    uj5u.com 2020-09-10 06:10:21 more
  • 滴滴資料通道服務演進之路

    **?桔妹導讀:**滴滴資料通道引擎承載著全公司的資料同步,為下游實時和離線場景提供了必不可少的源資料。隨著任務量的不斷增加,資料通道的整體架構也隨之發生改變。本文介紹了滴滴資料通道的發展歷程,遇到的問題以及今后的規劃。 #1. 背景 資料,對于任何一家互聯網公司來說都是非常重要的資產,公司的大資料 ......

    uj5u.com 2020-09-10 06:11:05 more
  • 滴滴AI Labs斬獲國際機器翻譯大賽中譯英方向世界第三

    **桔妹導讀:**深耕人工智能領域,致力于探索AI讓出行更美好的滴滴AI Labs再次斬獲國際大獎,這次獲獎的專案是什么呢?一起來看看詳細報道吧! 近日,由國際計算語言學協會ACL(The Association for Computational Linguistics)舉辦的世界最具影響力的機器 ......

    uj5u.com 2020-09-10 06:11:29 more
  • MPP (Massively Parallel Processing)大規模并行處理

    1、什么是mpp? MPP (Massively Parallel Processing),即大規模并行處理,在資料庫非共享集群中,每個節點都有獨立的磁盤存盤系統和記憶體系統,業務資料根據資料庫模型和應用特點劃分到各個節點上,每臺資料節點通過專用網路或者商業通用網路互相連接,彼此協同計算,作為整體提供 ......

    uj5u.com 2020-09-10 06:11:41 more
  • 滴滴資料倉庫指標體系建設實踐

    **桔妹導讀:**指標體系是什么?如何使用OSM模型和AARRR模型搭建指標體系?如何統一流程、規范化、工具化管理指標體系?本文會對建設的方法論結合滴滴資料指標體系建設實踐進行解答分析。 #1. 什么是指標體系 ##1.1 指標體系定義 指標體系是將零散單點的具有相互聯系的指標,系統化的組織起來,通 ......

    uj5u.com 2020-09-10 06:12:52 more
  • 單表千萬行資料庫 LIKE 搜索優化手記

    我們經常在資料庫中使用 LIKE 運算子來完成對資料的模糊搜索,LIKE 運算子用于在 WHERE 子句中搜索列中的指定模式。 如果需要查找客戶表中所有姓氏是“張”的資料,可以使用下面的 SQL 陳述句: SELECT * FROM Customer WHERE Name LIKE '張%' 如果需要 ......

    uj5u.com 2020-09-10 06:13:25 more
  • 滴滴Ceph分布式存盤系統優化之鎖優化

    **桔妹導讀:**Ceph是國際知名的開源分布式存盤系統,在工業界和學術界都有著重要的影響。Ceph的架構和演算法設計發表在國際系統領域頂級會議OSDI、SOSP、SC等上。Ceph社區得到Red Hat、SUSE、Intel等大公司的大力支持。Ceph是國際云計算領域應用最廣泛的開源分布式存盤系統, ......

    uj5u.com 2020-09-10 06:14:51 more
  • es~通過ElasticsearchTemplate進行聚合~嵌套聚合

    之前寫過《es~通過ElasticsearchTemplate進行聚合操作》的文章,這一次主要寫一個嵌套的聚合,例如先對sex集合,再對desc聚合,最后再對age求和,共三層嵌套。 Aggregations的部分特性類似于SQL語言中的group by,avg,sum等函式,Aggregation ......

    uj5u.com 2020-09-10 06:14:59 more
  • 爬蟲日志監控 -- Elastc Stack(ELK)部署

    傻瓜式部署,只需替換IP與用戶 導讀: 現ELK四大組件分別為:Elasticsearch(核心)、logstash(處理)、filebeat(采集)、kibana(可視化) 下載均在https://www.elastic.co/cn/downloads/下tar包,各組件版本最好一致,配合fdm會 ......

    uj5u.com 2020-09-10 06:15:05 more
最新发布
  • day02-2-商鋪查詢快取

    功能02-商鋪查詢快取 3.商鋪詳情快取查詢 3.1什么是快取? 快取就是資料交換的緩沖區(稱作Cache),是存盤資料的臨時地方,一般讀寫性能較高。 快取的作用: 降低后端負載 提高讀寫效率,降低回應時間 快取的成本: 資料一致性成本 代碼維護成本 運維成本 3.2需求說明 如下,當我們點擊商店詳 ......

    uj5u.com 2023-04-20 08:33:24 more
  • MySQL中binlog備份腳本分享

    關于MySQL的二進制日志(binlog),我們都知道二進制日志(binlog)非常重要,尤其當你需要point to point災難恢復的時侯,所以我們要對其進行備份。關于二進制日志(binlog)的備份,可以基于flush logs方式先切換binlog,然后拷貝&壓縮到到遠程服務器或本地服務器 ......

    uj5u.com 2023-04-20 08:28:06 more
  • day02-短信登錄

    功能實作02 2.功能01-短信登錄 2.1基于Session實作登錄 2.1.1思路分析 2.1.2代碼實作 2.1.2.1發送短信驗證碼 發送短信驗證碼: 發送驗證碼的介面為:http://127.0.0.1:8080/api/user/code?phone=xxxxx<手機號> 請求方式:PO ......

    uj5u.com 2023-04-20 08:27:27 more
  • 快取與資料庫雙寫一致性幾種策略分析

    本文將對幾種快取與資料庫保證資料一致性的使用方式進行分析。為保證高并發性能,以下分析場景不考慮執行的原子性及加鎖等強一致性要求的場景,僅追求最終一致性。 ......

    uj5u.com 2023-04-20 08:26:48 more
  • sql陳述句優化

    問題查找及措施 問題查找 需要找到具體的代碼,對其進行一對一優化,而非一直把關注點放在服務器和sql平臺 降低簡化每個事務中處理的問題,盡量不要讓一個事務拖太長的時間 例如檔案上傳時,應將檔案上傳這一步放在事務外面 微軟建議 4.啟動sql定時執行計劃 怎么啟動sqlserver代理服務-百度經驗 ......

    uj5u.com 2023-04-20 08:26:35 more
  • 云時代,MySQL到ClickHouse資料同步產品對比推薦

    ClickHouse 在執行分析查詢時的速度優勢很好的彌補了MySQL的不足,但是對于很多開發者和DBA來說,如何將MySQL穩定、高效、簡單的同步到 ClickHouse 卻很困難。本文對比了 NineData、MaterializeMySQL(ClickHouse自帶)、Bifrost 三款產品... ......

    uj5u.com 2023-04-20 08:26:29 more
  • sql陳述句優化

    問題查找及措施 問題查找 需要找到具體的代碼,對其進行一對一優化,而非一直把關注點放在服務器和sql平臺 降低簡化每個事務中處理的問題,盡量不要讓一個事務拖太長的時間 例如檔案上傳時,應將檔案上傳這一步放在事務外面 微軟建議 4.啟動sql定時執行計劃 怎么啟動sqlserver代理服務-百度經驗 ......

    uj5u.com 2023-04-20 08:25:13 more
  • Redis 報”OutOfDirectMemoryError“(堆外記憶體溢位)

    Redis 報錯“OutOfDirectMemoryError(堆外記憶體溢位) ”問題如下: 一、報錯資訊: 使用 Redis 的業務介面 ,產生 OutOfDirectMemoryError(堆外記憶體溢位),如圖: 格式化后的報錯資訊: { "timestamp": "2023-04-17 22: ......

    uj5u.com 2023-04-20 08:24:54 more
  • day02-2-商鋪查詢快取

    功能02-商鋪查詢快取 3.商鋪詳情快取查詢 3.1什么是快取? 快取就是資料交換的緩沖區(稱作Cache),是存盤資料的臨時地方,一般讀寫性能較高。 快取的作用: 降低后端負載 提高讀寫效率,降低回應時間 快取的成本: 資料一致性成本 代碼維護成本 運維成本 3.2需求說明 如下,當我們點擊商店詳 ......

    uj5u.com 2023-04-20 08:24:03 more
  • day02-短信登錄

    功能實作02 2.功能01-短信登錄 2.1基于Session實作登錄 2.1.1思路分析 2.1.2代碼實作 2.1.2.1發送短信驗證碼 發送短信驗證碼: 發送驗證碼的介面為:http://127.0.0.1:8080/api/user/code?phone=xxxxx<手機號> 請求方式:PO ......

    uj5u.com 2023-04-20 08:23:11 more