Chapter_0 - Overview of a DBMS

18
7/23/2019 Chapter_0 - Overview of a DBMS http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 1/18 1 Course: Database Management Systems Nguyễn Đình Thành

Transcript of Chapter_0 - Overview of a DBMS

Page 1: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 1/18

1

Course:

Database Management Systems

Nguyễn Đình Thành

Page 2: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 2/18

Contact information

Email:

[email protected]

2

Page 3: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 3/18

3

References

[1] R. Elmasri & S.B. Navathe (2011).Fundamentals of Database Systems, 6thEdition, Addison-Wesley

[2] H. G. Molina, J. D. Ullman, J. Widom, Database

System Implementation, Prentice-Hall, 2000.[3] H. G. Molina, J. D. Ullman, J. Widom, Database

Systems: The Complete Book, Prentice-Hall,2002

[4] A. Silberschatz, H. F. Korth, S. Sudarshan,Database System Concepts  –3rd Edition,McGraw-Hill, 1999.

Page 4: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 4/18

4

References

[1] R. Elmasri & S.B. Navathe (2011).Fundamentals of Database Systems, 6thEdition, Addison-Wesley

[2] H. G. Molina, J. D. Ullman, J. Widom, Database

System Implementation, Prentice-Hall, 2000.[3] H. G. Molina, J. D. Ullman, J. Widom, Database

Systems: The Complete Book, Prentice-Hall,2002

[4] A. Silberschatz, H. F. Korth, S. Sudarshan,Database System Concepts  –3rd Ed it ion ,McGraw-Hill, 1999.

Page 5: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 5/18

5

Course outline

C0. Overview of a DBMS

C1. Disk Storage, Basic File Structures, and Hashing

C2. Indexing Structures for Files

C3. Algorithms for Query Processing and Optimization

C4. Introduction to Transaction Processing Concepts

and Theory

C5. Concurrency Control Techniques

C6. Database Recovery Techniques

Page 6: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 6/18

6

Course outline - Timetable

C0. Overview of a DBMS (w. 1)

C1. Disk Storage, Basic File Structures, and Hashing(w. 1, 2)

C2. Indexing Structures for Files (w. 3, 4, 5) – Test 1

C3. Algorithms for Query Processing and Optimization(w. 6, 7, 8) – Test 2

C4. Introduction to Transaction Processing Conceptsand Theory (w. 9, 10)

C5. Concurrency Control Techniques (w. 11, 12) –Test 3

C6. Database Recovery Techniques (w. 13, 14)

Page 7: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 7/18

7

 Three parts

Storage management: how secondary storage isused effectively to hold data and allow it to beaccessed quickly

Query processing: how queries expressed in avery high-level language such as SQL can beexecuted efficiently

Transaction management: how to supporttransactions.

Page 8: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 8/18

 Assignments

File structure

MongoDB

Hadoop

Index

Index in MongoDB

Index in Hadoop

R-Tree/ Hilbert R-Tree

Bitmap index

Cache

MongoDB

Hadoop

Query Processing

MongoDB

Hadoop

Transaction

MongoDB

Hadoop

Recovery

MongoDB

Hadoop

Distributed DBMS

MongoDB

Hadoop

8

Page 9: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 9/18

 Assignments

 Access control

MongoDB

Hadoop

 Access control on Cloud

Computing

Graph database

Key-value database

Privacy preservation Data analysis and OLAP

9

Page 10: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 10/18

10

 Assessment

Midterm: 50%

Preliminary tests in class: 30%

Test 1 (c. 1 + 2; w. 5): 10%

Test 2 (c. 3; w. 8): 10%

Test 3 (c. 4 + 5; w. 12): 10%

 Assignment: 20% Deadline for assignment submission: before w. 15

Final exam: 50%

multi-choice & written.

Reviews: c. 0-6

Success in the course = { Midterm * 50% + Final exam * 50% 5.0 }

Page 11: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 11/18

11

Chapter 0

An Overview of a Database

Management System

Course: Database Management Systems

Page 12: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 12/18

12

 What is a DBMS?

The power of database comes from a body of

knowledge and technology that has developed over

several decades and is embodied in a specialized

software called a database management sys tem ,

or DBMS.

 A DBMS is a powerful tool for creating and

managing large amount of data efficiently and

allowing it to persist over long periods of time safely.

Page 13: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 13/18

13

DBMS Capabilities

The capabilities that a DBMS provides the user are:

Persistent Storage. A DBMS supports the storage of very largeamounts of data that exists independently of any processes thatare using the data.

Programming Interface. A DBMS allows the user to access andmodify data through a powerful query language.

Transaction management. A DBMS supports concurrentaccess to data, i.e., simultaneously access by many distinctprocesses (called transaction) at once. To avoid some of theundesirable consequences of simultaneous access, the DBMSsupports:

isolation atomicity

resiliency

Page 14: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 14/18

History of database systems and DBMS

1960s: Flat-File,Hierarchical,NetworkDatabases.

1970s:RelationalDBMS –RDBMS)

1980s:Object-Oriented,DistributedDBMS

1990s:Object-

relationalmodel) –ORDBMS,OLAP, datamining, datawarehouse,

multimediaDB

2000s: XML DB,bioinformation,

data stream,sensor network,NoSQL

Page 15: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 15/18

15

Page 16: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 16/18

 The Database System Environment (1)

DBMS component modules

Buffer management

Stored data manager

DDL compiler

Interactive query interface

• Query compiler

• Query optimizer 

Precompiler 

Page 17: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 17/18

 The Database System Environment (2)

DBMS component modules

Runtime database processor 

System catalog

Concurrency control system

Backup and recovery system

Page 18: Chapter_0 - Overview of a DBMS

7/23/2019 Chapter_0 - Overview of a DBMS

http://slidepdf.com/reader/full/chapter0-overview-of-a-dbms 18/18

18

(Relational) DBMSs in Practice

MySQL

Oracle

MS SQL Server 

IBM DB2