Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
6 views26 pages

Lecture 01 DB

The document outlines the introductory lecture for a Database Systems course, detailing general information, prerequisites, grading schemes, and policies on academic dishonesty. It covers essential topics in database management, including basic definitions, advantages of database systems, and the ANSI/SPARC architecture. Reference books and course contents are also provided to guide students through the subject matter.

Uploaded by

umar1okie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views26 pages

Lecture 01 DB

The document outlines the introductory lecture for a Database Systems course, detailing general information, prerequisites, grading schemes, and policies on academic dishonesty. It covers essential topics in database management, including basic definitions, advantages of database systems, and the ANSI/SPARC architecture. Reference books and course contents are also provided to guide students through the subject matter.

Uploaded by

umar1okie
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Database Systems

Lecture #1 : Introduction

1
General Information
• Ext #: 144
• Email: [email protected]

2
Prerequisites
• Data Structures

3
Grading Scheme
• Quizzes – 10% -
• Homeworks – 10%
• Project – 20%
• Midterm1 – 10%
• Midterm2 – 10%
• Final – 50%

4
Grading Policy
• All deadlines will be hard.

5
Academic Dishonesty
• Any form of cheating on
exams/homeworks/quizzes is subject to
serious penalty.

6
Reference Books
• Fundamentals of Database Systems by
Elmasri & Navathe
• Database Systems, A Practical Approach
by Connolly & Begg

7
Contents
• Introduction to Databases
• Basic Concepts and Architecture
• Relational Model
• Relational Algebra
• SQL
• Data Manipulation, Data Definition
• ER Modeling
• Functional Dependencies
• Normalization
• Relational Database Design
• Conceptual, Logical & Physical Database Design
• Record Storage and Primary File Organization

8
Contents
• Index Structures for Files
• Query Processing and Optimizations
• Transaction Processing
• Concurrency Control
• Recovery Techniques
• Data Mining Concepts
• Data Warehousing Concepts

9
Basic Concepts

10
Basic Definitions
• Database: A collection of related data.
• Data: Known facts that can be recorded and have an
implicit meaning.
• Database Management System (DBMS): A software
package/ system to facilitate the creation and
maintenance of a computerized database.
• Examples:
– Oracle
– DB2 (IBM)
– MS SQL Server
– MS Access
– Ingres
– PostgreSQL
– MySQL

• Database System: The DBMS software together with the


data itself. Sometimes, the applications are also
included. 11
Databases
• Library catalogues • Train timetables
• Medical records • Airline bookings
• Bank accounts • Credit card details
• Stock control • Student records
• Personnel systems • Customer histories
• Product catalogues • Stock market prices
• Telephone directories • and so on…

12
Simplified Database Systems
Environment

13
Database Example

14
File Processing Systems

Library Examination Registration

Library app Examination app Registration app

Library Data Examination Registration


Files Data Files Data Files

15
Why Database System..?
Problems with regular file system
• Separation and isolation of data
• Duplication of data
• Data and Program interdependence
• Incompatible file formats

16
Database System Environment
Library Examination Registration

Library app Examination app Registration app

DBMS

Student
Database

17
Advantages of Database System
• Shared data
• Reduce redundancy
• Help avoid inconsistencies
• Enforce integrity
• Crash recovery
• Data independence

18
Why not to use a DBMS?
• Complexity
• Cost of DBMS
• Additional hardware costs
• Cost of conversion

19
Application Programmers, Administrators and
Designers

20
ANSI/SPARC Architecture
• ANSI - American • A three-level architecture
National Standards – Internal level
Institute – Conceptual level
• SPARC - Standards – External level
Planning and
Requirements Committee
• 1975 - proposed a
framework for DBs
ANSI/SPARC Architecture
External Level
• Provides a view of the
database tailored to a
user
– Parts of the data may be
hidden
– Data is presented in a
useful form
– Used by end users
Conceptual Level
• Deals with the
organisation of the data
as a whole
– Abstractions are used to
remove unnecessary
details of the internal
level
Internal Level
• Deals with physical
storage of data
– Structure of records on
disk - files, pages, blocks
ANSI/SPARC Architecture

26

You might also like