暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Postgres 中文周报:Postgres Weekly 535 期

ApacheCloudberry 2023-12-21
56

本周报由 Cloudberry Database 社区编译自英文版《Postgres Weekly》[1],译文较原文有所调整。接下来,为迎接圣诞假期,英文周报下周暂停推送,本期将是 2023 年最后一期。从 2024 年 1 月 3 日起,英文版 Postgres Weekly 将重启推送。Cloudberry Database 社区也将积极保持关注。

推荐博文

Transaction Isolation in Postgres, Explained[2] By GWEN SHAPIRA
尽管数据库事务的概念非常古老,但即使是最勤奋的开发人员也会在其中遇到困难,其中隔离的作用对并发事务的交互方式产生了另一层复杂性。Gwen 在该主题入门指南中做了很好的阐述。

Broken Foreign Keys: How Can That Happen?[3] By LAURENZ ALBE
根据 Laurenz 的介绍,“在 PostgreSQL 中,有多种造成外键损害的方式”。在文中,他列举了一些方式。如果你遇到外键出现问题,有一些细节是需要注意的,这些细节可能会在关键时刻派上用场。

The Full 2023 State of PostgreSQL Survey Results[4] By TIMESCALE
近期,Timescale 发布了完整版的《2023 年 PostgreSQL 状态调查》结果,该报告共有 888 名受访者参与,问题和结果非常有意思,你可以参考本公众号的第一篇文章。

Working with GPS Data in PostGIS[5] By RYAN LAMBERT
本文提供了一个实用指南,介绍了在 PostGIS 中导入和调优 GPS 数据的过程,操作重点是消除不准确性并提高数据质量以便实际应用,文章中提供了代码和示例。

Increasing the Visibility of Perf and Events on Amazon RDS and Aurora[6]
博文由 AWS 数据库团队发布,重点介绍如何提高 Amazon RDS 和 Aurora 的性能及监控可见性。

79 (and Counting) Postgres HOWTOs Tutorials[7]
本仓库主要提供了一些 PostgreSQL 演示示例和代码,方便大家学习和理解 PostgreSQL。

新闻简报

Fly Postgres, managed by Supabase[8]
要点:Fly.io 联合 Supabase 共同推出了一款名为 Fly Postgres 的 Postgres 托管产品,本产品基于 Supreme 平台,但托管在 Fly.io 上。

a summary of the recent PostGIS Day 2023[9]
作者 Elizabeth Christensen 总结了 PostGIS Day 2023 活动情况。

Tembo Postgres 平台宣布获得 700 万美元融资。[10]
Tembo 平台主打将 Postgres 视为一个数据平台,而不仅仅是一个数据库。

代码与工具

pg_idkit: An Extension for Generating IDs[11] By VADOSWARE LLC
一个使用 Rust 构建的扩展,可以生成从 UUID 到 NanoID 和 KSUID 的无数不同的唯一 ID 方案,该方案已得到生产验证。

pg_sparse: Sparse Vector Similarity Search in Postgres[12] By PARADEDB
ParadeDB 是构建在 Postgres 上开源的 ElasticSearch 替代方案,该团队目前创建了一个 Fork 自 pgvector
的扩展pg_sparse
,用它来存储和使用 Postgres 中的稀疏向量(sparse vectors)。二者之间的区别是“ pg_sparse
 聚焦稀疏向量, pgvector
 处理密集向量”。

sqlauthz: A Declarative Permissions Management Approach[13] By CAM FEENSTRA
该工具支持用户使用 Polar 语言[14]以声明式方式管理 Postgres 中的权限。请注意,该工具仍处于实验阶段。

🪐 Q3C: Extension for Spatial Indexing on a Sphere[15] By SERGEY KOPOSOV
一个用于处理球面空间索引的 Postgres 扩展。

Key Postgres Extensions Every Developer Must Know When Migrating from Oracle[16] By DEEPAK MAHTO
本文梳理了从商业数据库 Oracle 迁移时必知的 Postgres 扩展。

FerretDB 1.17.0[17] 发布
构建于 Postgres(或 SQLite)之上的 MongoDB 开源替代项目。

PLV8 3.2.1[18] 发布
在 Postgres 中使用 V8 JavaScript 引擎。

Hydra 1.1[19] 发布。
基于 Postgres 的开源分析引擎。

pgAdmin 4 v8.1[20] 发布。
流行的 Postgres 管理工具。

引用链接

[1]
 《Postgres Weekly》: https://postgresweekly.com/issues/535
[2]
 Transaction Isolation in Postgres, Explained: https://www.thenile.dev/blog/transaction-isolation-postgres
[3]
 Broken Foreign Keys: How Can That Happen?: https://www.cybertec-postgresql.com/en/broken-foreign-keys-postgresql/
[4]
 The Full 2023 State of PostgreSQL Survey Results: https://www.timescale.com/state-of-postgres/2023/
[5]
 Working with GPS Data in PostGIS: https://blog.rustprooflabs.com/2023/12/gps-gpx-postgis-processing
[6]
 Increasing the Visibility of Perf and Events on Amazon RDS and Aurora: https://aws.amazon.com/blogs/database/increase-visibility-of-performance-and-events-on-amazon-rds-and-amazon-aurora/
[7]
 79 (and Counting) Postgres HOWTOs Tutorials: https://gitlab.com/postgres-ai/postgresql-consulting/postgres-howtos
[8]
 Fly Postgres, managed by Supabase: https://supabase.com/blog/postgres-on-fly-by-supabase
[9]
 a summary of the recent PostGIS Day 2023: https://www.crunchydata.com/blog/postgis-day-2023-summary
[10]
 Tembo Postgres 平台宣布获得 700 万美元融资。: https://tembo.io/
[11]
 pg_idkit: An Extension for Generating IDs: https://github.com/VADOSWARE/pg_idkit
[12]
 pg_sparse: Sparse Vector Similarity Search in Postgres: https://docs.paradedb.com/blog/introducing_sparse
[13]
 sqlauthz: A Declarative Permissions Management Approach: https://github.com/cfeenstra67/sqlauthz
[14]
 Polar 语言: https://www.osohq.com/docs/reference/polar/foundations
[15]
 Q3C: Extension for Spatial Indexing on a Sphere: https://github.com/segasai/q3c
[16]
 Key Postgres Extensions Every Developer Must Know When Migrating from Oracle: https://databaserookies.wordpress.com/2023/12/16/key-postgresql-extensions-every-developer-must-know-when-migrating-from-oracle/
[17]
 FerretDB 1.17.0: https://github.com/FerretDB/FerretDB/releases/tag/v1.17.0
[18]
 PLV8 3.2.1: https://github.com/plv8/plv8
[19]
 Hydra 1.1: https://github.com/hydradatabase/hydra/releases/tag/v1.1.0
[20]
 pgAdmin 4 v8.1: https://www.postgresql.org/about/news/pgadmin-4-v81-released-2766/


关于 Cloudberry Database

Cloudberry Database(可简称为“CBDB”或“CloudberryDB”)是面向分析和 AI 场景打造的下一代统一型开源数据库,搭载了 PostgreSQL 14.4 内核,兼容 PostgreSQL 和 Greenplum Database 生态,采用 Apache License 2.0 许可协议,目前源码已公开。
GitHub 地址:https://github.com/cloudberrydb/cloudberrydb。
官网主页:https://cloudberrydb.org/

👇🏻️扫码加入 Cloudberry Database 交流群👇🏻️

👇🏻️关注公众号👇🏻️

⭐️为 Cloudberry Database 点个赞吧!⭐️

文章转载自ApacheCloudberry,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论