Presentation is loading. Please wait.

Presentation is loading. Please wait.

Re-Indexing - The quest of ultimate automation

Similar presentations


Presentation on theme: "Re-Indexing - The quest of ultimate automation"— Presentation transcript:

1 Re-Indexing - The quest of ultimate automation
– sponsored by Dell Software PASS Database Administration Virtual Chapter – Oct Prakash Heda

2 Email/Facebook: Prakash@SQLfeatures.com MCDBA/MCITP
Prakash Heda Database Team Lead at Advent Software Blog: /Facebook: MCDBA/MCITP

3 Agenda Why Scope of session Review current process
What this process handles Practices to be avoided Demo

4 Why Space full on data drive Space full on log file
Simple recovery during re-indexing SQL restarts taking very long time to recover Log backup fails, Backups drive full Re-indexing caused blocking to multiple session

5 Not performance tuning but maintenance
Scope Not performance tuning but maintenance Automating the process for highest uptime Top to bottom approach DBA provide recommendations

6 Review current process
Selective re-indexing - All or nothing? Rebuilding multiple databases Hardcoded (Do not manage new tables/ fill factor) Rebuild Vs Reorganize Online vs Offline indexing Job fails if one index fails Weekly schedule, maintenance period Read only database Separate script for each server

7 Smart re-indexing What this process handles Selective Reindexing
Handles online vs offline indexing Reorganize Vs Rebuild Default set to 90% for fill factor Clustered and non-clustered index sequencing Handles blocks/Locks efficiently Automatically stop itself beyond a threshold

8 What this process handles
Job continues if one index fails Handles Read only database Post troubleshooting logs Can be scheduled daily Minimize system downtime due to log disk full Automated log backups Network backups Centrally managed Can be implemented on most of the SQL servers regardless of application type or data size

9 Simple Recovery is not an option
Practices to be avoided Simple Recovery is not an option Truncating transaction Log Shrinking data file Shrinking log file Script Review

10 Don’t take everything you hear as true
Summary Don’t take everything you hear as true Not tested against XML/Spatial indexes Better with each release Keep up to date Engage with user groups

11 Q & A

12 Blog: www.SQLfeatures.com
PASS Database Administration Virtual Chapter – Oct – sponsored by Dell Software Blog: Thank You For attending this session… Facebook/


Download ppt "Re-Indexing - The quest of ultimate automation"

Similar presentations


Ads by Google