Amazon Aurora DSQL now supports declaring foreign key constraints on both new and existing tables. This feature enforces referential integrity by rejecting writes that would leave references to non-existent rows. Administrators can define deletion and update behaviors using standard options like CASCADE, RESTRICT, and SET NULL.
- Enforces referential integrity natively in the serverless distributed engine.
- Applies to existing and new tables across all supported AWS Regions.
- Supports standard SQL actions: NO ACTION, RESTRICT, CASCADE, SET NULL, SET DEFAULT.
- Prevents orphaned records without requiring application-level validation logic.