01introduction ADVANCE DATABASE SYSTEM
01introduction ADVANCE DATABASE SYSTEM
Outline
Data is ubiquitous
Basic Definitions
Types of Databases and Database Applications
Typical DBMS Functionalities
Example of a Database (UNIVERSITY)
Main Characteristics of the Database Approach
Database Users
Advantages of Using the Database Approach
History of Database Systems
Extending Database Capabilities
When Not to Use Databases
Note 1
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 2
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 3
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Processor Technology
http://i1.wp.com/thetechguysblog.com/wp-content/uploads/2015/01/Chart-III-8-Moores-Law-Over-199-Years-And-Going-Strong.png
Note 4
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Data Everywhere
Airline flight management system
Financial data
Commercial store (eg, WalMart) data
Department of Motor Vehicles
Surveillance video
University student records
Baseball results
Web sites
Medical records
...
Note 5
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Basic Concepts
Data: Known facts that can be recorded and have an implicit
meaning.
Database: Collection of interrelated data
Mini-World or Universe of Discourse (UoD): Some part of the
real world about which data is stored in a database.
Database Management System (DBMS): A collection of
programs to facilitate the creation and maintenance of a
database.
Database System = DBMS + Database
A database system contains information about a particular
enterprise.
A database system provides an environment that is both
convenient and efficient to use.
Note 6
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
http://db-engines.com/en/ranking/relational+dbms
CSIE30600/CSIEB0290 Database Systems Introduction 14
Note 7
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
http://db-engines.com/en/ranking_trend/relational+dbms
CSIE30600/CSIEB0290 Database Systems Introduction 15
Note 8
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 9
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
catalog
CSIE30600/CSIEB0290 Database Systems Introduction 19
Note 10
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 11
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Database Applications
Banking: all transactions
Airlines: reservations, schedules
Universities: registration, grades
Sales: customers, products, purchases
Online retailers: order tracking, customized
recommendations
Manufacturing: production, inventory, orders, supply
chain
Human resources: employee records, salaries, tax
deductions
Databases touch all aspects of our lives
Note 12
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Example of a Database
Mini-world for the example:
Part of a UNIVERSITY environment.
Some mini-world entities:
STUDENTs
COURSEs
SECTIONs (of COURSEs)
DEPARTMENTs
INSTRUCTORs
Note 13
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Example of a Database
Some mini-world relationships:
SECTIONs are of specific COURSEs
STUDENTs take SECTIONs
COURSEs have prerequisite COURSEs
INSTRUCTORs teach SECTIONs
COURSEs are offered by DEPARTMENTs
STUDENTs major in DEPARTMENTs
Example of a Database
Note 14
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Main Characteristics
Self-describing: A DBMS catalog (meta-data) stores
the description of the database. (next slide)
Program-data Independence: Allows changing storage
structures w/o changing DBMS access programs.
Data abstraction: Data models hide storage details
and present the users with a conceptual view of the
DB.
Multiple views: Each user may see a different view of
the database.
Data sharing: among multiple users
Transactions, concurrent access , recovery , OLTP
Note 15
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Database Users
Users may be divided into
Those who actually use and control the database
content, and those who design, develop and
maintain database applications (called “Actors on
the Scene”), and
Those who design and develop the DBMS software
and related tools, and the computer systems
operators (called “Workers Behind the Scene”).
Database Users
Actors on the scene
Database administrators:
Responsible for authorizing access to the database, for
coordinating and monitoring its use, acquiring software
and hardware resources, controlling its use and
monitoring efficiency of operations.
Database Designers:
Responsible to define the content, the structure, the
constraints, and functions or transactions against the
database. They must communicate with the end-users
and understand their needs.
Note 16
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Database Administrator
Coordinates all the activities of the database system; must
have a good understanding of the enterprise’s information
resources and needs.
Database administrator's duties:
Schema definition
Storage structure and access method definition
Schema and physical organization modification
Granting user authority to access the database
Specifying integrity constraints
Acting as liaison with users
Monitoring performance and responding to changes in
requirements
End-users
Actors on the scene (continued)
End-users: use the data for queries, reports and
some of them update the database content.
End-users can be categorized into:
Casual: access db occasionally when needed
Naïve or Parametric: they make up a large section of
the end-user population.
They use previously well-defined functions in the form of
“canned transactions” against the database.
Examples are bank-tellers or reservation clerks who do
this activity for an entire shift of operations.
Note 17
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
End-users (cont.)
Sophisticated:
Business analysts, scientists, engineers, others thoroughly
familiar with the system capabilities.
Many use tools in the form of software packages that work
closely with the stored database.
Stand-alone:
Mostly maintain personal databases using ready-to-use
packaged applications.
An example is a tax program user that creates its own
internal database.
Another example is a user that maintains an address book
Note 18
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 19
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Additional Implications
Potential for enforcing standards:
This is very crucial for the success of database
applications in large organizations. Standards
refer to data item names, display formats, screens,
report structures, meta-data (description of data),
Web page layouts, etc.
Reduced application development time:
Incremental time to add each new application is
reduced.
Note 20
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 21
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
DB History (cont.)
The '60s
Carles Bachman designed the 1st DBMS
Integrated Data Store (and received the 1st
Turing Award in 1973)
Three-level architecture (more about this in
next lecture)
CODASYL, DBTG, and the network model
Hierarchical model and the IMS system
DB History (cont.)
The '70s
Edgar Codd (1970): The Relational model (Codd
won the 1981 Turing Award)
Provide a sound theoretical base.
1975, 1st ACM SIGMOD international conference
1975, 1st VLDB international conference
Peter Chen 陳品山 (1976): The Entity-relationship
model
System R (IBM), INGRES (UC-Berkely), System
2000 (UT-Austin)
SQL, QUEL
CSIE30600/CSIEB0290 Database Systems Introduction 44
Note 22
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
DB History (cont.)
The '80s
Commertcial relational DBMS
(DB2, ORACLE, SYBASE, INFORMIX, ...)
DBMS on PC's
(DBASE, PARADOX, ...)
Transaction management (James Gray won
the 1999 Turing Award)
Standards (SQL standardized in the late
1980s)
CSIE30600/CSIEB0290 Database Systems Introduction 45
DB History (cont.)
The '90s
New applications (Web, CAD/CAM, CASE, office
automation, science and engineering, VLSI, ...)
Demand for new DBMS technologies
Object-oriented DBs, Parallel/Distributed DBs,
Active/Deductive DBs, Multimedia DBs, Mobile DBs,
Temporal/Real-time DBs, Spatial DBs(such as GIS), …
The emergence of ERP (Enterprise Resource Planning)
and MRP (Material Requirements Planning) packages
Data Warehousing and data mining
DBMS in the Internet/Web and E-commerce
applications
Note 23
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
DB History (cont.)
The 2000s and beyond
XML, XQuery and the Semantic Web
Data Stream Management Systems (DSMS)
Sensor databases
Network traffic analysis
RFID data management
…
Mobile Data Management (MDM)
New Trend
First decade of the 21st century has seen tremendous
growth in user generated data and automatically collected
data from applications and search engines.
Social Media platforms such as Facebook and Twitter are
generating millions of transactions a day and businesses
are interested to tap into this data to “understand” the
users.
Cloud Storage and Backup is making unlimited amount of
storage available to users and applications
Note 24
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Note 25
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Related Systems
Knowledge Management Systems
Expert Systems
Knowledge
Decision Support Systems
Database Systems
Data
DBMS
Note 26
CSIE30600/CSIEB0290 Database Systems Lecture 1 Introduction
Summary
Types of Databases and Database Applications
Basic Definitions
Typical DBMS Functionality
Example of a Database (UNIVERSITY)
Main Characteristics of the Database Approach
Database Users
Advantages of Using the Database Approach
Database History and New Trend
When NOT to Use Databases
Related Systems
CSIE30600/CSIEB0290 Database Systems Introduction 53
Note 27