
POSTGRESQL JDBC DRIVER DRIVER
With this knowledge, the AWS JDBC Driver can more closely monitor the Aurora DB cluster status so that a connection to the new primary DB instance can be established as fast as possible. This topology is provided via a direct query to the Aurora database, essentially providing a shortcut to bypass the delays caused by DNS resolution.


The AWS JDBC Driver for PostgreSQL fully utilizes failover behavior by maintaining a cache of the Aurora cluster topology and each DB instance's role (Aurora Replica or primary DB instance). This is partially due to the time required for the DNS of the new primary DB instance to be fully resolved in order to properly direct the connection.
POSTGRESQL JDBC DRIVER DRIVERS
Benefits of the AWS JDBC Driver for PostgreSQLĪlthough Aurora is able to provide maximum availability through the use of failover, existing client drivers do not currently take full advantage of this functionality. The AWS JDBC Driver for PostgreSQL is designed to coordinate with this behavior in order to provide minimal downtime in the event of a DB instance failure. It achieves this goal by electing an Aurora Replica to become the new primary DB instance, so that the DB cluster can provide maximum availability to a primary read-write DB instance. In an Amazon Aurora DB cluster, failover is a mechanism by which Aurora automatically repairs the DB cluster status when a primary DB instance becomes unavailable. Use of the PostgreSQL driver in preview is subject to the terms and conditions contained in the AWS Service Terms, particularly the Beta Service Participation Service Terms, and apply to any drivers not marked as 'Generally Available'. We encourage you to experiment with the PostgreSQL driver but DO NOT adopt it for production use. IMPORTANT Because this project is in preview, you may see breaking changes throughout. Support for additional features of clustered databases, including features of Amazon RDS for PostgreSQL and on-premises PostgreSQL deployments, is planned. The AWS JDBC Driver for PostgreSQL currently enables fast failover for Amazon Aurora with PostgreSQL compatibility. It is drop-in compatible and based on the PostgreSQL JDBC Driver, and is compatible with all PostgreSQL deployments. The Amazon Web Services (AWS) JDBC Driver for PostgreSQL is a driver that enables applications to take full advantage of the features of clustered PostgreSQL databases. Amazon Web Services (AWS) JDBC Driver for PostgreSQL
