本周报由 Cloudberry Database 社区编译自英文版《Postgres Weekly》[1],译文较原文有所调整。
博文推荐
Towards an Ideal Postgres Extension Ecosystem[2] By DAVID WHEELER
近日 PGXN 作者 David Wheeler 加入了 Tembo 团队从事 Postgres 扩展生态工作。本文是他个人在新工作方向的一些想法与思考。
pgvector 0.6.0: Now ~30x Faster with Parallel Index Builds[3] By EGOR ROMANOV (SUPABASE)
pgvector 0.6.0 版本发布,为 HNSW 引入了并行索引构建。
DuckDB's Multi-Database Support[4] By MARK RAASVELDT (DUCKDB)
DuckDB 是一个类似于 SQLite 的进程内 DBMS,专注于 OLAP 场景。通过引入可插拔的存储和事务层,DuckDB 可以连接到 Postgres(或 MySQL 或 SQLite)数据库并与其一起工作。
Getting JSON and SVG from PostGIS into Google Sheets[5] By ELIZABETH CHRISTENSEN
在数据库中直接使用 pg_featureserv
来创建 JSON、使用 pg_svg
创建 SVG 图像并将它们导入到电子表格中。
How to Load Stack Overflow's StackExchange Data into Postgres[6] By FRANCESCO TISIOT
如何将 Stack Overflow 的 StackExchange 数据加载到 Postgres 中,这本身是一个有趣的过程,数据集可以帮你提升实验性分析技能,以及探索 Postgres 扩展的潜力。
Partitioning Postgres Tables by Timestamp Based UUIDs[7] By CHRIS O'BRIEN
Elixir 论坛上的一个话题,讨论如何对 2800 万行的表进行分区来提高查询速度(面向 Elixir 开发人员)。
新闻简报
We raised 11.6M to build Serverless Postgres for Modern SaaS[8]
无服务器 Postgres 平台 Nile 宣布获得 1160 万美金种子轮融资,目前该平台产品仍在小范围测试中。创始团队成员曾在 Confluent 负责 SaaS 产品构建。
Who Contributed to PostgreSQL Development in 2023?[9]
Robert Haas 发布年度 2023 Postgres 开发贡献统计数据,Tom Lane 位居榜首!🥇
The idea of "Postgreslite" on X (Twitter)[10]
Jarred Sumner 是 JavaScript 运行时 Bun 的作者,他提出了“Postgreslite”的观点,本质上是想将 Postgres 和 SQLite 彼此更加兼容。
代码与工具
🤖 SQLCoder-70b-Alpha[11] ── 将自然语言查询转换为 SQL
SQLCoder-70b-Alpha 基于 CodeLlama-70B LLM 并做了微调,可以将自然语言查询转化为 SQL 语句,许可协议允许用于商业用途。
pg_show_plans: Show Query Plans of All Running Statements[12] By CYBERTEC POSTGRESQL INTERNATIONAL GMBH
一款 PostgreSQL 扩展工具,可用来展示当前正在运行的 SQL 声明查询计划,GitHub 地址:https://github.com/cybertec-postgresql/pg_show_plans。
FerretDB 1.19[13] 发布
构建于 Postgres(或 SQLite)之上的 MongoDB 开源替代项目。
pg_timetable 5.8[14] 发布
高级 PostgreSQL 作业规划工具。
Prisma 5.9[15] 发布
下一代 Node.js & TypeScript ORM。
pgrx 0.11.3[16] 发布
使用 Rust 构建 Postgres 扩展。
pgwire 0.19.2[17] 发布
Rust 编写的 Postgres wire 协议。
引用链接
[1]
《Postgres Weekly》: https://postgresweekly.com/issues/540[2]
Towards an Ideal Postgres Extension Ecosystem: https://gist.github.com/theory/898c8802937ad8361ccbcc313054c29d[3]
pgvector 0.6.0: Now ~30x Faster with Parallel Index Builds: https://supabase.com/blog/pgvector-fast-builds[4]
DuckDB's Multi-Database Support: https://duckdb.org/2024/01/26/multi-database-support-in-duckdb.html[5]
Getting JSON and SVG from PostGIS into Google Sheets: https://www.crunchydata.com/blog/json-and-svg-from-postgis-into-google-sheets[6]
How to Load Stack Overflow's StackExchange Data into Postgres: https://ftisiot.net/posts/stackoverflow-postgresql/[7]
Partitioning Postgres Tables by Timestamp Based UUIDs: https://elixirforum.com/t/partitioning-postgres-tables-by-timestamp-based-uuids/60916[8]
We raised 11.6M to build Serverless Postgres for Modern SaaS: https://www.thenile.dev/blog/funding-seed[9]
Who Contributed to PostgreSQL Development in 2023?: https://rhaas.blogspot.com/2024/01/who-contributed-to-postgresql.html[10]
The idea of "Postgreslite" on X (Twitter): https://twitter.com/jarredsumner/status/1751967157884432652[11]
SQLCoder-70b-Alpha: https://huggingface.co/defog/sqlcoder-70b-alpha[12]
pg_show_plans: Show Query Plans of All Running Statements: https://github.com/cybertec-postgresql/pg_show_plans[13]
FerretDB 1.19: https://github.com/FerretDB/FerretDB[14]
pg_timetable 5.8: https://github.com/cybertec-postgresql/pg_timetable/releases/tag/v5.8.0[15]
Prisma 5.9: https://github.com/prisma/prisma/releases/tag/5.9.0[16]
pgrx 0.11.3: https://github.com/pgcentralfoundation/pgrx[17]
pgwire 0.19.2: https://github.com/sunng87/pgwire
关于 Cloudberry Database
Cloudberry Database(可简称为“CBDB”或“CloudberryDB”)是面向分析和 AI 场景打造的下一代统一型开源数据库,基于 PostgreSQL 14.4 内核与 Greenplum Database 分布式架构,兼容 PostgreSQL 和 Greenplum 生态,遵循 Apache License 2.0 许可协议,致力于构建开放、友好、中立的开源社区。
GitHub 地址:https://github.com/cloudberrydb/cloudberrydb
官网主页:https://cloudberrydb.org/
👇🏻️扫码加入 Cloudberry Database 交流群👇🏻️
👇🏻️关注公众号👇🏻️
⭐️为 Cloudberry Database 点个赞吧!⭐️