0% found this document useful (0 votes)
27 views34 pages

DBMS 1

This document provides an overview of a course on fundamentals of database systems. The course consists of both theoretical and practical components. The theoretical components cover basic database concepts, entity relationship modeling, the relational database model, and normalization. The practical component involves hands-on work with MySQL. Students will complete a semester-long project designing and implementing a database application. The document also discusses database career opportunities and popular database management systems used by major companies.
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)
27 views34 pages

DBMS 1

This document provides an overview of a course on fundamentals of database systems. The course consists of both theoretical and practical components. The theoretical components cover basic database concepts, entity relationship modeling, the relational database model, and normalization. The practical component involves hands-on work with MySQL. Students will complete a semester-long project designing and implementing a database application. The document also discusses database career opportunities and popular database management systems used by major companies.
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/ 34

FUNDAMENTALS OF

DATABASE SYSTEMS
LESSON 1: INTRODUCTION

Nguyễn Thị Hậu


University of Engineering and Technology,
Vietnam National University in Hanoi (UET-VNU)
[email protected]
COURSE OVERVIEW

Nguyen Thi Hau - DBMS 2


Contents
Part 1: Theory (60%: attendance, assignments: 5%, project:
10%, test 1-3 at week 6, 10, 15 (online tests): 15% x 3)
1. Basic concepts
2. The ER modeling
3. The relational database model
4. Functional dependency, Normalization
Bonus: Solving problems in the lectures (Maximum 5%),
and the bonus parts of project (Maximum 10%)

Part 2: Practice (40%: attendance, assignments, tests)


• MySQL, week 2-15

3 Nguyen Thi Hau - DBMS


Project requirements
• Duration: Week 1-15 (students must submit the progressive report according to the
requirements of each lecturer)
• Requirements:
1. Choosing an application (possibly using existing applications). (Week 2)
Draw the overall architecture of your application
Describing all supported features of the application.
2. Describing the database of the application (entities, relationships,
constraints…) in words. (Week 3)
Describe in word all necessary business rules for your data (e.g each
student can take maximum 12 credits per semester).

3. Drawing ERD of the database using Chen ‘s model. (Week 4)


4. Converting the database into the relation model.
5. Normalizing the database into 2NF, 3NF, BCNF.
6. Creating & implementing the database using a DBMS.
7. Developing your application. (Bonus!!!)
Nguyen Thi Hau - DBMS 4
Readings
• Ramez Elmasri & Shamkant
B. Navathe, Fundamentals of
Database Systems, 7th
Edition, Pearson 2015.

• CORONEL, C., and


MORRIS, S. 2017, Database
Systems: Design,
Implementation, and
Management. 13th Ed.,
Thomson Course Technology

5 Nguyen Thi Hau - DBMS


10 hottest positions 2022 in US

Nguyen Thi Hau - DBMS [Glassdoor.com, 2022] 6


Database Career Opportunities

7 Nguyen Thi Hau - DBMS


Top 10 DBMS 2020

8
Các HQT CSDL dùng bởi
Google, Facebook, Twitter… [stackshare.io]

9
BASIC CONCEPTS

Nguyen Thi Hau - DBMS 10


Data – Information Examples

Nguyen Thi Hau - DBMS


11
Data vs. Information
Data Information
• Raw facts • Produced by processing data
– Raw data - Not yet been • Reveals the meaning of data
processed to reveal the
meaning • Enables knowledge creation
• Building blocks of • Should be accurate,
information relevant, and timely to
enable good decision
• Data management
making
– Generation, storage, and
retrieval of data

12 Nguyen Thi Hau - DBMS


Evolution of File System Data
Processing
Manual File Systems
Accomplished through a system of file folders and filing
cabinets

Computerized File Systems


Data processing (DP) specialist: Created a computer-based
system that would track data and produce required reports

File System Redux: Modern End-User Productivity


Tools
Includes spreadsheet programs such as Microsoft Excel

13 Nguyen Thi Hau - DBMS


Contents of a simple Customer file

14 Nguyen Thi Hau - DBMS


A Simple File System example

15 Nguyen Thi Hau - DBMS


Problems with File System Data
Processing
Lengthy development times

Difficulty of getting quick answers

Complex system administration

Lack of security and limited data


sharing

Extensive programming

16 Nguyen Thi Hau - DBMS


Database
•Shared, integrated computer structure that stores
a collection of:
–End-user data - Raw facts of interest to end user
–Metadata: Data about data, which the end-user data
are integrated and managed
•Describe data characteristics and relationships
•Database management system (DBMS)
–Collection of programs
–Manages the database structure
–Controls access to data stored in the database

17 Nguyen Thi Hau - DBMS


Role of the DBMS
• Intermediary between the user and the
database
• Enables data to be shared
• Presents the end user with an integrated view
of the data
• Receives and translates application requests
into operations required to fulfill the requests
• Hides database’s internal complexity from the
application programs and users
18 Nguyen Thi Hau - DBMS
The DBMS Manages the Interaction between the End User and the
Database

19 Nguyen Thi Hau - DBMS


Components of DBMS

Nguyen Thi Hau - DBMS 20


Meta data

21 Nguyen Thi Hau - DBMS


Nguyen Thi Hau - DBMS 22
Advantages of the DBMS
• Better data integration and less data inconsistency
– Data inconsistency: Different versions of the same data appear in
different places
• Increased end-user productivity
• Improved:
–Data sharing
–Data security
–Data access
–Decision making
•Data quality: Promoting accuracy, validity, and timeliness
of data

23 Nguyen Thi Hau - DBMS


Types of Databases
• Single-user database: Supports one user at a
time
– Desktop database: Runs on PC
• Multi-user database: Supports multiple users
at the same time
– Workgroup databases: Supports a small number
of users or a specific department
– Enterprise database: Supports many users
across many departments

24 Nguyen Thi Hau - DBMS


Types of Databases
• Centralized database:
Data is located at a
single site
• Distributed database:
Data is distributed across
different sites
• Cloud database:
Created and maintained
using cloud data services
that provide defined
performance measures
for the database

25 Nguyen Thi Hau - DBMS


Types of Databases
• General-purpose databases: Contains a wide
variety of data used in multiple disciplines
• Discipline-specific databases: Contains data
focused on specific subject areas

26 Nguyen Thi Hau - DBMS


Types of Databases
• Operational
database: Designed
to support a
company’s
day-to-day
operations

• Analytical
database: Stores
historical data and
business metrics used
exclusively for
tactical or strategic
decision making
– Data warehouse:
Stores data in a
format optimized
for decision support

27 Nguyen Thi Hau - DBMS


Types of Databases
• Business intelligence: Captures and processes
business data to generate information that
support decision making

• Online analytical processing


(OLAP)
– Enable retrieving, processing, and
modeling data from the data
warehouse

28 Nguyen Thi Hau - DBMS


Types of Databases
• Unstructured data: It
exists in their original state
• Structured data: It results
from formatting
– Structure is applied based
on type of processing to be
performed
• Semi-structured data:
Processed to some extent
• Extensible Markup
Language (XML)
– Represents data elements in
textual format

29 Nguyen Thi Hau - DBMS


Database Design
• Focuses on the design of the database structure
that will be used to store and manage end-user
data
• Well-designed database
– Facilitates data management
– Generates accurate and valuable information
• Poorly designed database causes
difficult-to-trace errors

30 Nguyen Thi Hau - DBMS


Database Systems
•Logically related data stored in a single logical
data repository
–Physically distributed among multiple storage
facilities
–DBMS eliminates most of file system’s problems
•Current generation DBMS software:
o Stores data structures, relationships between structures, and access paths
o Defines, stores, and manages all access paths and components

31 Nguyen Thi Hau - DBMS


Contrasting Database and File Systems

32 Nguyen Thi Hau - DBMS


The Database System Environment

33 Nguyen Thi Hau - DBMS

You might also like