1 / 89

Database Administration

Database Administration. MIS 304 Winter 2006. Review of Last Class. Transactions are used in the databases and their applications to manage data. Managing Database transactions is a function of the DBMS through the Scheduler and Transaction Manager.

kara
Download Presentation

Database Administration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Database Administration MIS 304 Winter 2006

  2. Review of Last Class • Transactions are used in the databases and their applications to manage data. • Managing Database transactions is a function of the DBMS through the Scheduler and Transaction Manager. • Concurrency and locking technology manage multiple users sharing the same data.

  3. Class Goals • To be able to understand and articulate the issues that affect the management of Data and Databases. • To understand the Physical management of data and databases. • Understand the job of the Data Base Administrator

  4. Two Sides of the Coin • Physical and logical database. • The human side of the equation. • The DBA. • The Users of the database.

  5. Data as a Corporate Asset • Data were seldom viewed as a company asset for two reasons: • There were simply too many data to be processed manually • Internal and external business operations moved at a much slower pace than they do today, so there was relatively little need for quick reactions triggered by fast-flowing information. • The computer liberated both managers and data. Data are now better understood as a resource. • Every organization is subject to a data-information-decision cycle.

  6. The Data-Information-Decision Cycle

  7. The Need for and Roleof Databases in an Organization • Used properly, the DBMS facilitates: • Interpretation and presentation of data in useful formats, by transforming raw data into information. • Distribution of data and information to the right people at the right time. • Data preservation and data usage monitoring for adequate periods of time. • Control over data duplication and use, both internally and externally. • The database’s predominant role is to support managerial decision making at all levels in the organization.

  8. DB Support at Different Management Levels • Top Management Level • Provide the information necessary for strategic decision making, strategic planning, policy formulation, and goals definition. • Provide access to external and internal data to identify growth opportunities and to chart the direction of such growth. • Provide a framework for defining and enforcing organizational policies. • Improve the likelihood of a positive return on investment for the company by searching for new ways to reduce costs and/or by boosting productivity. • Provide feedback to monitor whether the company is achieving its goals.

  9. The Need for and Roleof Databases in an Organization • Middle Management • Deliver the data necessary for tactical decisions and planning. • Monitor and control the allocation and use of company resources • How efficiently are resources allocated and used? • What potential or current operational problems exist? • Evaluate the performance of the different departments. • Provide a framework for enforcing and ensuring the security and privacy of the data in the database.

  10. The Need for and Roleof Databases in an Organization • Operational Management • Represent and support the company operations as closely as possible. • Produce query results within specified performance levels. • Enhance the company’s short-term operational ability by providing • Timely information for customer support • Support for application development and computer operations.

  11. Database use levels • Personal • Workgroup • Organizational More users typically means greater database complexity

  12. Personal databases • Notebook computers • Personal digital assistants (PDAs) • Personal information managers (PIMs) • Outlook • Notes • Act • On today’s computer hardware you can get away with a lot.

  13. Workgroup and organizational databases • Shared by many people • Greater complexity • Require more planning and co-ordination than personal databases

  14. System level data administration • Planning • Development of data standards and policies • Data integrity • Data conflict resolution • Managing the DBMS • Establishing and maintaining the Data Dictionary • Selection of hardware and software • Benchmarking • Managing external databases • Internal marketing

  15. Introduction of a Database:Special Considerations • The introduction of a DBMS represents a big change and challenge and is likely to have a profound impact throughout the organization. • The main issue of the DBMS should be the organization’s needsrather than the DBMS’s technical virtues. • Three important aspects: • Technological: DBMS hardware and software • Managerial: Administrative functions • Cultural: Corporate resistance to change

  16. The Evolution of the Database Administration Function • Electronic Data Processing (EDP) Department • Data process (DP) department • Its task was to pool all computer resources to support all departments at the operational level with a minimal duplication of data and effort. • The DP department was in charge of coordinating and maintaining all operational applications.

  17. The Evolution of the Database Administration Function • Information Systems (IS) Department • IS responsibilities were broadened to include: • A service function to provide end users with active data management service. • A production function to provide end users with specific solutions for their information needs. • The database administration function was created to handle increasingly complex data management tasks. • The person responsible for the control of the centralized and shared database was the database administrator (DBA).

  18. The IS Department Internal Organization

  19. The Evolution of the Database Administration Function • Factors Affecting the Placement of DBA • Company management style • Size and complexity of the company operations • Geographic distribution of the company facilities • Changes in DBMS Technologies Affecting Organizational Styles • The development of distributed databases • The growing use of Internet-ready and object-oriented databases and the growing number of data warehousing applications • The increasing sophistication and power of microcomputer-based DBMS.

  20. The Evolution of the Database Administration Function • DBA Activities • Database planning • Database requirements-gathering and conceptual design • Database logical design and transaction design • Database physical design and implementation • Database testing and debugging • Database operations and maintenance, including installation, conversion, and migration • Database training and support

  21. Organizing the data administration function • Creation of the function • Selecting staff and assigning roles • Locating the function

  22. Data administration reporting to the CIO C h i e f E x e c u t i v e O f f i c e r C h i e f I n f o r m a t i o n O f f i c e r A p p l i c a t i o n C o m p u t e r D a t a D e v e l o p m e n t O p e r a t i o n s A d m i n i s t r a t i o n G r o u p G r o u p M a n a g e r D a t a a d m i n i s t r a t i o n s t a f f

  23. Data administration reporting to Support Services C h i e f E x e c u t i v e O f f i c e r C h i e f I n f o r m a t i o n O f f i c e r A p p l i c a t i o n C o m p u t e r M a n a g e r D e v e l o p m e n t O p e r a t i o n s S u p p o r t G r o u p G r o u p S e r v i c e s G r o u p D a t a a d m i n i s t r a t i o n s t a f f

  24. Matrix structure for data administration Chief Executive Officer Chief Information Officer Data Manager Manager Administration Project Group 1 Project Group 2 Manager Data Data Administration Administration Staff Staff

  25. Data administration as a staff function C h i e f E x e c u t i v e O f f i c e r C h i e f I n f o r m a t i o n O f f i c e r D a t a A d m i n i s t r a t i o n A d v i s o r y C o m m i t t e e A p p l i c a t i o n C o m p u t e r M a n a g e r D e v e l o p m e n t O p e r a t i o n s S u p p o r t G r o u p G r o u p S e r v i c e s G r o u p

  26. Decentralized data administration Chief Executive Officer Chief Information Officer Departmental/Divisional Head Departmental/Divisional Head Data Administration manager Data Administration Staff Data Administration Staff

  27. The Evolution of the Database Administration Function • The general coordinator of all DBAs is known as the systems administrator(SYSADM). • Some large corporations make a distinction between a DBA and the data administrator (DA). • The DA, a.k.a., the information resource manager (IRM), usually reports directly report to top management and is given a higher degree of responsibility and authority than the DBA. • The DA is responsible for controlling the overall corporate data resource, both computerized and non-computerized.

  28. Data Administrator Strategic Sets long term goals Sets policies Broad scope Managerial orientation Database Administrator Operational Executes plans Enforces Policies Narrow scope Technical orientation Contrasting DA And DBA Activities And Characteristics You can further contrast this with the role of the Chief Information Officer (CIO)

  29. A Summary Of DBA Activities

  30. Managerial Business skills Analytical skills Coordination skills Negotiation and Conflict resolution skills Communications skills Technical Broad knowledge of computer systems Programming knowledge Modeling Database Systems Operational skills Specific database systems Desired DBA Skills

  31. The DBA’s Managerial Role • Coordinating, monitoring, and allocating DB administration resources: people and data. • Defining goals and formulating strategic plans for the DB administration function.

  32. End User Support • End User Support • User requirements-gathering • Conflict and problem resolution • Finding solutions to information needs • Ensuring quality and integrity of application and data • Building end user confidence • Managing the training and support of DBMS users

  33. Policies, Procedures, and Standards • Policies are general statements of direction or action that communicate and support the DBA goals. • Standards are more detailed and specific than policies and describe the minimum requirement of a given DBA activity. • Proceduresare written instructions that describe a series of steps to be followed during the performance of a given activity.

  34. Data Security, Privacy, & Integrity • Authorization managementdefines procedures for the following functions: • User access management • View definition • DBMS utilities access control • DBMS usage monitoring

  35. Security – Consistent State • Security breaches can yield a database whose integrity is either preserved or corrupted: • Preserved: Action is required to avoid the repetition of similar security problems, but data recovery may not be necessary. • Corrupted: Action is required to avoid the repetition of similar security problems, and the database must be recovered to a consistent state.

  36. Data Backup and Recovery • The Database Security Officer (DSO) is responsible for the assurance of the database security and integrity. • Disaster management includes all planning, organizing, and testing of database contingency plans and recover procedures. • Periodic data and applications backups • Proper backup identification • Convenient and safe backup storage • Physical protection • Personal access control • Insurance coverage for the data in the database

  37. The DBA’s Technical Role • DBMS and utilities evaluation, selection, and installation • Design and implementation of databases and applications • Testing and evaluation of databases and applications

  38. The DBA’s Technical Role cont. • Operation of the DBMS, utilities, and applications • Training and supporting users • Maintenance of the DBMS, utilities, and applications

  39. DBMS model DBMS storage capacity Application development support Security and integrity Backup and recovery Concurrency control Performance Database administration tools Interoperability and data distribution Portability and standards Hardware Data Dictionary Vendor training and support Available third-party tools Cost DBMS and Utilities Evaluation, Selection, and Installation

  40. Design and Implementation of Databases and Applications • Data modeling and design services at conceptual, logical, and physical levels • Review of the design to ensure that transactions are: • Correct: The transactions mirror real-world events. • Efficient: The transactions do not overload the DBMS. • Compliant with integrity and standards. • Database storage and access plans • Database operational procedures

  41. Testing and Evaluation of Databases and Applications • Testing and Evaluation of Databases and Applications • Technical aspects of both the applications and the database • Evaluation of the written documentation • Observance of standards for naming, documenting, and coding • Data duplication conflicts with existing data • The enforcement of all data validation rules

  42. Operation of the DBMS, Utilities, and Applications • System Support • Performance monitoring and tuning • Backup and recovery • Security auditing and monitoring

  43. Training and Supporting Users • Training users and application programmers to use the DBMS and its tools • Unscheduled, on-demand technical support for end user and programmers • External sources (e.g., vendors) for support

  44. Maintenance of the DBMS, Utilities, and Applications • Management of the physical storage devices • Upgrading the DBMS and utility software • Migration and conversion services for incompatible data and different DBMS

  45. Data management problems • Redundancy • Inconsistent representations • Multiple definitions of data items • Essential data missing • Inaccurate or incomplete data • Uncaptured data • Data that cannot be located

  46. Selection of hardware and software • How many users will simultaneously access the database? • Will the database need to be geographically distributed? • What is the maximum size of the database? • How many transactions per second can the DBMS handle? • What kind of support for on-line transaction processing is available? • What are the initial and ongoing costs of using the product? • What is the extent of training required, will it be provided, and what are the associated costs?

  47. Benchmarking • TPC-C • Benchmarking of TPS • TPC-W • Benchmarking of Web sites • TPC-D • Benchmarking of DSS (Obsolete) • http://www.tpc.org

  48. Data Structures • The goal is to minimize disk accesses • Disks are relatively slow compared to main memory • Writing a letter compared to a telephone call • Disks are a bottleneck • Appropriate data structures can reduce disk accesses

  49. Database access Record Page Page returned read returned DBMS File Manager Disk Manager Record Page Read request request page command

  50. Disks • Data stored on tracks on a surface • A disk drive can have multiple surfaces • Rotational delay • Waiting for the physical storage location of the data to appear under the read/write head • Around 5 msec for a magnetic disk • Set by the manufacturer • Access arm delay • Moving the read/write head to the track on which the storage location can be found. • Around 10 msec for a magnetic disk

More Related