Chapter 5 data processing


Published on

  • 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

Chapter 5 data processing

  1. 1. Chapter 5: Database Processing BUA 235
  2. 2. Purpose of the Database <ul><li>We covered much of this already! </li></ul><ul><li>That said, a database exists to keep track of things </li></ul>
  3. 3. Relationships <ul><li>Something else we already discussed!!! </li></ul><ul><li>Keys: Primary keys and Foreign keys: establish relationships between tables, records, and related meta data…. </li></ul><ul><li>Remember metadata !?! </li></ul>
  4. 4. Components of a Database application system
  5. 5. What are the components of a database application system? <ul><li>A DBMS program is used to create, process, and administer a database. </li></ul><ul><ul><li>Popular DBMS products include: </li></ul></ul><ul><ul><ul><li>DB2 from IBM </li></ul></ul></ul><ul><ul><ul><li>Access from Microsoft (for personal computers) </li></ul></ul></ul><ul><ul><ul><li>SQL Server from Microsoft (for large computer systems) </li></ul></ul></ul><ul><ul><ul><li>Oracle from Oracle Corporation </li></ul></ul></ul><ul><ul><ul><li>MySQL, an open-source product that’s license-free </li></ul></ul></ul><ul><li>It’s easy to confuse a DBMS, which is a software program, with a database, which is a collection of tables, relationships and metadata. But, they are two different concepts. </li></ul>
  6. 6. What are the components of a database application system? <ul><li>DBMSs are used to process databases by reading, inserting, modifying, or deleting data. </li></ul><ul><ul><li>The Structured Query Language (SQL), is an international standard language used by most major DBMS programs for processing databases. </li></ul></ul><ul><li>A DBMS includes tools to help you administer a database. You can </li></ul><ul><ul><ul><li>Set up a security system that includes permissions and passwords. </li></ul></ul></ul><ul><ul><ul><li>Back up the data to prevent it from being lost or compromised. </li></ul></ul></ul><ul><ul><ul><li>Improve the performance of applications by adding structures. </li></ul></ul></ul><ul><ul><ul><li>Remove data that’s no longer needed. </li></ul></ul></ul>
  7. 7. How do database applications make databases more useful? <ul><li>A database application includes forms, reports, queries, and applications programs available to one or more users. </li></ul><ul><li>This figure shows three different applications stemming from a single DBMS and a single database. </li></ul>
  8. 8. Enterprise DBMS vs. Personal DBMS <ul><li>Enterprise DBMS: products process large organizational and workgroup databases </li></ul><ul><ul><li>These systems support many, possibly thousands of users and many different database applications </li></ul></ul><ul><li>Personal DBMS : designed for smaller, simpler database applications </li></ul><ul><ul><li>Often support fewer than 100 users, and normally less than 15 users </li></ul></ul>
  9. 9. Data modeling <ul><li>This we talked about already as well! </li></ul><ul><li>Data models describe the data and relationships that will be stored in the database </li></ul><ul><ul><li>Very akin to a blueprint! </li></ul></ul><ul><li>Called a Entity-Relationship (E-R) Data model </li></ul><ul><ul><li>Made up of entities, attributes, and an identifier (PK) </li></ul></ul>
  10. 10. Normalization <ul><li>Is the process of converting a poorly structured table into two or more well-structured tables. </li></ul><ul><ul><li>Resolves problems with data integrity…. </li></ul></ul><ul><li>Data integrity problems are serious in that they produce incorrect and inconsistent information </li></ul><ul><ul><li>Once users lose confidence in the information, the system obviously loses a considerable amount of value which translates into a burden for the organization </li></ul></ul>
  11. 11. What is the user's role in the development of databases? <ul><li>Your role in the database development process is to decide what data should be included and how records should relate to one another. </li></ul><ul><li>The best time to change a database structure is during the data modeling stage. It’s easier and cheaper to change your mind before anything is actually built. The costs of correcting the database in time and money later on may be very high. </li></ul><ul><li>Each entity must contain all the data you need to do your job. </li></ul><ul><li>Each relationship must accurately reflect the appropriate view of your business. </li></ul><ul><li>You must be the final judge of how well the database will serve your needs. Do not go forward until the data model is accurate. </li></ul>
  12. 12. What are the responsibilities for database administration? <ul><li>Databases are an important resource for most businesses. </li></ul><ul><li>As databases touch more aspects of systems and business functions, the utility of a database increases as do potential problems. </li></ul><ul><li>Database administration manages the development, operation, and maintenance of databases. </li></ul><ul><li>Database administration must protect the database and maximize its availability for authorized use. </li></ul>
  13. 13. What are the responsibilities for database administration? <ul><li>Database administration tasks are divided into four categories as shown below and on the next slide. </li></ul>
  14. 14. Continued….