Solved

prevent Index Fragmentation.

Posted on 2011-03-25
2
569 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

729 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