SlideShare una empresa de Scribd logo
1 de 6
Global Marketing
How to Monitor Index Fragmentation
in Spotlight on SQL Server Enterprise
SQLDBApros
SQLDBApros
Why should you care?
• Index fragmentation happens when a new record is inserted into a
current database.
– It is like adding a new name to a phone book, there is no room and the
name has to be placed out of order.
– Or taking a name out of a phone books, then there is a blank
space, making the phone book longer than it needs to be.
› Therefore taking longer to read it, back it up, and recover it.
• If you do not defragment your indexes, your database has to cache
all of those blank records, wasting memory.
• Many defragmentation scripts are set to run as part of a maintenance
routine, whether they need it or not.
– This causes extra items on the transaction log, the longer the backups
take, the longer the restores take.
• Spotlight on SQL Server alerts you when defragmentation needs to
occur
2
SQLDBApros
Monitoring index fragmentation
• Bad internal fragmentation (a lot of empty spaces) and bad external
fragmentation (a lot of records out of order) make the index longer
than it needs to be and therefore storage performance is slower.
• Setting a lower page fill filter (such as 50%) makes your inserts
incredibly fast, but your reads are twice as slow.
– Tweaking this fill filter is a dangerous game
• Spotlight on SQL Server will show you if the root of your problem is
the fragmented indexes and how critical they are:
– Requiring an entire rebuild
– Or just a defragmentation
3
SQLDBApros
Learn more with the following video
• The following video teaches you how to monitor index
fragmentation in Spotlight on SQL Server 10.0
• New features in version 10.0
– Alarm that tracks whether large indexes require rebuilding
– Home page metrics that allow you to easily drilldown for details
– Quickly generate defragmentation script
• How to set up customizable alarms
• How to view easy home page metrics
• How to get tailored scripts for your defragmentation jobs
4
SQLDBApros
Click to watch the video now
5
Learn More
Download Spotlight on SQL Server
View Tutorial on YouTube

Más contenido relacionado

Más de SQLDBApros

What SQL Server Pros Can Get by Giving this Holiday Season
What SQL Server Pros Can Get by Giving this Holiday SeasonWhat SQL Server Pros Can Get by Giving this Holiday Season
What SQL Server Pros Can Get by Giving this Holiday Season
SQLDBApros
 
SunBridge Ensures the Health of their SQL Server Database with Solutions from...
SunBridge Ensures the Health of their SQL Server Database with Solutions from...SunBridge Ensures the Health of their SQL Server Database with Solutions from...
SunBridge Ensures the Health of their SQL Server Database with Solutions from...
SQLDBApros
 
DBA SQL Health Check-up
DBA SQL Health Check-upDBA SQL Health Check-up
DBA SQL Health Check-up
SQLDBApros
 
Are the Native SQL Server Backup Utilities Holding You Back?
Are the Native SQL Server Backup Utilities Holding You Back?Are the Native SQL Server Backup Utilities Holding You Back?
Are the Native SQL Server Backup Utilities Holding You Back?
SQLDBApros
 

Más de SQLDBApros (8)

What SQL Server Pros Can Get by Giving this Holiday Season
What SQL Server Pros Can Get by Giving this Holiday SeasonWhat SQL Server Pros Can Get by Giving this Holiday Season
What SQL Server Pros Can Get by Giving this Holiday Season
 
What SQL Server Pros Can Get By Giving
What SQL Server Pros Can Get By GivingWhat SQL Server Pros Can Get By Giving
What SQL Server Pros Can Get By Giving
 
SunBridge Ensures the Health of their SQL Server Database with Solutions from...
SunBridge Ensures the Health of their SQL Server Database with Solutions from...SunBridge Ensures the Health of their SQL Server Database with Solutions from...
SunBridge Ensures the Health of their SQL Server Database with Solutions from...
 
DBA SQL Health Check-up
DBA SQL Health Check-upDBA SQL Health Check-up
DBA SQL Health Check-up
 
SQL Server Backup and Recovery Challenges
SQL Server Backup and Recovery ChallengesSQL Server Backup and Recovery Challenges
SQL Server Backup and Recovery Challenges
 
Cache issues from T-SQL-generated Plans and How to Manage Them
Cache issues from T-SQL-generated Plans and How to Manage ThemCache issues from T-SQL-generated Plans and How to Manage Them
Cache issues from T-SQL-generated Plans and How to Manage Them
 
I got 99 Problems but my backup ain't one by Richard Douglas
I got 99 Problems but my backup ain't one by Richard DouglasI got 99 Problems but my backup ain't one by Richard Douglas
I got 99 Problems but my backup ain't one by Richard Douglas
 
Are the Native SQL Server Backup Utilities Holding You Back?
Are the Native SQL Server Backup Utilities Holding You Back?Are the Native SQL Server Backup Utilities Holding You Back?
Are the Native SQL Server Backup Utilities Holding You Back?
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

How to Monitor Index Fragmentation in Spotlight on SQL Server Enterprise

  • 1. Global Marketing How to Monitor Index Fragmentation in Spotlight on SQL Server Enterprise SQLDBApros
  • 2. SQLDBApros Why should you care? • Index fragmentation happens when a new record is inserted into a current database. – It is like adding a new name to a phone book, there is no room and the name has to be placed out of order. – Or taking a name out of a phone books, then there is a blank space, making the phone book longer than it needs to be. › Therefore taking longer to read it, back it up, and recover it. • If you do not defragment your indexes, your database has to cache all of those blank records, wasting memory. • Many defragmentation scripts are set to run as part of a maintenance routine, whether they need it or not. – This causes extra items on the transaction log, the longer the backups take, the longer the restores take. • Spotlight on SQL Server alerts you when defragmentation needs to occur 2
  • 3. SQLDBApros Monitoring index fragmentation • Bad internal fragmentation (a lot of empty spaces) and bad external fragmentation (a lot of records out of order) make the index longer than it needs to be and therefore storage performance is slower. • Setting a lower page fill filter (such as 50%) makes your inserts incredibly fast, but your reads are twice as slow. – Tweaking this fill filter is a dangerous game • Spotlight on SQL Server will show you if the root of your problem is the fragmented indexes and how critical they are: – Requiring an entire rebuild – Or just a defragmentation 3
  • 4. SQLDBApros Learn more with the following video • The following video teaches you how to monitor index fragmentation in Spotlight on SQL Server 10.0 • New features in version 10.0 – Alarm that tracks whether large indexes require rebuilding – Home page metrics that allow you to easily drilldown for details – Quickly generate defragmentation script • How to set up customizable alarms • How to view easy home page metrics • How to get tailored scripts for your defragmentation jobs 4
  • 5. SQLDBApros Click to watch the video now 5
  • 6. Learn More Download Spotlight on SQL Server View Tutorial on YouTube