ITPub博客

首页 > 数据库 > 数据库开发技术 > PostgreSQL从入门到放弃

PostgreSQL从入门到放弃

原创 数据库开发技术 作者:u_a9af4a561c3b 时间:2021-11-30 17:42:53 0 删除 编辑

从入门到放弃

PostgreSQL在中国的发展势头越来越好,作为一个企业级开源数据库,PostgreSQL的目标就是替代商业数据库巨头Oracle,在DB-Engines上,可以看到,PostgreSQL的分数稳定上涨中,极有希望再次摘得年度数据库的称号。那么,该如何高效学习,从入门到放弃呢?在此分享一点自己的学习历程(大佬轻喷),且当作茶余饭后消磨时间。

中文书籍

看书肯定是最方便的,也能系统消化学习,推荐一些书籍,都是笔者看过的。

入门

1.《PostgreSQL从小工到专家》,建议通读一遍之后,再温故一遍,系统学习,打牢基础

渡劫

1.《PostgreSQL内幕指南》(Internal of PostgreSQL中文版),深度解析原理2.《PostgreSQL实战》,积累实战经验3.《PostgreSQL 9.X之巅》,不容错过的优质书籍,教你如何调优

进阶

1.《PostgreSQL内核分析》2.PostgreSQL技术内幕两部曲,查询优化和事务处理3.《PostgreSQL查询引擎源码技术探析》

飞升

自己调代码看代码改代码去吧。

以下是我个人的看书历程,分享一下

运维类

https://github.com/HariSekhon/SQL-scripts

postgres_*.sql

•PostgreSQL queries for DBA investigating + performance tuning•postgres_info.sql - big summary overview, recommend you start here•tested on PostgreSQL 8.4, 9.x, 10.x, 11.x, 12.x, 13.x

https://gist.github.com/rgreenjr/3637525

PostgreSQL的电子书籍:https://github.com/faisalbasra/postgres_books

PostgreSQL入门调优:http://pgtune.leopard.in.ua/

案例集:https://github.com/digoal/blog/blob/master/201706/20170601_02.md、https://github.com/digoal/blog/blob/master/201608/20160818_02.md

可视化

https://sqlformat.darold.net/

https://explain.depesz.com/

https://explain.dalibo.com/plan#

https://tatiyants.com/pev/#/plans/new

内核类

BUG速查手册:https://github.com/anse1/sqlsmith/wiki#postgresql

he PostgreSQL build farm is a distributed system for automatically testing changes in the source code for PostgreSQL as they occur, on a wide variety of platforms. This server is the central repository for the results of those tests.:https://buildfarm.postgresql.org/

升级,快速对比版本Release:https://why-upgrade.depesz.com/show?from=9.4&to=9.6.6&keywords=:

PostgreSQL的commit:https://commitfest.postgresql.org/

官方BUG列表:https://granicus.if.org/pgbugs/、https://www.postgresql.org/list/pgsql-bugs/

Blog aggregation service run by the PostgreSQL community:https://planet.postgresql.org/

官方wiki kernal:https://wiki.postgresql.org/wiki/Pgkernel、https://wiki.postgresql.org/wiki/Developer_FAQ

阿里内核月报:https://github.com/tangwz/db-monthly

The following links are useful when exploring the PostgreSQL source code:https://www.postgresql.org/developer/coding/

https://www.postgresql.org/developer/backend/

代码树:https://doxygen.postgresql.org/

PostgreSQL git:https://git.postgresql.org/gitweb/

BLOG

PostgreSQL Conference for Users and Developers:https://www.pgcon.org/2020/

中文社区:http://www.postgres.cn/index.php/v2/home

官方wiki:https://wiki.postgresql.org/

DBEnginers:https://db-engines.com/en/

Stackoverflow:http://stackoverflow.com/questions/tagged/postgresql

PostgreSQL Extension network:https://pgxn.org/、http://pgfoundry.org/

Cybertech:https://www.cybertec-postgresql.com/en/blog/

2ndquadrant:http://blog.2ndquadrant.com/en

Internal of PostgreSQL:https://www.interdb.jp/pg/

Bruce Momjian:https://momjian.us/main/presentations/internals.html

Hubert Lubaczewski:https://www.depesz.com/

lbrar Ahmed:http://pgelephant.com/

freeideas:http://postgresql.freeideas.cz/

Percona:https://www.percona.com/blog/2018/10/30/postgresql-locking-part-3-lightweight-locks/

PostgrePro:https://habr.com/en/company/postgrespro/blog/442776/、https://postgrespro.com/education/courses/2dINTRO

PostgreSQL Tutorial(教材类):https://postgreshelp.com/postgresql_shared_buffers/、https://www.postgresqltutorial.com/、https://www.tutorialspoint.com/postgresql/index.htm

https://madusudanan.com/blog/understanding-postgres-caching-in-depth/

severalnines:https://severalnines.com/blog/tuning-io-operations-postgresql

EnterpriseDB:https://www.enterprisedb.com/blog/tuning-sharedbuffers-and-walbuffers

A curated list of awesome PostgreSQL software:https://github.com/dhamaniasad/awesome-postgres/blob/master/README.md?from=groupmessage&isappinstalled=0

https://www.programmersought.com/

CitusData:https://www.citusdata.com/blog/2018/02/15/when-postgresql-blocks/

PostgreSQL DBA Team:https://dataegret.com/2020/10/postgres-13-observability-updates/

查看参数说明的网站(包括Stackoverflow):https://postgresqlco.nf/doc/en/param/vacuum_cleanup_index_scale_factor/

查看参数说明的网站(包括commit list):https://pgpedia.info/h/hash_mem_multiplier.html

PostgreSQL数据库的学习交流平台(中启乘数):http://www.pgsql.tech/

slideshare:https://www.slideshare.net/noriyoshishinoda/pgconfasia-2017-logical-replication-internals-english?from_action=save

BlockInternal:https://fritshoogland.wordpress.com/category/postgresql/

PostgreSQL(数据库)资料:https://github.com/ty4z2008/Qix/blob/master/pg.md

ITPub:https://z.itpub.net/stack/detail/10026

DBIservice:https://blog.dbi-services.com/tag/postgresql/

https://akorotkov.github.io/

国内优质博客类

何小栋(海量内核大佬):http://blog.itpub.net/6906/list/1/

冯若航(探探全栈 PostgreSQL DBA):http://v0.pigsty.cc/zh/blog/2021/03/03/postgres%E9%80%BB%E8%BE%91%E5%A4%8D%E5%88%B6%E8%AF%A6%E8%A7%A3/#%E5%B1%80%E9%99%90%E6%80%A7

德哥(步道师):https://github.com/digoal/blog

陈华军:https://github.com/ChenHuajun/blog_xqhx

张晋:https://zhangeamon.top/postgresql/

刘阳明:http://liuyangming.tech/

https://www.mengqingzhong.com/2021/01/01/postgresql-index-system-catalog-tables/

https://zhmin.github.io/posts/postgresql-toast/

https://www.cnblogs.com/abclife/p/14869975.html

https://foucus.blog.csdn.net/article/list/1

https://blog.csdn.net/qq_43687755/category_10189967.html

https://tonydong.blog.csdn.net/

公众号

操作系统类(要学好数据库,操作系统是绕不过去的)

1.程序员cxuan2.小林coding3.低并发编程4.Linux内核那些事5.Linux内核远航者6.Rand7.真没什么逻辑

PostgreSQL类(推荐我关注的每天都会看的公众号,会分享一些PostgreSQL相关技术,大体上都认识):

1.PostgreSQL2.PostgreSQL中文社区3.PostgreSQL运维技术(ak)4.CP的PostgreSQL厨房(CP)5.励志成为PostgreSQL大神(YWX)6.开源软件联盟PostgreSQL分会7.飞象数据8.紧到说(ZFX)9.PostgreSQL手记10.PostgreSQL数据库工作学习笔记(MLB)11.Spatial Data(Postgis,MBF)12.AustinDatabases(LHY)13.白鳝的洞穴(XJ)14.晟数学院15.DB印象(aken)16.非法加冯(Vonng)17.Guass松鼠会18.瀚高PG实验室19.IT那活儿20.Greenplum中文社区21.苦寒行(权叔)22.PostgreSQL学徒(笔者自己的小破公众号)

小结

我始终秉承四个字:一专多长,先学精,再发散(我相信学好PostgreSQL至少未来五年内不用愁,Who care?)。现在是内卷的时代,稍不注意就落后了,什么云原生、元宇宙、湖仓一体、流批一体、多模、超融合、云孪生、存储计算分离、Daas、Ansible、DevOps、SRE,各种概念应接不暇,要学会分辨,去其糟粕,取其精华。不过万变不离其宗,先掌握好一门谋生的技术,再来谈其他的。我个人并是不很推崇啥技术都会一点,这种只能算作万精油(大佬勿喷,全栈勿喷),一旦让你深入分析的时候就只能干瞪眼了。

后续还会不断更新,网址、公众号远不止上面那些,还有知乎那些,此处就没有写了,记录的基本都是自己每天都会看的,推荐收藏的。


原文作者:PostgreSQL学徒;如有侵权,请联系管理员删除。

请登录后发表评论 登录
全部评论

注册时间:2020-07-14

  • 博文量
    306
  • 访问量
    139319