Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increase performance on write
Message
De
11/02/2016 13:44:58
 
 
À
11/02/2016 13:42:37
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows 2008 Server
Divers
Thread ID:
01631211
Message ID:
01631313
Vues:
39
>I'm talking about the type of index for the primary key on the database. If you make the integer primary key a clustered index, it will save you disk space and I/O for any handling the indexes. It would also avoid records being moved from one page to another as records are added.

Primary key on all tables are clustered.

>I thought you mentioned it currently contains 4 million records. So a 4 byte integer field will be fine are long as you are not reaching 2 billion records.

Yes, but that is only one table. Our transactional tables and the audit trail tables really like to have millions of new records per day.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform