Advanced Concepts in SQL Server 2005
page 10 of 11
by Joydip Kanjilal
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 42763/ 67

Best practices in deployment

Set your database size initially instead of allowing it to grow automatically. To minimize disk reads and writes, you may create the log file and tempdb into separate devices from the data. You can utilize RAID configuration with multiple disk controllers if the database performs large data warehouse operations. Have an optimal memory for your server and perform index fragmentation as and when needed. You can go with the automatic database shrink option to manage unwanted space. However, it is recommended that you use default server configuration for your application.

Some of the common mistakes that are usually noticed and should be avoided include:

·         Usage of GUIDs at times wherever not necessary and using GUIDs as primary key.

·         Having a clustered index GUID primary key makes a row bigger and it also degrades the performance as it would make every non-clustered index bigger.

·         Not being rational on the usage of data types, for example usage of larger data types where smaller data types would suffice the purpose.

·         No proper attention to remove missing or unused indexes. Poor decision making capabilities to identify the usage of clustered and non-clustered indexes.

·         Un-utilized columns and rows which may cause excessive data density.

·         Execution plan is ignored while writing queries. Each query adds up to extra time for processing.


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-25 8:27:38 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search