Printer Friendly
The Free Library
19,607,059 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Boost SQL Server Database System Performance.


BURBANK, Calif. -- All SQL Server An earlier relational DBMS from Sybase and from Microsoft. Sybase introduced SQL Server in 1988 for various Unix versions. In that same year, with help from IBM, Sybase created an OS/2 version that Microsoft licensed and branded as Microsoft SQL Server.  databases will, over time, experience "internal" fragmentation (1) Storing data in non-contiguous areas on disk. As files are updated, new data are stored in available free space, which may not be contiguous. Fragmented files cause extra head movement, slowing disk accesses. A defragger program is used to rewrite and reorder all the files.  of its data. This occurs when records are removed from database pages, but the space it previously occupied is still there after deletion deletion /de·le·tion/ (de-le´shun) in genetics, loss of genetic material from a chromosome.

de·le·tion
n.
Loss, as from mutation, of one or more nucleotides from a chromosome.
. Eventually this space is reused, but as it is reused, the data pages become fragmented, which can impact system performance, especially in the case of table scans where many data pages are read, one after another. This is where the need to defrag comes into play.

In SQL Server, there are several ways to defrag internal fragmentation. One of these methods is to use the DBCC DBCC Daytona Beach Community College (Florida)
DBCC District Business Conduct Committee (NASD)
DBCC Desert Breeze Community Church (Glendale, AZ, USA) 
 REINDEX command to rebuild the clustered and non-clustered indexes. Once indexes are rebuilt, data pages are now logically contiguous, and disk I/O (Input/Output) The transfer of data between the CPU and a peripheral device. Every transfer is an output from one device and an input to another. See PC input/output.

I/O - Input/Output
 is minimized.

Unfortunately, internal fragmentation is only part of the fragmentation problem. When DBCC REINDEX is run, it does nothing about "external" fragmentation. External fragmentation refers to the fragmentation of files on your server's disks, which can cause as much, if not more, unnecessary I/O activity as internal fragmentation. Unnecessary I/O activity, as you would expect, hurts SQL SQL
 in full Structured Query Language.

Computer programming language used for retrieving records or parts of records in databases and performing various calculations before displaying the results.
 Server's overall performance.

To defrag external fragmentation takes an operating system operating system (OS)

Software that controls the operation of a computer, directs the input and output of data, keeps track of files, and controls the processing of computer programs.
 utility, not a SQL Server utility. One of the most popular system performance tools to defrag a SQL Server database file is a tool from Diskeeper[R] Corporation called Diskeeper. Diskeeper has been around for many years, and many of you may already be familiar with it. What many DBAs aren't familiar with is that it is probably the best tool for defragmenting external fragmentation on their SQL Servers.

When an external fragmentation tool like Diskeeper runs, it does not restructure the internal contents of the file, unlike DBCC REINDEX. After Diskeeper defragments a file, the defragmented file will be a bit for bit duplicate of the original. Therefore, any holes within the database are still present and you will still need, from time to time, to rebuild your indexes to combat internal fragmentation.

So how do you find out if the files on your SQL Server are fragmented? Fortunately, this is easy. As part of Diskeeper's functionality, you can run a fragmentation analysis to see just how fragmented your SQL Server files are. As with defragmentation See defragment. , this can be done while SQL is running.

So, it's plain to see that a defragmentation utility like Diskeeper can take care of the external disk fragmentation, while a SQL Server utility like DBCC REINDEX can address internal SQL Server disk fragmentation. As a team, they can work together to help ensure the optimum performance and reliability of your SQL Servers.

If there is any doubt, simply install Diskeeper system performance software and use the defrag analysis function to find out exactly how many individual pieces your files are broken into. I've seen reports from sites where their database files were in more than 287,000 pieces. OUCH ouch 1  
interj.
Used to express sudden pain or displeasure.


ouch
interj

an exclamation of sharp sudden pain

ouch excl¡ay! 
!!!!
COPYRIGHT 2007 Business Wire
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2007, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Publication:Business Wire
Date:May 30, 2007
Words:480
Previous Article:Brian Jones Named Senior Vice President of Operations for FOX Business Channel.
Next Article:Semtech Announces $150 Million Accelerated Stock Buyback.
Topics:



Related Articles
EXTENDED SYSTEMS INTRODUCES ADVANTAGE DATABASE SERVER 5.5.
How to select the right accounting software.
FAULTY SQL CODE CAN CAUSE DATABASE PERFORMANCE PROBLEMS.
UNISYS JUMP STARTS ITANIUM 2-BASED SERVER PERFORMANCE BOOST.
SQL LITESPEED OFFERS SERVER BACKUP AND RECOVERY.
INRONGRID TOOLS DIAGNOSE PERFORMANCE AND SCALABILITY ISSUES.
Embarcadero DB Artisan 7.3.
AMD64 PROVIDES SMOOTH MIGRATION PATH.
New Performance Auditing Module Provides Powerful Performance Analysis to Optimize SQL Server Performance and Availability.
Embarcadero Rapid SQL 7.4 Delivers Powerful Database Development and Performance Benchmarking Solution for Microsoft SQL Server 2005 and MySQL.

Terms of use | Copyright © 2012 Farlex, Inc. | Feedback | For webmasters | Submit articles