Lec 23-24 Database Management Systems
Lec 23-24 Database Management Systems
Lecture
(Data Management & Relational DBMS)
1
Today’s Goals
(Data Management & RDBMS)
• Today we will become familiar with the issues and
problems related to data-intensive computing
• We will find out about flat-files, the simplest
databases
• We will discuss relational databases and
implement a simple relational database
2
Data Management
• Keeping track of a few dozen data items is straight
forward
4
AmazingBooks.com(2)
• Thousands of books are shipped each day, changing
the inventory constantly
6
AmazingBooks.com(4)
• All the transaction activity and the inventory
changes result in:
– Thousands of data items changing every day
– Thousands of additional data items being added
everyday
• Data updates
• Data integrity
• Data security
• Data accessibility
8
Data Entry
• New titles are added every day
• New customers are being added every day
10
Data Updates (2)
• All those actions require updates to existing data
11
Data Security (1)
• All the data that AmazingBooks has in its computer
systems is quite critical to its operation
12
Data Security (2)
• This problem can be managed by using appropriate
security mechanisms that provide access to
authorized persons/computers only
15
We can write our own SW that can take
care of all the issues that we just
discussed
OR
17
DBMS (2)
• A DBMS takes care of the storage, retrieval, and
management of large data sets on a database
• It provides SW tools needed to organize &
manipulate that data in a flexible manner
• It includes facilities for:
– Adding, deleting, and modifying data
– Making queries about the stored data
– Producing reports summarizing the required contents
18
Database (1)
• A collection of data organized in such a fashion that
the computer can quickly search for a desired data
item
19
Database (2)
• They allow for easy manipulation of the data
20
What can be stored in a database?
• In the old days, databases were limited to numbers,
Booleans, and text
Record
Field
Record
Delimiter 22
Some Terminology (1)
• Primary Key is a field that uniquely identifies each
record stored in a table
24
Data Mining
• The process of analyzing large databases to identify
patterns