Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Increase performance on write
Message
From
11/02/2016 13:44:58
 
 
To
11/02/2016 13:42:37
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2014
OS:
Windows 8.1
Network:
Windows 2008 Server
Miscellaneous
Thread ID:
01631211
Message ID:
01631313
Views:
40
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform