Chapter 14. Outline. Database Support for Decision Making. Data and Database Administration



Similar documents
Welcome! Chapter 1. Outline. Book Goals. Database Characteristics. Initial Vocabulary

Chapter 23. Database Security. Security Issues. Database Security

Demystified CONTENTS Acknowledgments xvii Introduction xix CHAPTER 1 Database Fundamentals CHAPTER 2 Exploring Relational Database Components

Oracle Data Integrator: Administration and Development

Introduction to Databases

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management

CHAPTER 2 DATABASE MANAGEMENT SYSTEM AND SECURITY

In This Lecture. Security and Integrity. Database Security. DBMS Security Support. Privileges in SQL. Permissions and Privilege.

Foundations of Business Intelligence: Databases and Information Management

Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives

B.Sc (Computer Science) Database Management Systems UNIT-V

Databases in Organizations

Oracle USF

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification

IT2305 Database Systems I (Compulsory)

Oracle Architecture, Concepts & Facilities

MySQL for Beginners Ed 3

Managing Objects with Data Dictionary Views. Copyright 2006, Oracle. All rights reserved.

Basic Concepts of Database Systems

Database Security and Authorization

HP Quality Center. Upgrade Preparation Guide

Foundations of Business Intelligence: Databases and Information Management

DATABASE SECURITY MECHANISMS AND IMPLEMENTATIONS

Schema Evolution in SQL-99 and Commercial (Object-)Relational DBMS

IT2304: Database Systems 1 (DBS 1)

CS377: Database Systems Data Security and Privacy. Li Xiong Department of Mathematics and Computer Science Emory University

Concepts of Database Management Seventh Edition. Chapter 7 DBMS Functions

Chapter 2 Database System Concepts and Architecture

5.5 Copyright 2011 Pearson Education, Inc. publishing as Prentice Hall. Figure 5-2

Oracle Database 12c: Introduction to SQL Ed 1.1

<Insert Picture Here> Enhancing the Performance and Analytic Content of the Data Warehouse Using Oracle OLAP Option

ITM661 Database Systems. Database Security and Administration

Database Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p.

Course MIS. Foundations of Business Intelligence

Geodatabase Programming with SQL

MIS S S t S ru r ct u ur u e r & & Pl P a l nn n i n n i g

Oracle Database 11g SQL

Data Hierarchy. Traditional File based Approach. Hierarchy of Data for a Computer-Based File

Introduction. Chapter 1. Introducing the Database. Data vs. Information

Chapter 23. Database Security. Security Issues. Database Security

Oracle Database 10g Express

ISM 318: Database Systems. Objectives. Database. Dr. Hamid R. Nemati

INFO Koffka Khan. Tutorial 6

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Chapter 6 8/12/2015. Foundations of Business Intelligence: Databases and Information Management. Problem:

The Relational Model. Why Study the Relational Model?

Oracle Database: Introduction to SQL

An Oracle White Paper June Security and the Oracle Database Cloud Service

Data Discovery & Documentation PROCEDURE

Oracle Database: Introduction to SQL

Lecture 6. SQL, Logical DB Design

Oracle Database: Introduction to SQL

ECS 165A: Introduction to Database Systems

Database Design Patterns. Winter Lecture 24

Chapter 24. Database Security. Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

In This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina

Lection 3-4 WAREHOUSING

WatchDox Administrator's Guide. Application Version 3.7.5

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop

Alexander Nikov. 5. Database Systems and Managing Data Resources. Learning Objectives. RR Donnelley Tries to Master Its Data

Databases and Information Management

Oracle Database 11g: SQL Tuning Workshop

Streamline your staffing process with a vendor management system that fits your business

Foundations of Business Intelligence: Databases and Information Management

Database System Architecture & System Catalog Instructor: Mourad Benchikh Text Books: Elmasri & Navathe Chap. 17 Silberschatz & Korth Chap.

THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY

1 File Processing Systems

COURSE NAME: Database Management. TOPIC: Database Design LECTURE 3. The Database System Life Cycle (DBLC) The database life cycle contains six phases;

DATABASE MANAGEMENT SYSTEM

RapidResponse Training Catalog

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

Data Protection on Progress Databases and Progress 4GL Environment

Oracle Database 10g: Introduction to SQL

A McKnight Associates, Inc. White Paper: Effective Data Warehouse Organizational Roles and Responsibilities

3. Relational Model and Relational Algebra

An Oracle White Paper March Oracle Label Security in Government and Defense Environments

Business Analytics and Data Visualization. Decision Support Systems Chattrakul Sombattheera

How to Use PIPS Access to/from SQL Database Utility Program. By PIPSUS Support Team Dr. Chouikha

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

Oracle Data Dictionary

Chapter 10 Practical Database Design Methodology and Use of UML Diagrams

Division of IT Security Best Practices for Database Management Systems

BM482E Introduction to Computer Security

TIM 50 - Business Information Systems

Data Dictionary and Normalization

Chapter 6. Foundations of Business Intelligence: Databases and Information Management

Conventional Files versus the Database. Files versus Database. Pros and Cons of Conventional Files. Pros and Cons of Databases. Fields (continued)

Virtual Private Database Features in Oracle 10g.

Lost in Space? Methodology for a Guided Drill-Through Analysis Out of the Wormhole

RS MDM. Integration Guide. Riversand

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

Database 10g Edition: All possible 10g features, either bundled or available at additional cost.

THE BCS PROFESSIONAL EXAMINATION Diploma. October 2004 EXAMINERS REPORT. Database Systems

Oracle 11g Database Administration

DBMS / Business Intelligence, SQL Server

Transcription:

Chapter 14 Data and Database Administration McGraw-Hill/Irwin Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Outline Organizational context Tools of database administration Processes for database specialists Overview of processing environments 14-2 Database Support for Decision Making Management Hierarchy Top (strategic) Middle (tactical) Lower (operational) External data sources and summarized, tactical databases Summarized, integrated operational databases Individual operational databases Operational databases 14-3 1

Decision Making Examples Level Example Decisions Data Requirements Top Identify new markets and products; plan growth; reallocate resources across divisions Middle Choose suppliers; forecast sales, inventory, and cash; revise staffing levels; prepare budgets Lower Schedule employees; correct order delays; find production bottlenecks; monitor resource usage Economic and technology forecasts; news summaries; industry reports; medium term performance reports Historical trends; supplier performance; critical path analysis; short term and medium term plans Problem reports; exception reports; employee schedules; daily production results; inventory levels 14-4 Information Life Cycle Usage Acquisition Dissemination Storage Protection Formatting Processing 14-5 Knowledge Management Technology Human information processing Organization dynamics 14-6 2

Database Specialists Data administrator Middle or upper management Broad view of information resources Database administrator (DBA) Support role Emphasis on individual databases and DBMSs 14-7 Responsibilities of Specialists Data administrator Develops enterprise data model Establishes inter database standards Negotiates contractual terms Database administrator Performs database development tasks Consults on application development Evaluates DBMS capabilities and features 14-8 Database Administration Tools Security Integrity Management of stored procedures and triggers Data dictionary access 14-9 3

Database Access Control Authorization rules DBA Authentication, access requests Database security system Users Data dictionary 14-10 Discretionary Access Control Assign access rights or privileges to users Specify ability to read, write, and delete specified parts of a database Use views for fine level of control Use groups to reduce the number of authorization rules 14-11 SQL Statements for Security I CREATE ROLE ISFaculty CREATE ROLE ISAdministrator WITH ADMIN CURRENT_ROLE CREATE ROLE ISAdvisor 14-12 4

SQL Statements for Security II GRANT SELECT ON ISStudentGPA TO ISFaculty, ISAdvisor, ISAdministrator GRANT UPDATE ON ISStudentGPA.StdGPA TO ISAdministrator REVOKE SELECT ON ISStudentGPA FROM ISFaculty RESTRICT GRANT ISAdministrator TO Smith WITH GRANT OPTION; 14-13 Common SQL Privileges Privilege Explanation SELECT UPDATE INSERT DELETE TRIGGER Query the object; cannot be specified for individual columns Modify the value; can be specified for individual columns Add a new row; can be specified for individual columns Delete a row; cannot be specified for individual columns Create a trigger on the specified table REFERENCES Reference columns of the given table in integrity constraints EXECUTE Execute the stored procedure 14-14 Oracle Security Statements CREATE USER statement Predefined roles CONNECT RESOURCE DBA System versus object privileges 14-15 5

Access Security Tools 14-16 Mandatory Access Control Less flexible security approach for highly sensitive and static databases Assign classification levels to database objects Assign clearance levels to users Access granted if a user's clearance level provides access to the classification level of a database object 14-17 Encryption Encoding data to obscure its meaning Plaintext Ciphertext Encryption key 14-18 6

SQL Domains Limited ability to define new domains CREATE DOMAIN statement CREATE DOMAIN StudentClass AS CHAR(2) CHECK(VALUE IN ('FR','SO','JR','SR') ) Distinct type CREATE DISTINCT TYPE USD AS DECIMAL(10,2); 14-19 SQL Assertions Supports complex constraints Constraint specified through a SELECT statement Enforcement can be inefficient Stored procedures and form events are alternatives 14-20 Assertion Example CREATE ASSERTION FullTimeEnrollment CHECK (NOT EXISTS ( SELECT Enrollment.RegNo FROM Registration, Offering, Enrollment, Course WHERE Offering.OfferNo =Enrollment.OfferNo AND Offering.CourseNo = Course.CourseNo AND Offering.RegNo = Registration.RegNo AND RegStatus = 'F' GROUP BY Enrollment.RegNo HAVING SUM(CrsUnits) >= 9 ) ) 14-21 7

CHECK Constraints Use when a constraint involves columns of the same table Part of CREATE TABLE statement Easy to write Efficient to enforce 14-22 CHECK Constraints Example CREATE TABLE Student ( CONSTRAINT ValidGPA CHECK ( StdGPA BETWEEN 0 AND 4 ), CONSTRAINT MajorDeclared CHECK ( StdClass IN ('FR','SO') OR StdMajor IS NOT NULL ) ) 14-23 Coding Practice Concerns Documentation Parameter usage Content of triggers and stored procedures 14-24 8

Management of Dependencies Referenced tables, views, and procedures Access plans for SQL statements DBMS support incomplete Obsolete statistics Remotely stored procedures No automatic recompilation after deletion 14-25 Managing Trigger Complexity Coding guidelines to minimize interaction Trigger analysis tools Additional testing for interacting triggers 14-26 Metadata Define the source, use, value, and meaning of data Stored in a data dictionary DBMS data dictionary to track objects managed by the DBMS Information resource dictionary to track objects relating to information systems development 14-27 9

Catalog Tables Most DBMSs provide a large collection Definition Schema and Information Schema in SQL:2003 Modify using data definition and control statements Use SELECT statement to retrieve from catalog tables Integrity of catalog tables is crucial 14-28 Sample Oracle Catalog Tables Table Name Contents USER_CATALOG USER_OBJECTS USER_TABLES Contains basic data about each table and view defined by a user. Contains data about each object (functions, procedures, indexes, triggers, assertions, etc.) defined by a user. This table contains the time created and the last time changed for each object. Contains extended data about each table such as space allocation and statistical summaries. USER_TAB_COLUMNS Contains basic and extended data for each column such as the column name, the table reference, the data type, and a statistical summary. USER_VIEWS Contains the SQL statement defining each view. 14-29 Information Resource Dictionary CASE tool 1 CASE tool 2... CASE tool n Metadata import IRDS Metadata export DBMS IRD 14-30 10

Processes for Database Specialists Data planning DBMS selection and evaluation 14-31 Goals of Data Planning Evaluate current information systems with respect to the goals and objectives of the organization Determine the scope and the timing of developing new information systems and utilizing of new information technology Identify opportunities to apply information technology for competitive advantage 14-32 Planning Models Enterprise models Business goals and objectives Data Align information systems with business environment Processes Organization 14-33 11

Level of Detail in Models Model Data Process Organization Data-process interaction Process-organization interaction Data-organization Levels of Detail Subject model (initial level), entity model (detailed level) Functional areas and business processes (initial level), activity model (detailed level) Role definitions and role relationships Matrix and diagrams showing data requirements of processes Matrix and diagrams showing role responsibilities Matrix and diagrams showing usage of data by roles 14-34 DBMS Selection Detailed process Requires knowledge of organization goals and DBMS features Systematic approach is important High switching cost if wrong choice 14-35 Selection Process Phases Analyze requirements Determine weights Score candidate systems Ranked candidates 14-36 12

Analytic Hierarchy Process Multi-criteria decision making tool Supports systematic assignment of weights and scores to candidate DBMSs Uses pairwise comparisons 14-37 Rating Values for Comparisons Ranking Value of A ij 1 3 5 7 9 Meaning Requirements i and j are equally important. Requirement i is slightly more important than requirement j. Requirement i is significantly more important than requirement j. Requirement i is very significantly more important than requirement j. Requirement i is absolutely more important than requirement j. 14-38 Analytic Hierarchy Process Details Assign importance weights to pairwise combinations of requirement groups and requirement categories Combine and normalize importance weights Score candidate DBMSs for each requirement Combine and normalize scores Combine importance weights and DBMS scores 14-39 13

Final Selection Factors Benchmarks and trial usage Contractual terms Vendor expectations 14-40 Benchmarking Workload to evaluate the performance of a system or product A good benchmark should be relevant, portable, scalable, and understandable. Standard, domain-specific benchmarks by TPC 14-41 TCP Benchmarks Reasonable estimates about a DBMS in a specific hardware/software environment Total system performance and cost measures Audits to ensure unbiased results 14-42 14

Current TCP Benchmarks TPC-C: order entry benchmark TPC-App: business to business transactions TPC-H: decision support ad hoc queries TPC-W: Ecommerce benchmark 14-43 Managing Database Environments Transaction processing Data warehouse processing Distributed processing Object data management 14-44 Responsibilities of Database Specialists Application development Database infrastructure and architectures Performance monitoring Enterprise data model development Contingency planning 14-45 15

Summary Two roles for managing information resources Tools for security, integrity, rule processing, stored procedures, and data dictionary manipulation Processes for data planning and DBMS selection Context for studying other Part 7 chapters 14-46 16