Database System Concepts & Architecture
Database System Concepts & Architecture
Database System Concepts & Architecture
Architecture
C2
Learning Objectives
• Homogeneous DDBMS
• Heterogeneous DDBMS
• Federated or Multidatabase Systems
• Distributed Database Systems have now come
to be known as client-server based database
systems because:
– They do not support a totally distributed
environment, but rather a set of database servers
supporting a set of clients.
Cost considerations for DBMSs
• Cost Range: from free open-source systems to configurations
costing millions of dollars
• Examples of free relational DBMSs: MySQL, PostgreSQL,
others
• Commercial DBMS offer additional specialized modules, e.g.
time-series module, spatial data module, document module,
XML module
– These offer additional specialized functionality when purchased
separately
– Sometimes called cartridges (e.g., in Oracle) or blades
• Different licensing options: site license, maximum number of
concurrent users (seat license), single user, etc.
History of Data Models
• Network Model
• Hierarchical Model
• Relational Model
• Object-oriented Data Models
• Object-Relational Models
History of Data Models
• Network Model:
– The first network DBMS was implemented by
Honeywell in 1964-65 (IDS System).
– Adopted heavily due to the support by CODASYL
(Conference on Data Systems Languages) (CODASYL
- DBTG report of 1971).
– Later implemented in a large variety of systems -
IDMS (Cullinet - now Computer Associates), DMS
1100 (Unisys), IMAGE (H.P. (Hewlett-Packard)), VAX
-DBMS (Digital Equipment Corp., next COMPAQ,
now H.P.).
Example of Network Model Schema
Network Model
• Advantages:
– Network Model is able to model complex
relationships and represents semantics of
add/delete on the relationships.
– Can handle most situations for modeling using
record types and relationship types.
– Language is navigational; uses constructs like FIND,
FIND member, FIND owner, FIND NEXT within set,
GET, etc.
• Programmers can do optimal navigation through the
database.
Network Model
• Disadvantages:
– Navigational and procedural nature of processing
– Database contains a complex array of pointers that
thread through a set of records.
• Little scope for automated “query optimization”
History of Data Models
• Hierarchical Data Model:
– Initially implemented in a joint effort by IBM and
North American Rockwell around 1965. Resulted in
the IMS family of systems.
– IBM’s IMS product had (and still has) a very large
customer base worldwide
– Hierarchical model was formalized based on the IMS
system
– Other systems based on this model: System 2k (SAS
inc.)
Hierarchical Model
• Advantages:
– Simple to construct and operate
– Corresponds to a number of natural hierarchically organized
domains, e.g., organization (“org”) chart
– Language is simple:
• Uses constructs like GET, GET UNIQUE, GET NEXT, GET NEXT
WITHIN PARENT, etc.
• Disadvantages:
– Navigational and procedural nature of processing
– Database is visualized as a linear arrangement of records
– Little scope for "query optimization"
History of Data Models
• Relational Model:
– Proposed in 1970 by E.F. Codd (IBM), first commercial system in
1981-82.
– Now in several commercial products (e.g. DB2, ORACLE, MS SQL
Server, SYBASE, INFORMIX).
– Several free open source implementations, e.g. MySQL,
PostgreSQL
– Currently most dominant for developing database applications.
– SQL relational standards: SQL-89 (SQL1), SQL-92 (SQL2), SQL-99,
SQL3, …
History of Data Models
• Object-oriented Data Models:
– Several models have been proposed for implementing
in a database system.
– One set comprises models of persistent O-O
Programming Languages such as C++ (e.g., in
OBJECTSTORE or VERSANT), and Smalltalk (e.g., in
GEMSTONE).
– Additionally, systems like O2, ORION (at MCC - then
ITASCA), IRIS (at H.P.- used in Open OODB).
– Object Database Standard: ODMG-93, ODMG-version
2.0, ODMG-version 3.0.
History of Data Models
• Object-Relational Models:
– Most Recent Trend. Started with Informix
Universal Server.
– Relational systems incorporate concepts from
object databases leading to object-relational.
– Exemplified in the latest versions of Oracle-10i,
DB2, and SQL Server and other DBMSs.
– Standards included in SQL-99 and expected to be
enhanced in future SQL standards.
Summary
• Data Models and Their Categories
• History of Data Models
• Schemas, Instances, and States
• Three-Schema Architecture
• Data Independence
• DBMS Languages and Interfaces
• Database System Utilities and Tools
• Centralized and Client-Server Architectures
• Classification of DBMSs