For the complete documentation index, see llms.txt. This page is also available as Markdown.

Server Constraints

Understand MariaDB Server's architectural constraints. This section details limitations & design considerations, helping you optimize your database deployments for maximum efficiency and scalability.

Provides a high-level overview of how MariaDB Server enforces data integrity through various architectural constraint types.

Explains the limitations and behavior of AUTO_INCREMENT columns, including how they handle maximum values and gaps in sequences.

Details the requirements and limitations for defining foreign keys to ensure referential integrity between tables.

Describes how NOT NULL constraints prevent NULL values from being stored in specific columns.

Outlines the rules for primary keys, which uniquely identify each record in a table and cannot contain NULL values.

Explains the specific implementation and considerations for unique constraints when using MariaDB Enterprise Server.

This page is: Copyright © 2026 MariaDB. All rights reserved.

Last updated

Was this helpful?