McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 14 Data and Database Administration.

Slides:



Advertisements
Similar presentations
Using the SQL Access Advisor
Advertisements

Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Chapter 4 Sampling Distributions and Data Descriptions.
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senns Information Technology, 3 rd Edition Chapter 7 Enterprise Databases.
AP STUDY SESSION 2.
1
Chapter 7 System Models.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Multicriteria Decision-Making Models
Part 3 Probabilistic Decision Models
McGraw-Hill©The McGraw-Hill Companies, Inc., 2003 Chapter 3 Data Transmission.
Chapter 1 The Study of Body Function Image PowerPoint
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module D (Office 2007 Version) Decision Analysis.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
Myra Shields Training Manager Introduction to OvidSP.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) Customer Supplier Customer authorizes Enrollment ( )
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination. Introduction to the Business.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
1 CREATING AN ADMINISTRATIVE DRAW REQUEST (OCC) Complete a Checklist for Administrative Draw Requests (Form 16.08). Draw Requests amount must agree with.
Process a Customer Chapter 2. Process a Customer 2-2 Objectives Understand what defines a Customer Learn how to check for an existing Customer Learn how.
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
Custom Services and Training Provider Details Chapter 4.
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Break Time Remaining 10:00.
Table 12.1: Cash Flows to a Cash and Carry Trading Strategy.
Information Systems Today: Managing in the Digital World
Database Performance Tuning and Query Optimization
PP Test Review Sections 6-1 to 6-6
Bright Futures Guidelines Priorities and Screening Tables
Chapter 7 Working with Databases and MySQL
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Chi-Square and Analysis of Variance (ANOVA)
Chapter 6 Data Design.
Bellwork Do the following problem on a ½ sheet of paper and turn in.
Exarte Bezoek aan de Mediacampus Bachelor in de grafische en digitale media April 2014.
Sample Service Screenshots Enterprise Cloud Service 11.3.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
Adding Up In Chunks.
SLP – Endless Possibilities What can SLP do for your school? Everything you need to know about SLP – past, present and future.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
GEtServices Services Training For Suppliers Requests/Proposals.
By CA. Pankaj Deshpande B.Com, FCA, D.I.S.A. (ICA) 1.
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Analyzing Genes and Genomes
Speak Up for Safety Dr. Susan Strauss Harassment & Bullying Consultant November 9, 2012.
Chapter 12 Analyzing Semistructured Decision Support Systems Systems Analysis and Design Kendall and Kendall Fifth Edition.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 12 View Design and Integration.
Essential Cell Biology
Clock will move after 1 minute
PSSA Preparation.
Experimental Design and Analysis of Variance
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Chapter 13 The Data Warehouse
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Management Information Systems, 10/e
3 - 1 Copyright McGraw-Hill/Irwin, 2005 Markets Demand Defined Demand Graphed Changes in Demand Supply Defined Supply Graphed Changes in Supply Equilibrium.
Chapter 14 Data and Database Administration. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Organizational context.
Data and Database Administration
Presentation transcript:

McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 14 Data and Database Administration

14-2 Outline  Organizational context  Tools of database administration  Processes for database specialists  Overview of processing environments

14-3 Database Support for Decision Making

14-4 Decision Making Examples

14-5 Information Life Cycle

14-6 Knowledge Management

14-7 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-8 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-9 Database Administration Tools  Security  Integrity  Management of stored procedures and triggers  Data dictionary access

14-10 Database Access Control

14-11 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-12 SQL Statements for Security I CREATE ROLE ISFaculty CREATE ROLE ISAdministrator WITH ADMIN CURRENT_ROLE CREATE ROLE ISAdvisor

14-13 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-14 Common SQL Privileges

14-15 Oracle Security Statements  CREATE USER statement  Predefined roles  CONNECT  RESOURCE  DBA  System versus object privileges

14-16 Access Security Tools

14-17 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-18 Encryption  Encoding data to obscure its meaning  Plaintext  Ciphertext  Encryption key

14-19 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-20 SQL Assertions  Supports complex constraints  Constraint specified through a SELECT statement  Enforcement can be inefficient  Stored procedures and form events are alternatives

14-21 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-22 CHECK Constraints  Use when a constraint involves columns of the same table  Part of CREATE TABLE statement  Easy to write  Efficient to enforce

14-23 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-24 Coding Practice Concerns  Documentation  Parameter usage  Content of triggers and stored procedures

14-25 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-26 Managing Trigger Complexity  Coding guidelines to minimize interaction  Trigger analysis tools  Additional testing for interacting triggers

14-27 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-28 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-29 Sample Oracle Catalog Tables

14-30 Information Resource Dictionary

14-31 Processes for Database Specialists  Data planning  DBMS selection and evaluation

14-32 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-33 Planning Models

14-34 Level of Detail in Models

14-35 DBMS Selection  Detailed process  Requires knowledge of organization goals and DBMS features  Systematic approach is important  High switching cost if wrong choice

14-36 Selection Process Phases

14-37 Analytic Hierarchy Process  Multi-criteria decision making tool  Supports systematic assignment of weights and scores to candidate DBMSs  Uses pairwise comparisons

14-38 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.

14-39 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-40 Final Selection Factors  Benchmarks and trial usage  Contractual terms  Vendor expectations

14-41 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-42 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-43 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-44 Managing Database Environments  Transaction processing  Data warehouse processing  Distributed processing  Object data management

14-45 Responsibilities of Database Specialists  Application development  Database infrastructure and architectures  Performance monitoring  Enterprise data model development  Contingency planning

14-46 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