Introduction of Week 13 Assignment Discussion

Slides:



Advertisements
Similar presentations
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Database Planning, Design, and Administration
M ODULE 5 Metadata, Tools, and Data Warehousing Section 1 Metadata Management 1 ITEC 450.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views Cui Zhou Oracle Certified Professional.
5 Copyright © Oracle Corporation, All rights reserved. Using Data Dictionary and Dynamic Performance Views.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 15 Database Administration and Security.
Harvard University Oracle Database Administration Session 2 System Level.
Oracle Database Administration. Rana Almurshed 2 course objective After completing this course you should be able to: install, create and administrate.
Module 15: Monitoring. Overview Formulate requirements and identify resources to monitor in a database environment Types of monitoring that can be carried.
Module 8: Server Management. Overview Server-level and instance-level resources such as memory and processes Database-level resources such as logical.
D ATABASE A DMINISTRATION ITEC 450 Fall 2012 Instructor: Dr. Rama Gudhe.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Database Systems COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Database Design for DNN Developers Sebastian Leupold.
D ATABASE A DMINISTRATION ITEC 450 Fall 2011 Instructor: Dr. Justin M. Wang.
Module Title? DBMS Introduction to Database Management System.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
ITEC224 Database Programming
Database Technical Session By: Prof. Adarsh Patel.
Introduction to Database Systems
7202ICT Database Administration Lecture 7 Managing Database Storage Part 2 Orale Concept Manuel Chapter 3 & 4.
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.
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.
Oracle9i Performance Tuning Chapter 12 Tuning Tools.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
Database Administration
55 Creating Data Dictionary Views and Standard Packages.
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.
Building the Corporate Data Warehouse Pindaro Demertzoglou Lally School of Management Data Resource Management.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Fundamental of Database Systems
SQL Database Management
Building Enterprise Applications Using Visual Studio®
Controlling User Access
Controlling User Access
“Introduction To Database and SQL”
Table spaces.
PLM, Document and Workflow Management
An Introduction to database system
Database Management:.
Oracle Database Administration
Using Data Dictionary and Dynamic Performance Views
Fundamentals & Ethics of Information Systems IS 201
Introduction What is a Database?.
Fundamentals of Information Systems
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Introduction of Week 10 Assignment Discussion
Translation of ER-diagram into Relational Schema
CIS 336 strCompetitive Success/tutorialrank.com
CIS 336 str Education for Service-- tutorialrank.com.
“Introduction To Database and SQL”
Chapter 8 Working with Databases and MySQL
Course: Module: Lesson # & Name Instructional Material 1 of 32 Lesson Delivery Mode: Lesson Duration: Document Name: 1. Professional Diploma in ERP Systems.
Lecture 1 File Systems and Databases.
Database Design Hacettepe University
Database Management Systems
Chapter 3 Database Management
Databases and Information Management
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

Introduction of Week 13 Assignment Discussion 2011 Fall Assignment Discussion Graded: 10-1 (Database Performance Monitoring) Generating report, snap id issues Analysis of output: next page Done: 3-1-4 (Lab4: Query Optimization) Working: 12-1 (HW5: Database Storage) and 12-2 (HW6: Bulk Data Movement) Review of previous week and module Database Performance Data and Storage Management Data Movement and Distribution Overview of this week – Module 5 Metadata Management Database Management Tools Oracle Data Dictionary and Dynamic Performance Views ITEC 450

Assignment 10-1: Performance Monitoring – Analysis 2011 Fall Wait events statistics Oracle activities: control file write, log file sync, etc. Operating system statistics: average process wait times, system memory usage SQL statistics SQL ordered by elapsed time, CPU time, etc. IO stats Tablespace IO stats, File IO stats Memory structure allocation and usage Buffer pool statistics Dictionary cache statistics Library cache statistics SGA statistics ITEC 450

Module 5 Metadata, Tools, and Data Warehousing 2011 Fall Module 5 Metadata, Tools, and Data Warehousing ITEC 450 Section 1 Metadata Management

Metadata 2011 Fall Information about data is referred to as Metadata. DBA’s rely on metadata to manage a database. In order for data to be anything more than simply data, metadata is required. Metadata strategy Procedures for identifying and defining data ownership and stewardship Methods for the collection and storage of metadata (typically using a repository) Policies to enforce data stewardship procedures and security for metadata access Measurements to gauge the quality and usability of metadata ITEC 450

Type of Metadata 2011 Fall Technology metadata – technical aspects of the data as it relates to storing and managing the data in computerized systems SSN is 9 digits of numbers ANI is 10 digit of numbers starting with not 0 or 1 Business metadata – aspects of how the data is used by the business, and is needed for the data to have value to the organization SSN is a unique identification number, associated with a person ANI’s first 3-digits are area code, and the remaining 7 digits are local phone number. ITEC 450

DBMS Metadata For DBA’s, the DBMS itself is a good source of metadata 2011 Fall For DBA’s, the DBMS itself is a good source of metadata System catalog – technology metadata about database objects Names of every database, table, column, index, view, relationship Constraints such as primary key, foreign key, and not null System catalog is Active – automatically build and maintained Integrated – the system catalog is a part of DBMS and up-to-date with any changes within the database Non-subvertible – DMBS operations are the only mechanism for populating the system catalog ITEC 450

Repository 2011 Fall A repository stores information about an organization’s data assets. Repository is used for Store information about your data, processes, and environment. Support multiple ways of looking at the same data Store in-depth documentation, and produce detail and management reports Repository benefits Integrated views of multiple systems The consistency it provides in documenting data elements and business rules Support of a rapidly changing environment Repository challenges Keeping the repository up-to-date Many metadata sources, such as application component metadata, business metadata, data modeling metadata, database metadata ITEC 450

Module 5 Metadata, Tools, and Data Warehousing 2011 Fall Module 5 Metadata, Tools, and Data Warehousing ITEC 450 Section 2 Database Management Tools

Benefits of Database Management Tools 2011 Fall A DBA tool reduces the amount of time, effort, and human error involved in maintaining efficient database systems and applications. Ease the administrative burdens Fulfill market niches not adequately supported by the major DBMS vendors Automate database monitoring and routine activities ITEC 450

Data Modeling and Design Tools 2011 Fall The tools provide a consistent and coherent means of creating conceptual and logical data models and transforming them into physical database designs. Do not have to be unique to a specific database Support the standard tasks associated with logical data modeling such as entity-relationship diagramming and normalization Create a physical data model geared to each of your target DBMS platforms Reverse engineering to generate standard DDL automatically from major DBMS system catalog Examples: Erwin from CA, PowerDesigner from Sybase, ER/Studio from Embarcadero, Rational Data Architect from IBM, MySQL workbench from MySQL, Oracle Designer from Oracle ITEC 450

Change Management Tools 2011 Fall The tools provide capabilities to perform various database alterations. Alter database parameters that can not be easily performed with ALTER statement Modify database structures with cascading effects Change a column’s data type and length Remove columns from a table Batch requested changes into a work list that can be executing in the foreground or the background Provide database analysis and planning prior to implementing database changes Examples: CA Database Command Center ITEC 450

Database Comparison Tools 2011 Fall The tools enable DBA’s to compare one database to another in terms of its database objects and structures. Such tools will identify differences and automatically generate the DDL to sync among databases. Find missing migrations Detect any discrepancies among different databases Are often useful during application program testing and debugging Examples: TOAD from Quest, SQL Compare for SQL Server from Red Gate ITEC 450

Database Object Migration Tools 2011 Fall The tools facilitate the quick migration of database objects from one environment to another. Provide a systematic method to promote changes instead of manually running DDL’s Can migrate all dependent objects and security Enhance database securities Reduce the migration time Examples: Softek LDMF from IBM, DBMigration from shareware ITEC 450

Performance Management Tools 2011 Fall System Performance Tools Examine the database server, its configuration, and usage Monitor and report CPU, Memory, I/O usage and history info Trace individual process and capture information Database Performance Tools Read the database statistics from the system catalog, and provide additional analysis with enhanced tool capability Set thresholds and provide maintenance actions Provide a series of canned reports detailing the potential problems SQL Performance Tools Analyze the SQL in an application program Suggest alternative SQL solutions Assess impacts caused by database object changes ITEC 450

Evaluating DBA Tool Vendors 2011 Fall List of features Vendor reputation Customer satisfaction Support model and enhancement request Upgrade and new feature development/support ITEC 450

Module 5 Metadata, Tools, and Data Warehousing 2011 Fall Module 5 Metadata, Tools, and Data Warehousing ITEC 450 Section 3 Oracle Data Dictionary and Dynamic Performance Views

Oracle Data Dictionary 2011 Fall It’s the heart of the DBMS, and key to DBA’s success. The views are static, as Oracle updates them only when a DDL transaction take place. The underline tables are located in the SYSTEM tablespace, and owned by the user SYS. The data dictionary views are built on top of these base tables. The data dictionary contains key items: User information, roles and privileges Object information, constraint information, storage information Storage information, operational information The three sets of data dictionary views with prefix of: USER – objects that the user owns ALL – objects that the user has been granted privileges DBA – all objects in the database, accessible by DBA’s or special granted ITEC 450

General Views DICT – all data dictionary views and short description 2011 Fall DICT – all data dictionary views and short description SQL> select * from DICT where table_name like '%INDEXES'; PRODUCT_COMPONENT_VERSION – version of all major components of the Oracle database SQL> select * from product_component_version; DBA_SOURCE – source code of a database object SQL> select text from dba_source where owner = 'HR' and name = 'SECURE_EMPLOYEES'; SQL> select text from dba_source where owner = 'HR' and name = 'SECURE_DML'; DBA_OBJECTS– all objects in the database SQL> select object_name, object_type from dba_objects where owner = ‘HR’; ITEC 450

User Management Related Views 2011 Fall DBA_USERS – database user info SQL> select username, account_status from dba_users; DBA_ROLES – all database roles SQL> select * from dba_roles; DBA_SYS_PRIVS, DBA_ROLE_PRIVS – System and role privileges DBA_TAB_PRIVS – table-level privielges SQL> select grantee, privilege from dba_tab_privs where owner = 'HR' and table_name = 'EMPLOYEES'; ITEC 450

Storage Related Views DBA_FREE_SPACE – free space of tablespace 2011 Fall DBA_FREE_SPACE – free space of tablespace SQL> select tablespace_name, sum(bytes) from dba_free_space group by tablespace_name; DBA_SEGMENTS – segment details SQL> select segment_name, segment_type, tablespace_name from dba_segments where owner = 'HR'; ITEC 450

Dynamic Performance Views 2011 Fall The views are dynamic, as they are updated continuously while the database is running. Also called v$ views. Memory related views Session and user related views Performance-monitoring views SQL-related views ITEC 450

Commonly Used Views Memory – v$sga, v$sgastat 2011 Fall Memory – v$sga, v$sgastat Session – v$session, v$sess_io, v$session_longops SQL info – v$sql, v$sqltext Performance – v$instance, v$lock, v$locked_object General – v$instance, v$license, v$database, v$parameter ITEC 450

Wrap Up Assignment 13-1: Research paper: database metadata management 2011 Fall Assignment 13-1: Research paper: database metadata management Assignment 3-1-5: Final Project Writeup Schedule reminder: next page ITEC 450

Schedule Reminder 2011 Fall All assignments are due by Sunday, December 11, and no late assignments will be accepted after the date. Please review your grade book, and let me know any missing grades right way. ITEC 450 Final exam can be taken between Thursday, Dec. 8 and the week after Wednesday, Dec. 14. The final exam must be completed on or before Wednesday of Week 15, not Sunday! Check with your proctor or test center.