08-19-2008.ppt

214 views
175 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
214
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

08-19-2008.ppt

  1. 1. 08-19-2008 <ul><li>Class </li></ul><ul><ul><ul><li>Will </li></ul></ul></ul><ul><ul><ul><ul><ul><li>Start </li></ul></ul></ul></ul></ul><ul><ul><ul><ul><ul><li>Momentarily… </li></ul></ul></ul></ul></ul>CS8630 Database Administration Dr. Mario Guimaraes Introduction and Database Environment
  2. 2. Web site <ul><li>Class web-site – ` http://science.kennesaw.edu/~mguimara/cs8630.htm </li></ul><ul><li>Syllabus, Hw, project, etc. (use csmoodle for all hw) </li></ul><ul><li>Hw. # 0 </li></ul><ul><li>a) Post a message in the Introduction Forum </li></ul><ul><li>at csmoodle.kennesaw.edu </li></ul><ul><li>b) Download Oracle 10g Express and launch it </li></ul><ul><li>get disk or see instructions from site </li></ul><ul><li> Oracle 10g Express: download/Install , Launch </li></ul><ul><li>or come by with your laptop </li></ul><ul><li>Hw # 1 - </li></ul><ul><li>Introduction & Relational Algebra </li></ul><ul><li>Extra credit homework - evaluate Database Courseware </li></ul><ul><li>DO NOT start before Friday. I will give further instructions </li></ul><ul><ul><li>ADbC (adbc.kennesaw.edu) </li></ul></ul><ul><li>SQL (w3schools)      SQL Tutorial (new lin ) ! </li></ul>
  3. 3. 8630 http://science.kennesaw.edu/~mguimara/cs8630.htm
  4. 4. Assessment: <ul><li>Homework (10%) Homework problems assigned throughout the term. Homework grade will be binary: 5 (completed the assignment with 100% effort), 2 (partially completed), 0 (incomplete). Homework can be discussed with your colleagues, but should be turned in individually. Concepts of homework will frequently appear on the tests. No homework may be turned in after the solutions are posted. </li></ul><ul><li>Class Participation (10%) This is a subjective component. It includes participation in labs, in class and in discussion groups. Exams (30 %) 2 exams, 15 points each. </li></ul><ul><li>Paper (20%) You will submit an Abstract and a list of references by October 1. Full paper is due November 1 Project  (25%)   Your project grade will be composed of 1) Final Deliverables 15%, 2) Intermediate Deliverables 2.5%, 3) Oral Presentation graded by class 2.5%, 4) Peer Evaluation from Group Members 5%. </li></ul>
  5. 5. File-Based Systems Three file processing systems (Ch.1)
  6. 6. File-Based Systems - Disadvantage <ul><li>Disadvantages of File Processing Systems </li></ul><ul><li>Data dependence </li></ul><ul><ul><li>File structure is defined in the program code. </li></ul></ul><ul><li>Incompatible file formats </li></ul><ul><ul><li>Programs are written in different languages, and so cannot easily access each other’s files. </li></ul></ul><ul><li>Fixed Queries/Proliferation of application programs </li></ul><ul><ul><li>Programs are written to satisfy particular functions. </li></ul></ul><ul><ul><li>Any new requirement needs a new program. </li></ul></ul><ul><li>Data Redundancy </li></ul><ul><li>Separation and isolation of data </li></ul><ul><ul><li>Each program maintains its own set of data. </li></ul></ul><ul><ul><li>Users of one program may be unaware of potentially useful data held by other programs </li></ul></ul>
  7. 7. File-Based Systems: example
  8. 8. Database Systems
  9. 9. Advantages of Database Systems <ul><li>DBMS: software that administers one or more Databases. Facilitates implementation of: </li></ul><ul><li>Data Independence/Reduced Maintenance </li></ul><ul><li>Improved Data Sharing </li></ul><ul><li>Increased Application Development Productivity </li></ul><ul><li>Enforcement of Standards </li></ul><ul><li>Improved Data Quality (Constraints) </li></ul><ul><li>Better Data Accessibility/ Responsiveness </li></ul><ul><li>Security, Backup/Recovery, Concurrency </li></ul><ul><li>Reduce Redundancy, Reduce inconsistency </li></ul><ul><li>Increase Integrity </li></ul><ul><li>Use a high level query language </li></ul><ul><li>Views: each user views own sub-set of the database </li></ul>
  10. 10. Costs and Risks of the Databases <ul><li>New, Specialized Personnel </li></ul><ul><li>Installation Management Cost and Complexity </li></ul><ul><li>Conversion Costs </li></ul><ul><li>Need for Explicit Backup and Recovery </li></ul><ul><li>Organizational Conflict </li></ul>
  11. 11. Evolution of databases
  12. 12. OO versus Relational <ul><li>OO better </li></ul><ul><li>COMPLEX DATA TYPES </li></ul><ul><li>Sub-types – Reusability </li></ul><ul><li>Multi-valued attributes </li></ul><ul><li>MAPS better with OO Programming Language </li></ul>Standard Easy to Use More people familiar with Vendors did a better job
  13. 13. ORDB vs. ORDBMS <ul><li>Most Relational DBMS are also ORDBMS (to some extent). </li></ul><ul><li>Most DB are purely Relational (Not ORDB). </li></ul>
  14. 14. Roles in a DB Environment <ul><li>Data Administrator ( DA ) </li></ul><ul><li>Database Administrator (DBA) </li></ul><ul><li>Database Designers (Logical and Physical) </li></ul><ul><li>Application Programmers </li></ul><ul><li>End Users (naive and sophisticated) </li></ul>
  15. 15. 3-Level Architecture <ul><li>ANSI-SPARC Three-Level Architecture (Ch.2) </li></ul>
  16. 16. 3-Level Architecture <ul><li>ANSI-SPARC Three-Level Architecture </li></ul><ul><li>External Level </li></ul><ul><ul><li>Users’ view of the database. </li></ul></ul><ul><ul><li>Describes that part of database that is relevant to a particular user. </li></ul></ul><ul><li>Conceptual Level </li></ul><ul><ul><li>Community view of the database. </li></ul></ul><ul><ul><li>Describes what data is stored in database and relationships among the data. </li></ul></ul><ul><li>Internal Level </li></ul><ul><ul><li>Physical representation of the database on the computer. </li></ul></ul><ul><ul><li>Describes how the data is stored in the database. </li></ul></ul>
  17. 17. 3 Level Arch. - Example Differences between Three Levels of ANSI-SPARC Architecture
  18. 18. Database Languages <ul><li>Fourth Generation Language (4GL) </li></ul><ul><ul><li>Query Languages </li></ul></ul><ul><ul><li>Forms Generators </li></ul></ul><ul><ul><li>Report Generators </li></ul></ul><ul><ul><li>Graphics Generators </li></ul></ul><ul><ul><li>Application Generators. </li></ul></ul>
  19. 19. File-Server <ul><li>File-server is connected to several workstations across a network. </li></ul><ul><li>Database resides on file-server. </li></ul><ul><li>DBMS and applications run on each workstation. </li></ul><ul><li>Disadvantages include: </li></ul><ul><ul><li>Significant network traffic. </li></ul></ul><ul><ul><li>Copy of DBMS on each workstation. </li></ul></ul><ul><ul><li>Concurrency, recovery and integrity control more complex. </li></ul></ul>
  20. 20. File Server Architecture
  21. 21. DB Server <ul><li>DB server architecture (or Client Server) </li></ul>
  22. 22. Popular DBMS <ul><li>DBMS – software that manages database </li></ul><ul><li>Oracle </li></ul><ul><li>DB2 and Informix (IBM) </li></ul><ul><li>MS-SQL Server and MS-Access (Microsoft) </li></ul><ul><li>Sybase (also iAnywhere: mobile db solutions) </li></ul><ul><li>MySQL and POSTGRES (open source) </li></ul><ul><li>Filemaker PRO (apple, Ibm, web, 1 table) </li></ul>
  23. 23. End of Lecture <ul><li>End </li></ul><ul><li>Of </li></ul><ul><li>Today’s </li></ul><ul><li>Lecture. </li></ul>

×