Share
Azure PostgreSQL Setup Guide

Azure PostgreSQL Database is a relational database service based on the open-source Postgres database engine. It is a fully-managed, enterprise-ready community PostgreSQL database as a service that can handle mission-critical workloads with predictable performance, security, high availability, and dynamic scalability.

You can ingest data from your Azure PostgreSQL database using Hevo Pipelines and replicate it to a Destination of your choice.


Source Considerations

  • If you add a column with a default value to a table in PostgreSQL, entries with it are created in the WAL only for the rows that are added or updated after the column is added. As a result, in the case of log-based Pipelines, Hevo cannot capture the column value for the unchanged rows. To capture those values, you need to:

    • Restart the historical load for the respective object.

    • Run a query in the Destination to add the column and its value to all rows.

  • PostgreSQL versions 15.8 and below do not support logical replication on read replicas. This feature is available starting from version 16.

  • For new Azure PostgreSQL databases, SSL connections may be enforced. To turn off SSL connections, do the following:

    1. Log in to the Azure Portal.

    2. Under Resources, Recent tab, select the database for which you want to turn off the SSL connection mode. For example, hevo-postgres in the image below.

      Recent Resources

    3. In the left navigation pane of your <Database Name> page, under Settings, click Server Parameters.

    4. Turn off the require_secure_transport server parameter, and then click Save.

      Turn Off SSL

  • When you delete a row in the Source table, its XMIN value is deleted as well. As a result, for Pipelines created with the XMIN ingestion mode, Hevo cannot track deletes in the Source object(s). To capture deletes, you need to restart the historical load for the respective object.

  • XMIN is a system-generated column in PostgreSQL, and it cannot be indexed. Hence, to identify the updated rows in Pipelines created with the XMIN ingestion mode, Hevo scans the entire table. This action may lead to slower data ingestion and increased processing overheads on your PostgreSQL database host. Due to this, Hevo recommends that you create the Pipeline in the Logical Replication mode.

Note: The XMIN limitations specified above are applicable only to Pipelines created using the XMIN ingestion mode, which is currently available for Early Access.


Limitations

  • The data type Array in the Source is automatically mapped to Varchar at the Destination. No other mapping is currently supported.

  • Hevo does not support data replication from foreign tables, temporary tables, and views.

  • If your Source data has indexes (indices) and constraints, you must recreate them in your Destination table, as Hevo does not replicate them from the Source. It only creates the existing primary keys.

  • Hevo does not set the __hevo_marked_deleted field to True for data deleted from the Source table using the TRUNCATE command. This could result in a data mismatch between the Source and Destination tables.

  • Hevo does not support Azure Database for PostgreSQL - Flexible Server.

  • Hevo supports only RSA-based keys for establishing SSL connections. RSA is an encryption algorithm used for certificate private keys. You must ensure that your SSL certificates and keys are RSA-based.


See Also


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Nov-11-2024 NA Updated sections, Create a Read Replica (Optional), Set up Log-based Incremental Replication, Whitelist Hevo’s IP Addresses, and Source Considerations as per the latest Azure PostgreSQL UI.
Sep-30-2024 NA Updated the Source Considerations section to add information about the logical replication support for read replicas.
Jun-27-2024 NA Updated section, Limitations to add information about Hevo supporting only RSA-based keys.
May-30-2024 NA - Reorganized section, Create a database user for consistency,
- Updated section, Grant privileges to the user to add all the necessary permissions.
Apr-29-2024 NA Updated section, Specify Azure PostgreSQL Connection Settings to include more detailed steps.
Apr-15-2024 2.22.2 Updated section, Specify Azure PostgreSQL Connection Settings to add information about support for flexible server and single server deployment modes.
Mar-18-2024 2.21.2 Updated section, Specify Azure PostgreSQL Connection Settings to add information about the Load all CA certificates option.
Mar-05-2024 2.21 Added the Data Replication section.
Feb-05-2024 NA Updated sections, Specify Azure PostgreSQL Connection Settings and Object and Query Mode Settings to add information about the XMIN ingestion mode.
Jan-22-2024 2.19.2 Updated section, Object and Query Mode Settings to add a note about the enhanced object selection flow available for log-based Pipelines.
Jan-10-2024 NA - Updated section, Source Considerations to add information about limitations of XMIN query mode.
- Removed mentions of XMIN as a query mode.
Nov-03-2023 NA Renamed section, Object Settings to Object and Query Mode Settings.
Oct-11-2023 NA Updated section, Limitations to add information about Hevo not supporting Azure Database for PostgreSQL - Flexible Server.
Oct-03-2023 NA Updated sections:
-Set up Log-based Incremental Replication to reflect the changed Azure PostgreSQL UI,
- Specify Azure PostgreSQL Connection Settings to describe the schema name displayed in Table and Custom SQL ingestion modes,
- Source Considerations to add information about logical replication not supported on read replicas, and
- Limitations to add limitations about data replicated by Hevo.
Sep-19-2023 NA Updated section, Limitations to add information about Hevo not supporting data replication from certain tables.
Jun-26-2023 NA Added section, Source Considerations.
Apr-21-2023 NA Updated section, Specify Azure PostgreSQL Connection Settings to add a note to inform users that all loaded Events are billable for Custom SQL mode-based Pipelines.
Mar-09-2023 2.09 Updated section, Specify Azure PostgreSQL Connection Settings to mention about SEE MORE in the Select an Ingestion Mode section.
Dec-19-2022 2.04 Updated section, Specify Azure PostgreSQL Connection Settings to add information that you must specify all fields to create a Pipeline.
Dec-07-2022 2.03 Updated section, Specify Azure PostgreSQL Connection Settings to mention about including skipped objects post-Pipeline creation.
Dec-07-2022 2.03 Updated section, Specify Azure PostgreSQL Connection Settings to mention about the connectivity checker.
Jul-04-2022 NA - Added sections, Specify Azure PostgreSQL Connection Settings and Object Settings.
Jan-24-2022 1.80 Removed from Limitations that Hevo does not support UUID datatype as primary key.
Sep-09-2021 1.71 Updated the section, Limitations to include information about columns with the UUID data type not being supported as a primary key.
Sep-06-2021 NA Updated the section, Limitations to remove the mention of SSL login not being supported, as it is supported now.
Feb-22-2021 1.57 Added sections:
- Create a Read Replica
- Create a User and Grant Privileges
- Retrieve the Hostname and Port Number.
Last updated on Nov 11, 2024

Tell us what went wrong

Skip to the section