Ridewaan Hanslo ridewaanhanslo

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
By: Jose Chinchilla July 31, Jose Chinchilla MCITP: SQL Server 2008, Database Administrator MCTS: SQL Server 2005/2008, Business Intelligence DBA.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
SQL Server 2005 Implementation and Maintenance Chapter 10: Maintaining and Automating SQL Server.
Utility Database Chris
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Sitefinity Performance and Architecture
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Module 13 Automating SQL Server 2008 R2 Management.
Effective Methods for Analyzing Altiris Performance Sam Saffron | Development Manager | Altiris John Epeneter | Product Manager | Altiris Monitoring.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
ISV Innovation Presented by ISV Innovation Presented by Business Intelligence Fundamentals: Data Loading Ola Ekdahl IT Mentors 9/12/08.
Agenda Principal Consultant, SharePoint Development Team Lead John Ramminger Linked In:
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
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.
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
APEL & MySQL Alison Packer Richard Sinclair. APEL Accounting Processor for Event Logs extracts job information by parsing batch system (PBS, LSF, SGE.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
SQLRX – SQL Server Administration – Tips From the Trenches SQL Server Administration – Tips From the Trenches Troubleshooting Reports of Sudden Slowdowns.
A Brief Documentation.  Provides basic information about connection, server, and client.
Okalo Daniel Ikhena Dr. V. Z. Këpuska December 7, 2007.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Clusterpoint Margarita Sudņika ms RDBMS & NoSQL Databases & tables → Document stores Columns, rows → Schemaless documents Scales UP → Scales UP.
02 | Data Flow – Extract Data Richard Currey | Senior Technical Trainer–New Horizons United George Squillace | Senior Technical Trainer–New Horizons Great.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Query Optimization CMPE 226 Database Systems By, Arjun Gangisetty
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
ERPAdmin SAP Performance Tuning
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
MANAGEMENT DATA WAREHOUSE AND DATA COLLECTOR Ian Lanham.
Presented by [Harshit Agrawal] 04/03/2017
Architecting Search in SharePoint 2016
Antonio Abalos Castillo
Chris Menegay Sr. Consultant TECHSYS Business Solutions
Very Large Databases in your future
Example of a page header
SSIS Project Deployment: The T-SQL Way
Example of a page header
Installation and database instance essentials
Hustle and Bustle of SQL Pages
Populating a Data Warehouse
Save Time & Resources: Job Performance Tuning Strategies
My life at the Cooperators
The Killing Cursors Cyndi Johnson
Designing Business Intelligence Solutions with Microsoft SQL Server
Stop Wasting Time & Resources: Performance Tune Your Jobs
Populating a Data Warehouse
Very large Databases in your future Eric Peterson.
Table Partitioning Intro and make that a sliding window too!
An end-to-end archiving project in just 45 minutes
SQL Server Agent The Life Preserver for the Drowning DBA Lance Tidwell.
Save Time & Resources: Job Performance Tuning Strategies
Table Partitioning Intro and make that a sliding window too!
Patterns for designing a supportable Data Warehouse
Parameter Sniffing on SQL Server
Table Partitioning Intro and make that a sliding window too!
Insight into the SQL Server Buffer Cache
SSIS Project Deployment: The T-SQL Way
SSRS – Thinking Outside the Report
Sql Saturday Philadelphia
An end-to-end archiving project in just 45 minutes
Brodie Brickey SSIS Basics.
7/28/ :33 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
SSIS - Overview John Manguno. SSIS - Overview John Manguno.
Implementing ETL solution for Incremental Data Load in Microsoft SQL Server Ganesh Lohani SR. Data Analyst Lockheed Martin
Presentation transcript:

Ridewaan Hanslo ridewaanhanslo MS SQL SERVER: Re-engineering legacy SQL Server Radius Accounting Processor Archiving solution. Ridewaan Hanslo ridewaanhanslo

Thank You Sponsors

Overview Problem Statement Optimization Archiving Configuration Monitoring Scaling/Availability Demo (Code)

Problem Statement

ISSUES IDENTIFIED Issue 1: SPROC’s for archiving. Issue 2: Lack or bad indexing. Issue 3: Table Reads/Writes configuration. Issue 4: Badly configured Agent Jobs. Issue 5: Lack of Monitoring/Validation. Issue 6: Lack of Documentation.

Optimization

INDEXES Add/Remove/Update Indexes on the tables that forms part of the processing. Add indexes – prevent unnecessary full table scan/heaped approach. Remove indexes – saved 60GB of HDD space. sp_BlitzIndex

Indexes (continued…)

Indexes (continued…) * To be deprecated

Tables Optimised tables mostly used for querying purposes as reading tables (faster reads). Optimized tables mostly used for writing to purposes as write tables (faster writes).

Tables (continued…)

Archiving

ARCHIVING (continued…) Old Way - raw selects (no caching), to gather data and looping through them slowly causing frequent crashes of the archiving jobs. New Way – Cached-Incremental Data Load method was used with the SSIS packages.

ARCHIVING (continued…) The Project has 2 project sets. SQL Server 2012 SQL Server 2014

ARCHIVING (continued…)

ARCHIVING (continued…)

CONFIGURATION

SSIS CATALOG Publish packages to the Server

SQL AGENT JOBS Usage Processing – runs every 4 mins. Job 2: Archiving – runs once a month.

Monitoring

Monitoring Monitor 1: SQL Agent Job – Execution Date Monitor 2: SQL log history. Monitor 3: Email Notifications. Monitor 4: Live/Staging Tables.

SCALING & Availability

SCALING & Availability Vertical Scaling Horizontal Scaling e.g. Table partitions Availability e.g. Database Mirroring

Demo (CODE)

REFERENCES [1] https://www.brentozar.com/

Questions Thank you!