Introduction To Database Systems
Introduction To Database Systems
Introduction To Database Systems
Pushpitha Sandaruwan
Software Engineer
IFS R&D International
+94714969763
sandaru.weerasooriya@gmail.com
Today we discuss…
• History
• Introduction
• Characteristics of Database System
• Different players
• Advantages and Disadvantages
• Real example
History
Information is so important ….
• Information plays a major role in day to day business as well as
decision making.
• i.e.
• Banking: Customer details, accounts, loans
• Airlines: Schedules, Reservations
• Credit card transactions
• Sales: customer, product, inventory, purchase
File Definitions
Library Files
Library Library Application Program
File based system
• File based systems were developed as better alternatives to paper
based filing systems
• Collection of application programs that perform services for the users
wishing to access information.
• Each program within a file based system defines and manages its own
data
• In the business…
• It was common practice for larger companies to have each of its departments
looking after its own data
File based system
• Data separation and isolation.
• Data dependence.
• Data duplication.
• Incompatible data (different file formats).
• Lack of flexibility in organizing and querying the data.
• Increased number of different application programs
Introduction
Terminology for Intro…
• Database: A collection of related data.
• Data: Known facts that can be recorded and have an implicit meaning.
• Mini-world: Some part of the real world about which data is stored in
a database. For example, student grades and transcripts at a
university.
• Database Management System (DBMS): A software package/ system
to facilitate the creation and maintenance of a computerized
database.
• Database System: The DBMS software together with the data itself.
Sometimes, the applications are also included.
Database Management System (DBMS)
Database Access
Languages and Backup and Recovery
Application Programming Presentation and Management
Interfaces Visualization of data
Database System
• The DBMS software together with the data itself. Sometimes, the
applications are also included.
High level architecture…
Characteristics of Database System
• Self-describing nature of a database system:
• A DBMS catalog stores the description of the database. The description is
called meta-data). This allows the DBMS software to work with different
databases.
• Data Abstraction:
• A data model is used to hide storage details and present the users with a
conceptual view of the database.
Cont…
• Queries :
• Retrieve the transcript—a list of all courses and grades—of ‘Smith’
• List the names of students who took the section of the ‘Database’ course
offered in fall 2008 and their grades in that section
• List the prerequisites of the ‘Database’ course
• Updates
• Change the class of ‘Smith’ to sophomore
• Create a new section for the ‘Database’ course for this semester
• Enter a grade of ‘A’ for ‘Smith’ in the ‘Database’ section of last semester
Summary
summary
• What is a database
• DBMS and Database System
• Characteristics of Database System
• Different Players
• Advantages and Disadvantages
To be continued ….