An Introduction to database system
Basic Definitions <ul><li>Data: Meaningful facts, text, graphics, images, sound, video segments. </li></ul><ul><li>Databas...
What is a DataBase system? (DB) <ul><li>It is a logically coherent collection of data with inherent meaning. </li></ul><ul...
What is a DataBase Management System? (DBMS) <ul><li>A (large) piece of software which provides an interface between the u...
The functionality of DBMS <ul><li>Manages very large amounts of data. </li></ul><ul><li>Supports efficient access to very ...
Several basic concepts <ul><li>Data models </li></ul><ul><ul><li>A data model is a way of representing (part of) the world...
Several basic concepts <ul><li>Database design </li></ul><ul><ul><li>Design goals </li></ul></ul><ul><ul><ul><li>Minimize ...
Database Development Activities The stages  focused  in COP4540
Conceptual Database Modeling <ul><li>Determine user requirements. </li></ul><ul><li>Determine business rules. </li></ul><u...
Logical Database Design <ul><li>Select logical database model. </li></ul><ul><li>Map Entity-Relationship Diagrams </li></u...
Physical Database Design <ul><li>Select DBMS </li></ul><ul><li>Select storage devices </li></ul><ul><li>Determine access m...
Several basic concepts <ul><li>Schema </li></ul><ul><ul><li>Logical structure of the data defined by using data definition...
The architecture of database system Users / Programmers  Application Programs / Queries Database Management System 1. Soft...
Components of the Database Environment <ul><li>CASE Tools </li></ul><ul><li>Repository </li></ul><ul><li>Database Manageme...
Evolution of Database Systems <ul><li>Hierarchical and Network (Legacy): Data are modeled as linked records. </li></ul><ul...
RDBMS and SQL <ul><li>RDBMS is a DBMS on the basis of relational model. </li></ul><ul><li>It is the most popular type of t...
RDBMS and SQL Accounts SELECT balance FROM Accounts WHERE accountNo = 67890 Result: 2846.92
Disadvantages of File Processing Systems <ul><li>Data Dependence </li></ul><ul><li>Data Redundancy (Duplication of data) <...
Advantages of Database Approach <ul><li>Program-Data Independence: No need to rewrite programs when data is modified </li>...
Advantages of Database Approach <ul><li>Enforcement of Standards </li></ul><ul><li>Improved Data Quality (Constraints) </l...
Costs and Risks of the Database Approach <ul><li>New, Specialized Personnel </li></ul><ul><li>Installation Management Cost...
Upcoming SlideShare
Loading in...5
×

Database Management COP4540, SCS, FIU

1,200

Published on

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,200
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
37
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Database Management COP4540, SCS, FIU

  1. 1. An Introduction to database system
  2. 2. Basic Definitions <ul><li>Data: Meaningful facts, text, graphics, images, sound, video segments. </li></ul><ul><li>Database: An organized collection of logically related data. </li></ul><ul><li>Information: Data processed to be useful in decision making. </li></ul><ul><li>Metadata: Data that describes data. </li></ul>
  3. 3. What is a DataBase system? (DB) <ul><li>It is a logically coherent collection of data with inherent meaning. </li></ul><ul><li>It represents a miniworld, and should represent the state of that world accurately. </li></ul><ul><li>It is managed by a database management system (DBMS). </li></ul>
  4. 4. What is a DataBase Management System? (DBMS) <ul><li>A (large) piece of software which provides an interface between the user or application program and the stored data. </li></ul><ul><li>A DBMS is developed according to a particular data model. </li></ul><ul><li>Some example DBMSs are: </li></ul><ul><ul><li>IMS, DB2, Oracle, Sybase, Informix, SQL Server, Access, FoxPro, O2. </li></ul></ul>
  5. 5. The functionality of DBMS <ul><li>Manages very large amounts of data. </li></ul><ul><li>Supports efficient access to very large amounts of data. </li></ul><ul><li>Supports concurrent access to very large amounts of data. </li></ul><ul><li>Supports secure, atomic access to very large amounts of data. </li></ul>
  6. 6. Several basic concepts <ul><li>Data models </li></ul><ul><ul><li>A data model is a way of representing (part of) the world. </li></ul></ul><ul><ul><li>The principle current data model are: </li></ul></ul><ul><ul><ul><li>Hierarchical </li></ul></ul></ul><ul><ul><ul><li>Network </li></ul></ul></ul><ul><ul><ul><li>Relational </li></ul></ul></ul><ul><ul><ul><li>Object-oriented </li></ul></ul></ul><ul><ul><ul><li>E-R </li></ul></ul></ul><ul><ul><ul><li>Semantic </li></ul></ul></ul>
  7. 7. Several basic concepts <ul><li>Database design </li></ul><ul><ul><li>Design goals </li></ul></ul><ul><ul><ul><li>Minimize redundancy in order to eliminate the modification anomalies in database. </li></ul></ul></ul><ul><ul><ul><li>Represent the situation accurately </li></ul></ul></ul><ul><ul><li>Design Stages </li></ul></ul><ul><ul><ul><li>Conceptual (product independent) </li></ul></ul></ul><ul><ul><ul><li>Logical (product specific) </li></ul></ul></ul><ul><ul><ul><li>Physical / Implementation (product specific) </li></ul></ul></ul>
  8. 8. Database Development Activities The stages focused in COP4540
  9. 9. Conceptual Database Modeling <ul><li>Determine user requirements. </li></ul><ul><li>Determine business rules. </li></ul><ul><li>Build conceptual data model </li></ul><ul><ul><li>outcome is an entity-relationship diagram or similar communication tool. </li></ul></ul>
  10. 10. Logical Database Design <ul><li>Select logical database model. </li></ul><ul><li>Map Entity-Relationship Diagrams </li></ul><ul><li>Normalize data structures. </li></ul><ul><li>Specify business rules. </li></ul>
  11. 11. Physical Database Design <ul><li>Select DBMS </li></ul><ul><li>Select storage devices </li></ul><ul><li>Determine access methods </li></ul><ul><li>Design files and indexes </li></ul><ul><li>Determine database distribution </li></ul><ul><li>Specify update strategies </li></ul>
  12. 12. Several basic concepts <ul><li>Schema </li></ul><ul><ul><li>Logical structure of the data defined by using data definition language (DDL). </li></ul></ul><ul><li>Queries </li></ul><ul><ul><li>A “query” is a database lingo for a question about the data. </li></ul></ul><ul><ul><li>A “query” is composed by using query language (QL) </li></ul></ul>
  13. 13. The architecture of database system Users / Programmers Application Programs / Queries Database Management System 1. Software to process queries/programs 2. Software to access stored data Stored data
  14. 14. Components of the Database Environment <ul><li>CASE Tools </li></ul><ul><li>Repository </li></ul><ul><li>Database Management System (DBMS) </li></ul><ul><li>Database </li></ul><ul><li>Application Programs </li></ul><ul><li>User Interface </li></ul><ul><li>Database Administrators (DBA) </li></ul><ul><li>System Developers </li></ul><ul><li>End Users </li></ul>
  15. 15. Evolution of Database Systems <ul><li>Hierarchical and Network (Legacy): Data are modeled as linked records. </li></ul><ul><li>Relational: Data are modeled as related tables. </li></ul><ul><li>Object-oriented: Data are organized as linked objects. </li></ul><ul><ul><li>Object-relational: Integration of relational and object-oriented features. </li></ul></ul>
  16. 16. RDBMS and SQL <ul><li>RDBMS is a DBMS on the basis of relational model. </li></ul><ul><li>It is the most popular type of the DBMS. </li></ul><ul><li>The data is organized as tables called relations </li></ul><ul><li>Two famous systems: </li></ul><ul><ul><li>System R at IBM & Ingres at UC Berkeley </li></ul></ul><ul><li>SQL (Structured Query Language) </li></ul><ul><ul><li>the most important query language based on relational model. </li></ul></ul>
  17. 17. RDBMS and SQL Accounts SELECT balance FROM Accounts WHERE accountNo = 67890 Result: 2846.92
  18. 18. Disadvantages of File Processing Systems <ul><li>Data Dependence </li></ul><ul><li>Data Redundancy (Duplication of data) </li></ul><ul><li>Limited Data Sharing </li></ul><ul><li>Lengthy Development Times </li></ul><ul><li>Excessive Program Maintenance </li></ul>
  19. 19. Advantages of Database Approach <ul><li>Program-Data Independence: No need to rewrite programs when data is modified </li></ul><ul><li>Minimal Data Redundancy </li></ul><ul><li>Improved Data Consistency </li></ul><ul><li>Improved Data Sharing </li></ul><ul><li>Increased Application Development Productivity. </li></ul>
  20. 20. Advantages of Database Approach <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>Reduced Program Maintenance </li></ul><ul><li>Security, Backup/Recovery, Concurrency </li></ul>
  21. 21. Costs and Risks of the Database Approach <ul><li>New, Specialized Personnel </li></ul><ul><li>Installation Management Cost and Complexity </li></ul><ul><li>Conversion Costs </li></ul><ul><li>Organizational Conflict </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×