Solved

prevent Index Fragmentation.

Posted on 2011-03-25
2
567 Views
Last Modified: 2012-06-27
experts,

In an OLTP database (with a large number of inserts) what would be best and easiest action to prevent Index Fragmentation.

Thanks,

Lynn
0
Comment
Question by:yrcdba7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
lludden earned 500 total points
ID: 35216707
You need to determine why the fragmentation is happening.  Is it on every index or just a few?  You can reduce your Fill Factor to slow down the fragmentation rate, but it will still occur.  You can schedule maintenance jobs to rebuild your indexes.

Indexes on some data types (GUID) tend to fragment more easily.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 35217663
>>what would be best and easiest action to prevent Index Fragmentation<<
Short answer:  You cannot.  Long(er) answer the best you can do is minimize fragmentation by choosing appropriate indexes and doing regular maintenance.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question