# Clustered Property
> Version: _Available or changed with runtime version 1.0._
Sets a value that indicates whether the key also defines the clustered index in the database.
By default the primary key is configured as the clustered key.
## Applies to
 Table key
> NOTE
> The Clustered property cannot be used in table extension objects.
## Property value
True if the index is clustered, otherwise false. The default is false.
## Syntax
```al
Clustered = true;
```
## Remarks
A clustered index determines the physical order in which records are stored in the table. Using a clustered key can improve the time it takes to retrieve records.
There can be only one clustered key on a table.
## Example
The following example defines a secondary key to be a clustered index.
```al
keys
{
    // the first key defined in the keys section is the primary key
    key(PrimaryKey; ID)
    {
        Clustered = false;
    }
    key(CustomerInfo; Name,Address,City)
    {
        Clustered = true;
    }
}
```
## Related information
Table Key<devenv-key-properties>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-clustered-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-clustered-property/
