IS CH2 Database Management (p2)


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

IS CH2 Database Management (p2)

  1. 1. INFORMATION SYSTEMS<br />DATABASE MANAGEMENT (PART 2)<br />Prepared by: Jan Wong<br />
  2. 2. The Learning Outcomes<br />Identify the differences between databases<br />Explain how you can interactwith web databases<br />Discuss the responsibilities of web analysts and administrators<br />
  3. 3. The Keywords<br /><ul><li>Data Security
  4. 4. Backup and log
  5. 5. Recovery utility
  6. 6. Data model
  7. 7. Relational database
  8. 8. Relationship
  9. 9. Structured Query Language
  10. 10. Object Oriented Database
  11. 11. Data Warehouse
  12. 12. Web Database
  13. 13. Database Administration</li></li></ul><li>Data Security<br />DBMS provides means to ensure only authorized users can access data<br />Access privileges define activities that specific user or group of users can perform<br />Read-only privileges - user can view data, but cannot change it<br />Full-update privileges - user can view and change data<br />
  14. 14. Recovery Utility<br />Uses logs and/or backups to restore database when it is damaged or destroyed<br />2 types:<br />Rollforward— DBMS uses log to re-enter changes made to database since last save or backup<br />Also called forward recovery<br />Rollback — DBMS uses log to undo any changes made to database during a certain period of time<br />Also called backward recovery<br />
  15. 15. Data Model<br />Rules and standards that define how database organizes data<br />Defines how users view organization of data<br />Four popular data models<br />Relational<br />Object-oriented<br />Object-relational<br />Multidimensional<br />
  16. 16. Stores data in tables that consist of rows and columns<br />Each row has primary key<br />Each column has unique name<br />Stores data relationships – how data relates to each other<br />What is a relationship?<br />Connection within data<br />Uses Structured Query Language (SQL)<br />Data Models: Relational Database<br />
  17. 17. Structured Query Language (SQL)<br />Allows you to manage, update, and retrieve data<br />Has special keywords and rules included in SQL statements<br />How to interact with Databases<br />SQL statement<br />SQL statement results<br />
  18. 18. Stores data in objects<br />Object: Items that contains data, as well as actions that read or process data<br />Images, hyperlinks, videos, scripts, etc<br />Advantage:<br />Can store more types of data<br />Can access data faster<br />Uses Object Query Language (OQL)<br />Data Models: Object Oriented Database<br />
  19. 19. Multimedia databases<br />Hypertext databases<br />Hypermedia databases<br />Web databases<br />Store images, audio clips, and/or video clips<br />Contain text links to other documents<br />Contain text, graphics, video, and sound<br />Link to e-form on Web page<br />Groupware databases<br />Store documents such as schedules, calendars, manuals, memos, and reports<br />Computer-aided design (CAD) databases<br />Store data about engineering, architectural, and scientific designs<br />Object Oriented Databases<br />Examples of applications appropriate for an object-oriented database:<br />
  20. 20. Multi-dimensional Database<br />Stores data in dimensions<br />Multiple dimensions, also called hypercube, allow users to analyze any view of data<br />Can consolidate data much faster than relational database<br />It also allows more complex queries<br />
  21. 21. Multi DimensionData Warehouse<br /><ul><li>Huge database system that stores and manages data required to analyze historical and current transactions
  22. 22. Quick and efficient way to access large amounts of data
  23. 23. Often uses a process called data mining to find patterns and relationships among data
  24. 24. Uses multidimensional databases
  25. 25. Data mart is smaller version of data warehouse</li></li></ul><li>Web Database<br />Database you access through the Web by filling in a form on a Web page<br />Usually resides on a database server, a computer that stores and provides access to a database<br />
  26. 26. Database Admin-istration<br />What are the guidelines for developing a database?<br />Determine the purpose of the database<br />Design the tables<br />Design tables on paper first<br />Each table should contain data about onesubject<br />Design the records and fields for each table<br />Be sure every record has a unique primary key<br />Use separate fields for logically distinct items<br />Do not create fields for information that can be derived from entries in other fields<br />Allow enough space for each field<br />Set default values for frequently entered data<br />Determine the relationships between tables<br />
  27. 27. Database Admin-istration<br />What is the role of a DA and DBA?<br />Database Analyst (DA)<br />Focuses on meaning and usage of data<br />Decides proper placement of fields, defines relationships, and identifies users’ access privileges<br />Database Administrator (DBA)<br />Creates and maintains data dictionary, manages database security, monitors database performance, and checks backup and recovery procedures<br />
  28. 28. Questions, anyone?<br />
  29. 29. Chapter 3: Information System Development<br />