Database Concept: Prepared By: Raquel Ofreneo, MIT
Database Concept: Prepared By: Raquel Ofreneo, MIT
u Database Applications:
u Banking: transactions
u Airlines: reservations, schedules
u Universities: registration, grades
u Sales: customers, products, purchases
u Online retailers: order tracking, customized
recommendations
u Manufacturing: production, inventory, orders, supply chain
u Human resources: employee records, salaries, tax
deductions
Database
What is a database management system?
Is a software which is used to manage database
Databases are usually associated with software allowing
the data to be managed or queried
o SQL Server
o Microsoft Access
o IBM DB2
o MySQL
o Oracle
University Database Example
u Developed by IBM
u An abbreviation for “IBM Database 2”
u Introduced in June 1983
u Support the relational model
u Platform-specific DB2 product
u Supports SQL
What is DB2
view level
logical
level
physical
level
Data Models
Data Models
Data model – a representation, usually graphic, of a
complex “real-world” data structure.
u Hierarchical model – This model is based on an upside-down
tree structure in which record is called a segment. The top
record is the root segment. Each segment has a 1:M
relationship to the segment directly below it.
u Network model – An early data model that represent data as
a collection of records types in 1:M relationships.
o Schema – is the conceptual organization of the entire as
viewed by the database administrator
o - a logical groupings of database objects such as
tables, indexes, views and queries that are related to each
other
Data Models
Object Representation
XML: Extensible Markup Language