Professional Documents
Culture Documents
Database System Concepts 1.1 Silberschatz, Korth and Sudarshan Database System Concepts 1.2 Silberschatz, Korth and Sudarshan
Database System Concepts 1.3 Silberschatz, Korth and Sudarshan Database System Concepts 1.4 Silberschatz, Korth and Sudarshan
Database System Concepts 1.5 Silberschatz, Korth and Sudarshan Database System Concepts 1.6 Silberschatz, Korth and Sudarshan
Database System Concepts 1.7 Silberschatz, Korth and Sudarshan Database System Concepts 1.8 Silberschatz, Korth and Sudarshan
Entity-Relationship Model Entity Relationship Model (Cont.)
Database System Concepts 1.9 Silberschatz, Korth and Sudarshan Database System Concepts 1.10 Silberschatz, Korth and Sudarshan
Database System Concepts 1.11 Silberschatz, Korth and Sudarshan Database System Concepts 1.12 Silberschatz, Korth and Sudarshan
Specification notation for defining the database schema Language for accessing and manipulating the data organized by
E.g. the appropriate data model
create table account ( DML also known as query language
account-number char(10),
Two classes of languages
balance integer)
Procedural user specifies what data is required and how to get
DDL compiler generates a set of tables stored in a data those data
dictionary
Nonprocedural user specifies what data is required without
Data dictionary contains metadata (i.e., data about data) specifying how to get those data
database schema SQL is the most widely used query language
Data storage and definition language
language in which the storage structure and access methods
used by the database system are specified
Usually an extension of the data definition language
Database System Concepts 1.13 Silberschatz, Korth and Sudarshan Database System Concepts 1.14 Silberschatz, Korth and Sudarshan
SQL: widely used non-procedural language Users are differentiated by the way they expect to interact with
E.g. find the name of the customer with customer-id 192-83-7465 the system
select customer.customer-name Application programmers interact with system through DML
from customer calls
where customer.customer-id = 192-83-7465
Sophisticated users form requests in a database query
E.g. find the balances of all accounts held by the customer with
customer-id 192-83-7465 language
select account.balance Specialized users write specialized database applications that
from depositor, account do not fit into the traditional data processing framework
where depositor.customer-id = 192-83-7465 and
depositor.account-number = account.account-number Nave users invoke one of the permanent application programs
that have been written previously
Application programs generally access databases through one of
E.g. people accessing database over the web, bank tellers, clerical
Language extensions to allow embedded SQL staff
Application program interface (e.g. ODBC/JDBC) which allow SQL
queries to be sent to a database
Database System Concepts 1.15 Silberschatz, Korth and Sudarshan Database System Concepts 1.16 Silberschatz, Korth and Sudarshan
Database Administrator Transaction Management
Database System Concepts 1.17 Silberschatz, Korth and Sudarshan Database System Concepts 1.18 Silberschatz, Korth and Sudarshan
Database System Concepts 1.19 Silberschatz, Korth and Sudarshan Database System Concepts 1.20 Silberschatz, Korth and Sudarshan
Application Architectures