New feature

Amazon Aurora DSQL now supports foreign key constraints

Amazon Aurora DSQL now allows adding foreign key constraints to new and existing tables, letting users define how referenced rows are handled when deleted or updated.

Amazon Aurora DSQL is a serverless, distributed SQL database with PostgreSQL compatibility and active-active multi-Region availability. It now supports adding foreign key constraints to both new and existing tables. Users can define application rules, such as ensuring a customer's primary address references an existing row in the address table. Aurora DSQL will then reject any write that would leave the customer pointing to an address that no longer exists. When a referenced row is deleted or updated, users can choose from options including NO ACTION, RESTRICT, CASCADE, SET NULL, and SET DEFAULT. This feature is available in all AWS Regions where Aurora DSQL is offered.

Why it matters

This update is useful for database users who need to ensure data integrity. Aurora DSQL provides a globally deployable relational database.

Read the original AWS announcement