Re-Indexing - The quest of ultimate automation

Slides:



Advertisements
Similar presentations
SQL-BackTrack for Sybase
Advertisements

DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
SQL Server Best Practices Keep Your Database In Top Performance Shape and Maintain Effective Backups September, 2007 Richard Kokoski.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Advanced Databases DBA: Backups 1. Advanced Databases Agenda Define backup Discuss Backup Terminology Explain various backup and restore options in Oracle.
Module 12: Backup and Recovery. Overview Backup and recovery methods available in Oracle and SQL Server 2008 Types of failure Types of recovery Formulating.
Database Backup and Recovery
Transaction log grows unexpectedly
Oracle backup and recovery strategy
Optimizing SQL Server 2012 for SharePoint 2013 SharePoint Saturday/Friday, Honolulu March 27, 2015.
Simplify your Job – Automatic Storage Management Angelo Session id:
Module 8: Designing Active Directory Disaster Recovery in Windows Server 2008.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Learningcomputer.com SQL Server Working with Databases.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Roy Ernest Manager of DBA Dept Pinnacle Sports Worldwide
2010 USER FORUM In The Data – Keeping it going Jaime Cummings & John Bonney.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
Best Practices in Loading Large Datasets Asanka Padmakumara (BSc,MCTS) SQL Server Sri Lanka User Group Meeting Oct 2013.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
SQL SERVER MAINTENANCE PLANS Kat
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
Strategies for Working with Texas-sized Databases Robert L Davis Database Engineer
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Linkedin: dennisegraham Dennis E Graham Reporting For SQL Health.
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Architecting Availability Groups An analysis of Microsoft SQL Server Always-On Availability Group architectures 1.
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
ProgressBook Suite Maintenance
Partial Database Availability
You Inherited a Database Now What?
Inside transaction logging
SQL Replication for RCSQL 4.5
Curacao SQL Saturday June 11, 2016
Lead SQL BankofAmerica Blog: SQLHarry.com
Hitting the SQL Server “Go Faster” Button
Title: IT Best Practices with RescueNet
Designing Database Solutions for SQL Server
A digital reference guide for database administrators
Building Effective Backups
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Universal SQL Installations Framework (Script review and Demo)
Making PowerShell Useful
Hitting the SQL Server “Go Faster” Button
Tuning Your Maintenance Plans
Making PowerShell Useful
dbatools - PowerShell and SQL Server Working Together
Example of a page header
Peter Shore SQL Saturday Cleveland 2016
Inside transaction logging
Making PowerShell Useful
Making PowerShell Useful
The Ultimate Maintenance Plan By Edward Roepe Perimeter DBA, LLC
Database hidden disasters…
You Inherited a Database Now What?
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Make Your Maintenance Plans…
Presentation transcript:

Re-Indexing - The quest of ultimate automation – sponsored by Dell Software PASS Database Administration Virtual Chapter – Oct 22 2014 Prakash Heda Www.sqlfeatures.com

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

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

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

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

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

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

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

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

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

Q & A

Blog: www.SQLfeatures.com PASS Database Administration Virtual Chapter – Oct 22 2014 – sponsored by Dell Software Blog: www.SQLfeatures.com Thank You For attending this session… Twitter @PrakashHeda Facebook/Email: Prakash@SQLfeatures.com