

Google Cloud Spanner Adds PostgreSQL Interface: Is PostgreSQL Now Standard for C...
source link: https://www.infoq.com/news/2021/10/cloud-spanner-postgresql/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Google Cloud Spanner Adds PostgreSQL Interface: Is PostgreSQL Now Standard for Cloud Databases?
Oct 29, 2021 2 min read
At the recent Next '21 conference, Google announced a PostgreSQL interface for Cloud Spanner, the distributed SQL database management and storage service on Google Cloud. The new interface in preview combines the scalability and reliability of Spanner with the familiarity among developers and portability of PostgreSQL.
The preview release does not yet achieve full parity between the Google Standard SQL and PostgreSQL interfaces, but longer term Google recommends to determine which dialect to use according to how familiar a development team is with the given technology. Justin Makeig, product manager at Google, explains the benefits and limitations of the new approach:
At the lowest level, the PostgreSQL interface implements a core subset of PostgreSQL data types and DDL syntax. This allows users to define their schemas using standard PostgreSQL SQL. (...) For Spanner capabilities that don’t have a direct PostgreSQL analog, like table interleaving, we‘ve extended the PostgreSQL syntax. We’ve tried to minimize these differences, deferring to existing PostgreSQL syntax where possible.
New option to choose PostgreSQL as database dialect. Source: https://cloud.google.com/blog/topics/developers-practitioners/postgresql-interface-adds-familiarity-and-portability-cloud-spanner
Forrest Brazeal, head of content at Google Cloud, tweets:
Amid all the flashy announcements at Google Cloud Next, "Postgres for Spanner" is unquestionably the #1 thing I'm hearing engineers excited about. Don't sleep on this one!
Cloud Spanner is not the first managed and distributed relational database introducing a PostgreSQL interface, with many NewSQL databases built on or compatible with the popular open source relational database. As reported on InfoQ, CockroachDB Serverless and Yugabyte Cloud are PostgreSQL compatible database-as-a-service built for the cloud. Timescale Cloud, a new cloud-native relational database for time-series, is also built on PostgreSQL. Peter Zaitsev, open source advocate and CEO of Percona, comments:
PostgreSQL Interface is becoming the leading standard for interfacing with modern SQL databases.
In a Twitter thread, Matthew Wilson, VP and distinguished engineer at AWS, adds:
When the canonical implementation for a de facto standard is community built and maintained software like PostgreSQL, I think there is value that accrues to the whole community in its adoption by competing software.
Doug Henschen, technology analyst at Constellation Research, disagrees:
The PostgreSQL "compatible" interface for Spanner reminds me of the AWS "compatible" exploitation of PostgreSQL and other open-source products. If you want to be a fan of open source products, use/promote the open source product.
Google has released new Spanner clients for Java, JDBC, Go, and Python to support the PostgreSQL query dialect, simplifying the integration with development environments while supporting Spanner’s managed endpoints and providing automatic replication and horizontal scalability. The reactions on Reddit have been mixed, with user nutrecht suggesting:
Spanner is pretty limited in what it can do. Just because it has a "Postgres" interface doesn't mean any Postgres query will just work on Spanner. Spanner is not a 'general' RDBMS; it's a specialized tool for specific workloads. Which is also why it's expensive as heck.
The PostgreSQL interface is currently in preview and a form is available to request access.
Recommend
-
101
Professionals | Community Groups Programs | Google Developers...
-
99
除非特别声明,此文章内容采用知识共享署名 3.0许可,代码示例采用Apache 2.0许可。更多细节请查看我们的服务条款。
-
59
Opening the door to more dev tools for Cloud Spanner 201...
-
9
Motivation As one can imagine, the millions of active Fitbit users generate a lot of data. All that data has to be processed and stored so that users can look back on historical step counts, sleep, etc. One such storage service that...
-
12
Google Bolsters Cloud Spanner with Point-in-Time Recovery Apr 06, 2021...
-
10
-
11
DatabasesVaccinating a nation: Vaccination app delivery in 30 days with Cloud Spanner Zbigniew Cyktor Software Engineer at OchK Łukasz Si...
-
3
Spanner——Google新一代分布式数据库 阅读量:0 2021-10-22 Spanner是Google最近公开的新一代分布式数据库,它...
-
8
Joe Lowery Jun 29, 2022 14 Minute Read Summer has arrived in the northern hemisphere, and things are re...
-
4
Cloud Spanner是Google Megastore系统的继承者,Spanner表现出远超前辈的能力。Spanner首次是在Google内部数...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK