1 / 19

Chapter 2

Chapter 2. Database System Concepts and Architecture. Evolution of computing. Database has evolved since nearly every stage of computing, from: mainframes, which are monolithic Client-server Web-based. Data Models. A collection of concepts used to describe the structure of a database

balin
Télécharger la présentation

Chapter 2

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. Chapter 2 Database System Concepts and Architecture

  2. Evolution of computing • Database has evolved since nearly every stage of computing, from: • mainframes, which are monolithic • Client-server • Web-based

  3. Data Models • A collection of concepts used to describe the structure of a database • Data types • Relationships • Constraints • Etc

  4. Categories of Data Models • Conceptual data models: high level • Physical data models: how data is actually stored in a disk • Representational data models: somewhere between those two… let’s see…

  5. Representational data model • Relational data model (our main discussion in this class) • Network data model (uses directed graphs) • Hierarchial data model (history…) • Object data model (this is new!)

  6. Database schemas • Schemas: description of the database, but not the database itself! • Example of a schema diagram:

  7. Not included in the schema diagram above: • Data types? • Relationships? • Constraints, such as “students in CS major must take CS1310…”

  8. Database states • Also called ‘snapshot’ • After we define, generaly a database is at the ‘empty state’ • We get the ‘initial state’ after we first load the database • Valid state is a state which satisfies the structure and constraints in the schema

  9. Three Schema Architecture • Internal schema: describes the physical storage structure of the database • Conceptual schema: structure of the whole database for a community of users • External schemas for user views

  10. Data Independence • Logical data independence: we can change the conceptual schema without changing the application program • Physical data independence: we can change the internal schema without changing the conceptual schema. It might be because file database must be reorganized for fine tuning.

  11. Database Languages • Data definition language • View definition language • Data manipulation language • High level: SQL, set-at-a-time processing • Low level: VB, COBOL, record-at-a-time processing

  12. DBMS Interfaces • Menu based interface • Forms based interface • Graphical user interface • Natural language interface, you can ask, “Show me all the students with GPA > 3” • Parametric interface, such as xBase

  13. Database utilities • Loading utility, or importer • Backup utility, usually to tape • File optimizer or reorganizer • Performance monitoring: fragmentation, load balancing, etc.

  14. Classification of DBMS • Single user vs multi user • Centralized vs distributed • Price…! • OLTP support? • OLAP support (read page 842)

  15. Group Assignment Comparative Study of Popular DBMS

  16. Group 1 (Haswar, Conna, Vicky) MySQL MS-SQL Server FoxPro Group 2 (Fitri, al-Harith, Avi) MySQL MS-SQL Server IBM DB2 Group 3 (Danu, Lia, Narpati) Oracle database Postgres Borland Interbase Group 4 (Armand, Tia, Aryo) FoxPro MS-Access Informix Which ones?

  17. What to look for • Use theories in chapter 1 & 2!

  18. Deliverables • Presentatoin (of course) • Due next week • Paper, submitted to the TAs: Elan and Amir (again…!)

More Related