Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.

Slides:



Advertisements
Similar presentations
Office of the Accountant General (A&E) Andhra Pradesh Hyderabad
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Acknowledgments Byron Bush, Scott S. Hilpert and Lee, JeongKyu
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Oracle Architecture. Instances and Databases (1/2)
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2007 all rights.
Module 20 Troubleshooting Common SQL Server 2008 R2 Administrative Issues.
Troubleshooting Techniques Lesson 29. Skills Matrix.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Maintaining and Updating Windows Server 2008
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Module 1: Database and Instance. Overview Defining a Database and an Instance Introduce Microsoft’s and Oracle’s Implementations of a Database and an.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Module 5: Data Access. Overview Introduce database components involved in data access Introduce concepts of Transact -SQL and Procedural SQL as tools.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Module 18 Monitoring SQL Server 2008 R2. Module Overview Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data.
Module 1: Introduction to Microsoft SQL Server 7.0.
5 Copyright © 2008, Oracle. All rights reserved. Configuring the Oracle Network Environment.
MCTS Guide to Microsoft Windows Vista Chapter 11 Performance Tuning.
MCTS Guide to Microsoft Windows 7
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
Module 7: Fundamentals of Administering Windows Server 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
Copyright © Oracle Corporation, All rights reserved. 1 Oracle Architectural Components.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Module 15 Monitoring SQL Server 2008 R2 with Alerts and Notifications.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
1 Chapter Overview Planning to Install SQL Server 2000 Deciding SQL Server 2000 Setup Configuration Options Running the SQL Server 2000 Setup Program Using.
INTRODUCTION TO ORACLE DATABASE ADMINISTRATION Lynnwood Brown President System Managers LLC Introduction – Lecture 1 Copyright System Managers LLC 2003.
Chapter 1Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 1 Backup and Recovery Overview MSCD642 Backup and Recovery.
Presented by Vishy Grandhi.  Lesson 1: AX Overview  Lesson 2: Role based security  Lesson 3: Monitoring  Troubleshooting.
SQL Advanced Monitoring Using DMV, Extended Events and Service Broker Javier Villegas – DBA | MCP | MCTS.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
Oracle Database Architectural Components
CSS Microsoft Korea. Data Collector Management Data Warehouse Performance and Configuration Reports Graphical Showplan Activity Monitor SQL Profiler Dynamic.
SQL Database Management
Monitoring Windows Server 2012
Troubleshooting Tools
SQL Server Monitoring Overview
MONITORING MICROSOFT WINDOWS SERVER 2003
IBM INFORMIX online Training in Hyderabad
Microsoft Dumps Question Answer - Dumps4download
Dynamics AX Performance
Microsoft SQL Server 2014 for Oracle DBAs Module 11
Jean Joseph DBA\DEVELOPER
Microsoft SQL Server 2014 for Oracle DBAs Module 1
Database administration
Ch 10. Maintaining and Automating SQL Server
Inside the Database Engine
Presentation transcript:

Module 15: Monitoring

Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried out to ensure: Maximum availability Optimal performance Error-free operations Availability of tools for monitoring

Monitoring Availability Monitoring should cover availability, errors, and performance of all components of the database environment Components to be monitored for availability are: Node or server – server hardware and all components in the path from the client Database listener – in SQL Server the listener is part of the database service Database monitoring High-level – checks for existence of instance Low-level – ensures work can be performed on the database

Monitoring Errors The database and its components return status when successful and error messages of when failure or events are encountered Error messages in Oracle have an error code made up of a number and a descriptive error message Error messages in SQL Server are composed of: Unique message number Severity level Error state number – identifies source Error message – description

Error Logs Oracle alert file (alert.log) has equivalent in error logs of SQL Server Logs can be read using SQL Server Management Studio or any text editor Previous 6 error log files are kept by default but you can configure to keep more – up to 99 Trace files are not created by default but can be created manually using Performance Monitor or Profiler Actually there is an automatic ‘BlackBox’ trace, but … SQL Server also writes the useful information to the Microsoft Windows Application log which can be read using the Event Viewer

Demonstration 1: Viewing Logs and Events In this demonstration you will learn to: Locate and Review SQL Server Logs

Demonstration 2: Error Messages In this demonstration you will learn to: Create custom error messages Use Try..Catch Blocks Simulate data validation Review SQL Server Log Entries

Monitoring Performance Database server has to be monitored for CPU, memory, processes, virtual memory, network, I/O, and storage Tools and utilities for monitoring server resources are: Microsoft Windows – Task Manager, Performance Monitor, Windows Explorer Monitoring database storage: Database Files – size, growth, free space, status, archiving of logs Tablespaces or Filegroups – size, growth, fragmentation, status Extents – size and number of extents allocated to objects, performance of rollback, temporary and sort space

Monitoring Performance – Database and Instance Monitoring of database instance: Memory – performance of subcomponents of SGA (Oracle) and memory pool (SQL Server) Processes – performance of background and server processes (Oracle) or worker threads (SQL Server) Sessions and Transactions – number and activity of sessions and resource usage by transactions Locks and Latches – waits for locks and latches, and deadlocks Parsing – parsing activity indicating performance of SQL and cursors

Monitoring Tools Third-Party Tools BMC Software— Performance Manager for Databases Embarcadero— DBArtisan Computer Associates— Unicenter Quest Software— Spotlight Microsoft Windows / SQL Server Tools Activity Monitor Data Collector / Management Data Warehouse DBCC commands Dynamic Management Objects Performance Monitor Reports Dashboard in Management Studio SQL Server Agent SQL Profiler Microsoft Windows / SQL Server Tools Activity Monitor Data Collector / Management Data Warehouse DBCC commands Dynamic Management Objects Performance Monitor Reports Dashboard in Management Studio SQL Server Agent SQL Profiler

Demonstration 3: Task Manager In this demonstration you will learn to: Observe SQL Server services with the Windows Task Manager

Demonstration 4: Activity Monitor In this demonstration you will learn to: Use the new SQL Server 2008 Activity Monitor to observe specific resources and queries.

Demonstration 5: Setting Alerts to Automate Monitoring In this demonstration you will learn to: Define a Database Mail Profile and Account Create an Alert based on SQL Server counter events Review an automatically generated to a database administrator.

Review We learned that server, database listener, and database are the components that need to be monitored We learned the types of monitoring cover availability, errors, and performance We saw the operating system tools to check performance of server hardware and operating system components We learned how the various subcomponents of the database and instance can be monitored using counters and logs We were introduced to tools for monitoring SQL Server database and servers such as Performance Monitor, the Data Collector and Performance Data Warehouse, SQL Server Agent, and SQL Profiler