Spanner in the works: The goal is not 100% compatibility, Google says of PostgreSQL interface

Meanwhile, Yugabyte says PostgreSQL compatibility for its distributed database dates back to 2019

Google has clarified details of the interface between its popular distributed SQL database-management-cum-storage-service Spanner and the open-source RDBMS PostgreSQL.

According to a blog published this week, Spanner's PostgreSQL interface uses "the familiarity and portability of PostgreSQL" to make developers' lives easier.

"Teams can be assured that the schemas and queries they build against the Spanner PostgreSQL interface can be easily ported to another PostgreSQL environment, giving them flexibility and peace of mind," said Justin Makeig, product manager for Cloud Spanner.

The post explains that Spanner's PostgreSQL interface is designed to compile PostgreSQL queries to Spanner's existing distributed query processing and storage primitives. "It also supports the PostgreSQL wire protocol, the communication channel used to connect clients. To a developer building an application, this is virtually transparent. Provisioning and monitoring databases use Spanner and Google Cloud's existing tools, while interacting with data feels like PostgreSQL. The implementation touches every layer of the database to ensure a unified experience," Makeig said.

But for those who want a distributed database with a bit more than "familiarity and portability" with PostgreSQL, there are options.

Founded by former Facebook engineers, Yugabyte takes inspiration from Spanner in terms of the distributed database, but claims full compatibility with PostgreSQL since 2019. Unsurprisingly, it had something to say about Google's news.

Karthik Ranganathan, co-founder and CTO of Yugabyte, told The Register: "This effort by Google Spanner highlights the importance of the PostgreSQL API and feature set when it comes to building cloud-native applications. To be practically useful, databases need to go beyond wire compatibility and support commonly used PostgreSQL features such as stored procedures, triggers, and user-defined functions. YugabyteDB achieves this by reusing the query layer code of PostgreSQL rather than rewriting it from scratch."

Nonetheless, Sid Nag, Gartner veep of cloud and edge technologies, said Google's PostgreSQL interface would "benefit increased adoption of Spanner since developers and database administrators who are already familiar with and skilled in PostgresSQL will be able to use Spanner without having to learn the native Spanner interfaces, query mechanisms and APIs etc, thereby opening up the use of Spanner to a whole new world of application development."

This week Google's data technology team also said it was playing nice with other popular tools in the field.

The Chocolate Factory announced integration between Tableau – the data visualisation and analytics tool bought by Salesforce for $15.7bn in 2019 – and its own tool in the same market, Looker.

The integration means Tableau customers would be able to use Looker's semantic model to access data across the organisation, "enabling new levels of data governance while democratising access to data."

The development is also designed to pair Looker's enterprise semantic layer with Tableau's analytics platform.

Looker can be used both as an analytics and visualisation tool and as an enterprise data platform. Google's integration with Tableau is a sign it is decoupling the two technologies, said Nag.

"The idea is to open up Looker to new analytics-based technologies and interfaces such as Tableau. With this development most organisations will pick one or the other, however, some may need both Looker and Tableau – based on their varying application and workload needs and based on the developer preferences and biases. Google will help both constituents by virtue of this new capability." ®

Similar topics

Other stories you might like

  • Cuba ransomware gang scores almost $44m in ransom payments across 49 orgs, say Feds

    Hancitor is at play

    The US Federal Bureau of Investigation (FBI) says 49 organisations, including some in government, were hit by Cuba ransomware as of early November this year.

    The attacks were spread across five "critical infrastructure", which, besides government, included the financial, healthcare, manufacturing, and – as you'd expect – IT sectors. The Feds said late last week the threat actors are demanding $76m in ransoms and have already received at least $43.9m in payments.

    The ransomware gang's loader of choice, Hancitor, was the culprit, distributed via phishing emails, or via exploit of Microsoft Exchange vulnerabilities, compromised credentials, or Remote Desktop Protocol (RDP) tools. Hancitor – also known as Chanitor or Tordal –  enables a CobaltStrike beacon as a service on the victim's network using a legitimate Windows service like PowerShell.

    Continue reading
  • Graviton 3: AWS attempts to gain silicon advantage with latest custom hardware

    Key to faster, more predictable cloud

    RE:INVENT AWS had a conviction that "modern processors were not well optimized for modern workloads," the cloud corp's senior veep of Infrastructure, Peter DeSantis, claimed at its latest annual Re:invent gathering in Las Vegas.

    DeSantis was speaking last week about AWS's Graviton 3 Arm-based processor, providing a bit more meat around the bones, so to speak – and in his comment the word "modern" is doing a lot of work.

    The computing landscape looks different from the perspective of a hyperscale cloud provider; what counts is not flexibility but intensive optimization and predictable performance.

    Continue reading
  • The Omicron dilemma: Google goes first on delaying office work

    Hurrah, employees can continue to work from home and take calls in pyjamas

    Googlers can continue working from home and will no longer be required to return to campuses on 10 January 2022 as previously expected.

    The decision marks another delay in getting more employees back to their desks. For Big Tech companies, setting a firm return date during the COVID-19 pandemic has been a nightmare. All attempts were pushed back so far due to rising numbers of cases or new variants of the respiratory disease spreading around the world, such as the new Omicron strain.

    Google's VP of global security, Chris Rackow, broke the news to staff in a company-wide email, first reported by CNBC. He said Google would wait until the New Year to figure out when campuses in the US can safely reopen for a mandatory return.

    Continue reading

Biting the hand that feeds IT © 1998–2021