M ODULE 3: W EEK 6 D ATABASE MANAGEMENT 1 ITEC 450 Fall 2012.

Slides:



Advertisements
Similar presentations
ORACLE DATABASE HIGH AVAILABILITY & ORACLE 11GR2 DATA GUARD 1 Güneş EROL.
Advertisements

ITEC474 INTRODUCTION.
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
M ODULE 5 Metadata, Tools, and Data Warehousing Section 1 Metadata Management 1 ITEC 450.
Mecanismos de alta disponibilidad con Microsoft SQL Server 2008 Por: ISC Lenin López Fernández de Lara.
Database Administration and Security Transparencies 1.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Chapter Physical Database Design Methodology Software & Hardware Mapping Logical Design to DBMS Physical Implementation Security Implementation Monitoring.
Keith Burns Microsoft UK Mission Critical Database.
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
EIM April 19, Robin Weaver 13 Years with IBM Prior to Assignment at UNC Charlotte Range of Database Development/Data Management Projects and Products.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
Oracle Database High Availability Brandon Kuschel Jian Liu Source: Oracle Database 11g Release 2 High Availability An Oracle White Paper November 2010.
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
ORACLE DATABASE HIGH AVAILABILITY 1. OUTLINE I. Overview Of High Availability II. Oracle Database High Availability Architecture III. Determining Your.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
D ATABASE A DMINISTRATION ITEC 450 Fall 2012 Instructor: Dr. Rama Gudhe.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
Managing Multi-User Databases AIMS 3710 R. Nakatsu.
M ODULE 2 D ATABASE I NSTALLATION AND C ONFIGURATION Section 1: DBMS Installation 1 ITEC 450 Fall 2012.
D ATABASE A DMINISTRATION ITEC 450 Fall 2011 Instructor: Dr. Justin M. Wang.
Concepts of Database Management Sixth Edition
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Online Database Support Experiences Diana Bonham, Dennis Box, Anil Kumar, Julie Trumbo, Nelly Stanfield.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
1 Moshe Shadmon ScaleDB Scaling MySQL in the Cloud.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
I NTRODUCTION OF W EEK 7  Assignment Discussion  Graded: (Creation of Database) (All submitted!)  Naming standard, Logical to physical design.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
D ATABASE A DMINISTRATION L ECTURE N O 3 Muhammad Abrar.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
TM 13-1 Copyright © 1999 Addison Wesley Longman, Inc. Data and Database Administration.
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
Michelle Malcher PepsiCo Session # For the DBA Manager – Understanding Oracle and DBAs.
A Case Study Julie J. Smith Wachovia Corporation Superdome Implementation at a Glance.
1 CEG 2400 Fall 2012 Network Servers. 2 Network Servers Critical Network servers – Contain redundant components Power supplies Fans Memory CPU Hard Drives.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
SQL Server - Review Managing the System. Objectives  Understand the importance of maintenance plans.  Check for database consistency.  Understand how.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
Oracle Standby Implementation Tantra Invedy. Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation.
Calgary Oracle User Group
Oracle Database High Availability
Managing Multi-User Databases
Maximum Availability Architecture Enterprise Technology Centre.
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Oracle Database High Availability
Introduction.
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Database Systems Instructor Name: Lecture-3.
Presentation transcript:

M ODULE 3: W EEK 6 D ATABASE MANAGEMENT 1 ITEC 450 Fall 2012

A CCESS D ATABASE – SQL P LUS Fall ITEC 450

SQL P LUS L OGIN Fall ITEC 450

SQL P LUS C OMMANDS Fall ITEC 450

OEM ( HTTPS ://{ HOSTNAME }:1158/ EM ) Fall ITEC 450

T HE D ATA D ICTIONARY Looking at Data Dictionary Components Using Data Dictionary Views Useful Dynamic Performance Views Examining Table Structure Using SQL*Plus and iSQL*Plus Fall ITEC 450

LOOKING AT DATA DICTIONARY Fall ITEC 450

LOOKING AT DATA DICTIONARY Generally, USER, ALL, and DBA views are in sets USER_TABLES, ALL_TABLES, DBA_TABLES Each view has nearly identical columns USER version omits OWNER column; it also sometimes omits columns to simplify the view V$ and GV$ views are in sets There are few views that don’t begin these prefixes For simplicity, all views (except DBA ones) prefix public synonyms and public permission to query Fall ITEC 450

U SING D ATA D ICTIONARY V IEWS Frequently used (static) data dictionary views: USER_TABLES, USER_VIEWS ALL_DEPENDENCIES USER_ERRORS USER_INDEXES, USER_IND_COLUMNS DBA_SOURCE USER_TAB_PRIVS, ALL_TAB_PRIVS_MADE USER_TAB_PRIVS_MADE DBA_USERS PRODUCT_COMOPONET_VERSION Fall ITEC 450

U SEFUL D YNAMIC P ERFORMANCE V IEWS Begin with V$ and have a counterpart GV$ view V$SYSSTAT V$SQL V$SESSTAT V$SESSION_WAIT V$FILESTAT Primary use: tuning the database system Oracle provides options for gathering/viewing stats Statistics are used to tune a database This book does not cover the details of DB tuning Fall ITEC 450

M ODULE 3 D ATABASE M ANAGEMENT Section 1 Database Change Management 11 ITEC 450 Fall 2012

D RIVERS FOR C HANGE M ANAGEMENT Change is inevitable but necessary for business survival and success. Missed a requirement – an existing system is missing a feature Identified a defect Scalability demand, marketplace changes Policy and politics – process, procedure or methodology; legislation changes Fall ITEC 450

C HANGE M ANAGEMENT R EQUIREMENTS Proactively change – the earlier to make change, the lower cost to achieve it Planning analysis – intelligently examining the change whether it is necessary, and planning to do it right the first time Impact analysis – comprehensive impact and risk analysis Execution – standardization of procedure, availability consideration, quick and efficient delivery Fall ITEC 450

T YPES OF D ATABASE C HANGES DBMS software – versions and releases for new features, functions, bug fixes, support models Hardware configuration – memory, CPU, storage device Logical and physical design for an application Physical database structures Fall ITEC 450

I MPACT OF D ATABASE C HANGES Data Definition Language is mainly used for database changes. Create, alter, and drop schema objects require exclusive access to the specified object The change is implicitly committed The change may cause dependent objects become invalid, which may need to recompile or reauthorize schema objects Recovery from a database change is challenging, and has to be well-planned. Fall ITEC 450

E XECUTION OF D ATABASE C HANGES Maintain current database structures – source control and version control Migration process Request database change Standardized change requests Managing database changes from one database environment to another Condense a series of changes by comparing database structures, and migrate the differences Fall ITEC 450

E XAMPLES OF D ATABASE C HANGES Change Management: planning (necessary?) impacts, and execution (recovery?) Add a new column to the end of a table Resize a column from char (8) to char (12) Re-create a new package, procedure, or function Add a new column to the middle of a table Fall ITEC 450

M ODULE 3 D ATABASE M ANAGEMENT Section 2 High Availability Requirement and Architecture 18 ITEC 450 Fall 2012

D RIVERS OF A VAILABILITY Availability is the condition where a given resource can be accessed by its consumers. Mandate for 24x7 availability Shrinking maintenance window Full-time availability: airline reservation systems, credit card approval Cost of downtime Fall ITEC 450

A VAILABILITY P ROBLEMS Disasters: loss of the data center System failures Server infrastructure problems: network, loss of the server hardware, storage, operating system Software failure: DBMS, application, corruption of data Data failures Procedure problems: security and authorization, loss of database objects Human errors: loss of data, DBA mistakes Fall ITEC 450

A VAILABILITY S OLUTIONS Automate DBA functions Exploit high-availability DBMS features Exploit clustering technology Hardware redundancy design Fall ITEC 450

H IGH A VAILABILITY DBMS F EATURES Solutions to disasters Oracle data guard – a single primary database and one or more standby database SQL Server database mirroring – a single copy of the mirrored database that must reside on a different server instance, usually on a separate physical server in a different location Hardware replication: EMC SRDF Solutions to system failures Oracle Real Application Clusters SQL Server transactional replication DB2 Data Sharing Solutions to data failures Backup and recovery capability Flashback database: view data at a point-in-time in the past Partition: decompose large tables and indexes into smaller and more manageable pieces Fall ITEC 450

C LUSTERING T ECHNOLOGY A cluster is a group of interconnected servers for increasing the reliability of servers. Oracle standby database: Fall ITEC 450

ORACLE REPLICATION Fall ITEC 450

SQL S ERVER D ATABASE M IRRORING Database mirroring maintains an exact copy of the database on the mirror. It works at the level of the physical log record (by sending the actual log records to the mirror server). Fall ITEC 450

SQL S ERVER T RANSACTIONAL R EPLICATION A RCHITECTURE Fall ITEC 450

O RACLE R EAL A PPLICATION C LUSTER (RAC) Oracle database with RAC architecture build higher levels of availability on top of the standard Oracle features. Fall ITEC 450

H ARDWARE R EDUNDANCY D ESIGN No single point of failures on CPU, Memory, I/O controller, Network, etc. Clustered software to failover to another server in seconds RAID technology (Redundant Arrays of Inexpensive Disks) – one large logical storage unit with a set of physical disk drives Fall ITEC 450

RAID T ECHNOLOGY RAID example with 4 disks and striping. Pages 1-4 can be read/written simultaneously Fall ITEC 450

W RAP U P Assignment 6-1: Research Paper: Database High Availability Fall ITEC 450