Chapter 14 Data and Database Administration. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Organizational context.

Slides:



Advertisements
Similar presentations
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Advertisements

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 14 Data and Database Administration.
Chapter 23 Database Security and Authorization Copyright © 2004 Pearson Education, Inc.
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 12 System and Object Privileges.
Database Security by Muhammad Waheed Aslam SIS Project Leader ITC/KFUPM.
Database Management System
McGraw-Hill/Irwin © 2003 The McGraw-Hill Companies, Inc., All Rights Reserved. 7-1 Chapter 7 CHAPTER 7 THE EFFECT OF INFORMATION TECHNOLOGY ON THE AUDIT.
10/25/2001Database Management -- R. Larson Data Administration and Database Administration University of California, Berkeley School of Information Management.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Understanding Entity Relationship Diagrams.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 1 Introduction to Database Management.
Database Administration
IS 4420 Database Fundamentals Chapter 12: Data and Database Administration Leon Chen.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 2 Introduction to Database Development.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 4 Profiles, Password Policies, Privileges, and Roles.
Introduction to Database Development. 2-2 Outline  Context for database development  Goals of database development  Phases of database development.
Business Driven Technology Unit 2 Exploring Business Intelligence Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
BUSINESS DRIVEN TECHNOLOGY
Chapter 8 Physical Database Design. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Overview of Physical Database.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
Chapter 4 Introduction to Database Development. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Context for database.
Chapter 1 Introduction to Database Management. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Welcome! Database technology:
Chapter 7 Database Auditing Models
10/5/1999Database Management -- R. Larson Data Administration and Database Administration University of California, Berkeley School of Information Management.
Module 9: Managing Schema Objects. Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Data and Database Administration CISB344 Database 2  At the end of this chapter, you should be able to:  Define terms related to data & database administration.
Chapter 15 Database Administration and Security
Database Design, Application Development, and Administration, 5 th Edition Copyright © 2011 by Michael V. Mannino All rights reserved. Chapter 2 Introduction.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Data Administration & Database Administration
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Concepts of Database Management, Fifth Edition Chapter 8: Database Administration.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Switch off your Mobiles Phones or Change Profile to Silent Mode.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 4 Profiles, Password Policies, Privileges, and Roles.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
Lecture 7 Integrity & Veracity UFCE8K-15-M: Data Management.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 7 Database Auditing Models.
Storing Organizational Information - Databases
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Chapter 10 Application Development with Views. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Background Creating.
Chapter 3 Query Formulation with SQL. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Background Getting started.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Chapter 3 Databases and Data Warehouses: Building Business Intelligence Copyright © 2010 by the McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. What is a View? Derived table Behaves like a base table (virtual) Stored.
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
Academic Year 2014 Spring Academic Year 2014 Spring.
Chapter 5 : Integrity And Security  Domain Constraints  Referential Integrity  Security  Triggers  Authorization  Authorization in SQL  Views 
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 10 Application Development with Views.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Week 7 Lecture Part 2 Introduction to Database Administration Samuel S. ConnSamuel S. Conn, Asst Professor.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Database Design, Application Development, and Administration, 6 th Edition Copyright © 2015 by Michael V. Mannino. All rights reserved. Chapter 5 Understanding.
Database Administration Advanced Database Dr. AlaaEddin Almabhouh.
1 Agenda TMA02 M876 Block 4. 2 Model of database development data requirements conceptual data model logical schema schema and database establishing requirements.
What is Database Administration ?
Controlling User Access
Data and Database Administration
Data Model.
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:

Chapter 14 Data and Database Administration

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Organizational context Tools of database administration Processes for database specialists Overview of processing environments

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Database Support for Decision Making

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Decision Making Examples

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Information Life Cycle

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Knowledge Management

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Database Specialists Data administrator –Middle or upper management –Broad view of information resources Database administrator (DBA) –Support role –Emphasis on individual databases and DBMSs

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Database Administration Tools Security Integrity Management of stored procedures and triggers Data dictionary access

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Database Access Control

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. SQL Statements for Security I CREATE ROLE ISFaculty CREATE ROLE ISAdministrator WITH ADMIN CURRENT_ROLE CREATE ROLE ISAdvisor

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Common SQL Privileges

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Oracle Security Statements CREATE USER statement Predefined roles –CONNECT –RESOURCE –DBA System versus object privileges

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Access Security Tools

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Encryption Encoding data to obscure its meaning Plaintext Ciphertext Encryption key

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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);

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. SQL Assertions Supports complex constraints Constraint specified through a SELECT statement Enforcement can be inefficient Stored procedures and form events are alternatives

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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 ) )

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. CHECK Constraints Use when a constraint involves columns of the same table Part of CREATE TABLE statement Easy to write Efficient to enforce

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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 ) )

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Coding Practice Concerns Documentation Parameter usage Content of triggers and stored procedures

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Managing Trigger Complexity Coding guidelines to minimize interaction Trigger analysis tools Additional testing for interacting triggers

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Catalog Tables Most DBMSs provide a large collection Definition Schema and Information Schema in SQL:1999 Modify using data definition and control statements Use SELECT statement to retrieve from catalog tables Integrity of catalog tables is crucial

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Sample Oracle Catalog Tables

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Information Resource Dictionary

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Processes for Database Specialists Data planning DBMS selection and evaluation

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Planning Models

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Level of Detail in Models

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. DBMS Selection Detailed process Requires knowledge of organization goals and DBMS features Systematic approach is important High switching cost if wrong choice

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Selection Process Phases

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Analytic Hierarchy Process Multi-criteria decision making tool Supports systematic assignment of weights and scores to candidate DBMSs Uses pairwise comparisons

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Rating Values for Comparisons Ranking Value of A ij Meaning 1Requirements i and j are equally important. 3Requirement i is slightly more important than requirement j. 5Requirement i is significantly more important than requirement j. 7Requirement i is very significantly more important than requirement j. 9Requirement i is absolutely more important than requirement j.

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Final Selection Factors Benchmarks and trial usage Contractual terms Vendor expectations

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. TCP Benchmarks Reasonable estimates about a DBMS in a specific hardware/software environment Total system performance and cost measures Audits to ensure unbiased results

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Managing Database Environments Transaction processing Data warehouse processing Distributed processing Object data management

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Responsibilities of Database Specialists Application development Database infrastructure and architectures Performance monitoring Enterprise data model development Contingency planning

McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. 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 4 chapters