Download CS 245: Database System Principles

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
CPSC-608 Database Systems
Fall 2009
Instructor: Jianer Chen
Office: HRBB 309B
Phone: 845-4259
Email: [email protected]
Notes 1
users
database system
large
volume
of
data
where do we
store them?
users
database system
large
volume
of
data
in secondary
storage
users
database system
secondary
storage
(disks)
how are the
data organized?
users
database system
secondary
storage
(disks)
in tables
(relations)
users
database system
secondary
storage
(disks)
how do we
define
relations?
users
in tables
(relations)
database system
secondary
storage
(disks)
in tables
(relations)
database
administrator
users
DDL
language
database system
secondary
storage
(disks)
how do we
manipulate relations?
database
administrator
users
in tables
(relations)
DDL
language
database system
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
database system
DML (query)
language
database
programmer
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
database management system
DML (query)
language
database
programmer
simply translate
database programs
into machine programs
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
database management system
DML (query)
language
database
programmer
simply translate
database programs
into machine programs
secondary
storage
(disks)
then what is the difference between DBMS
and a programming language compiler?
1. it has to deal with data stored in
hierarchical memory structures
in tables
(relations)
DDL
language
database
administrator
file
manager
buffer
manager
DML (query)
language
database
programmer
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
2. it has to support efficient manipulations
of data in hierarchical memory structures
in tables
(relations)
DDL
language
database
administrator
file
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
3. it needs to translate the input database
program into an internal representation
DDL
language
database
administrator
DDL
complier
in tables
(relations)
file
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
4. it needs to produce efficient internal codes
dealing with data in hierarchical memory structure
DDL
language
database
administrator
DDL
complier
in tables
(relations)
file
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
query
execution
engine
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
in tables
(relations)
5. it needs to be consistent
DDL
language
database
administrator
lock table
DDL
complier
concurrency
control
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
query
execution
engine
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
in tables
(relations)
6. it needs to be reliable
DDL
language
database
administrator
lock table
DDL
complier
concurrency
control
logging &
recovery
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
query
execution
engine
main
memory
buffers
DBMS
then what is the difference between DBMS
and a programming language compiler?
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
lock table
DDL
complier
concurrency
control
logging &
recovery
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
DBMS
query
execution
engine
main
memory
buffers
secondary
storage
(disks)
in tables
(relations)
lock table
DDL
language
DDL
complier
database
administrator
concurrency
control
logging &
recovery
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
DBMS
undergraduate database
query
execution
engine
main
memory
buffers
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
lock table
DDL
complier
concurrency
control
logging &
recovery
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
query
execution
engine
main
memory
buffers
DBMS
graduate database
secondary
storage
(disks)
in tables
(relations)
DDL
language
database
administrator
lock table
DDL
complier
concurrency
control
logging &
recovery
file
manager
transaction
manager
index/file
manager
buffer
manager
DML (query)
language
database
programmer
DML
complier
query
execution
engine
main
memory
buffers
DBMS
graduate database
secondary
storage
(disks)
Related documents