This topic provides an overview of AliPG.

Background information

PostgreSQL is an advanced open source enterprise-grade database service. PostgreSQL was listed in the DB-Engines Ranking in 2017 and 2018. In 2019, PostgreSQL even won the O'Reilly Open Source Convention award (OSCON).

Alibaba Cloud offers two PostgreSQL-compatible database services that run AliPG: ApsaraDB for RDS and ApsaraDB for MyBase. AliPG is a unified database engine that is developed by Alibaba Cloud. Since its commercial rollout in 2015, AliPG has been running stably for years to process a large number of workloads within Alibaba Group and on the cloud. AliPG supports the following major PostgreSQL versions: 9.4, 10, 11, and 12.

Benefits

AliPG is developed based on insights into the industry requirements. AliPG aims to help customers expand business boundaries.

AliPG has the following benefits over the PostgreSQL Community edition:

  • Faster
  • More stable

    AliPG uses the Platform as a Service (PaaS) architecture. This architecture allows you to transform traditional software from license-based service to subscription-based service. You can manage a large amount of metadata, optimize connections, and better isolate resources. You can also use tens of thousands of schemas per RDS instance.

  • More secure
    • AliPG is certified based on leading national and international security standards, which empowers enterprises to increase institutional security scores in the financing and listing phases.
    • AliPG provides the following security enhancements:
      • Encrypts sensitive data that contains passwords. This sensitive data includes the dynamic views, shared memory, dblink plug-in, historical commands, and audit logs.
      • Fixes bugs in the functions that you call in the PostgreSQL Community edition.
      • Supports fully encrypted databases. For more information, see Create a fully encrypted database on an ApsaraDB RDS for PostgreSQL instance.
      • Supports the semi-synchronous mode. This mode allows you to configure the following protection levels for your RDS instance: maximum protection, highest high availability, and optimal performance. For more information, see Set the protection level of an ApsaraDB RDS for PostgreSQL instance.
      • Supports the failover slot function. This function prevents primary/secondary switchovers from affecting the reliability of logical replication. For more information, see Failover slot.
  • More flexible and controllable (For more information, see What is ApsaraDB for MyBase?)
    • AliPG grants you the permissions to manage the operating systems on hosts in dedicated ApsaraDB for MyBase clusters. This allows you to manage your dedicated ApsaraDB for MyBase clusters based on your business requirements.
    • AliPG allows you to customize overcommit ratios in the development, test, and staging environments. For example, you can configure 128 CPU cores for a host that provides only 64 CPU cores. This allows you to exclusively occupy resources in the production system to reduce the overall costs.