Lecture-1-Fundamentals-of-Database-systems (1)
Lecture-1-Fundamentals-of-Database-systems (1)
DATABASE
SYSTEMS
KENRICK AGUSTIN S. SECUGAL
MASTERS IN NOT MASTERS :D
instructor
hi there! this is not
me…
THIS IS ME :D
I WELCOME MYSELF
TO DBSYS1
皆さん、こんにちは
HELLO EVERYBODY
FUNDAMENTALS 101
Saylor Academy.
saylor.org
4
DATABASE IS…
5
LOOK AT THIS
EMPTY BASKET
6
LOOK AT THIS
EMPTY BASKET
7
8
9
10
11
12
BEFORE THE
ADVENT OF
DATABASE
SYSTEMS
Confidence-building strategies
ROLE OF
DATABASES IN
BUSINESS
Everybody uses a database in some way, even if
it is just to store information about their friends
and family. That data might be written down or
stored in a computer by using a word-processing
program or it could be saved in a spreadsheet.
However, the best way to store data is by using
database management software.
This is a powerful software tool that allows you
to store, manipulate and retrieve data in a
variety of different ways.
MEANING OF DATA
15
DATA CAN BE STORED IN:
• Filing cabinets
• Spreadsheets
• Folders
• Ledgers
• Lists
• Piles of papers on your desk
16
If data are information and
information is what we are in the
business of working with, you can
start to see where you might be
storing it.
17
METADATA
Metadata describes how and when and by
whom a particular set of data was collected,
and how the data is formatted. Metadata is
essential for understanding information stored
in data warehouses and has become
increasingly important in xml-based web
applications.
THERE ARE MANY TYPES OF METADATA.
SOME MAIN CATEGORIES INCLUDE:
21
The way in which computers manage data has come a long
way over the last few decades. Today’s users take for granted
the many benefits found in a database system. However, it
wasn’t that long ago that computers relied on a much less
elegant and costly approach to data management called the
file-based system.
22
FILE-BASED SYSTEM
23
• In a file system, all of the files are organized into directories
and folders, and sometimes the same file can be duplicated
across multiple locations. This means there’s a much greater
chance of data inconsistency with file systems. Plus, file
systems typically have a drastically smaller capacity than a
DBMS and can only modify the metadata of a specific file
rather than its contents
24
ADVANTAGES OF FILE-BASED SYSTEMS
• Easy to use
• Inexpensive
• Faster performance
• Suitable for personal data management
25
DISADVANTAGES OF FILE-BASED
SYSTEMS
• Limited capacity
• Limited functionality
• Less security
• Greater data inconsistency
• No backup or recovery capabilities
26
DATA REDUNDANCY
27
• Data inconsistency, a situation where various copies of the
same data are conflicting, wastes storage space and
duplicates effort
28
DATA ISOLATION
29
INTEGRITY PROBLEMS
30
SECURITY PROBLEMS
31
EXERCISE
Brain not to damage
• 1. Discuss each of the following terms:
• 1.1 data
• 1.2 field
• 1.3 record
• 1.4 file
• 2. What is data redundancy?
• 3. Discuss the disadvantages of file-based systems.
• 4. Explain the difference between data and information.
33
5. Use figure 1.2 (below) to answer the following questions.
5.1 in the table, how many records does the file contain?
5.2 how many fields are there per record?
5.3 what problem would you encounter if you wanted to produce a listing by city?
5.4 how would you solve this problem by altering the file structure?
34
PART II
35
A BRIEF HISTORY OF DATABASES
36
UNIT RECORDS AND PUNCH CARD DATABASES
37 Punched card
reader
PUNCH CARD PROLIFERATION
38
FILE SYSTEMS
39
IBM IMS
40
41
1970’S COBOL
42
43
1970 – RELATIONAL MODEL
CODASYL - Conference/Committee
on Data Systems Language. This
effort led to the development of the
Ted Codd was a mathematician worker
in IBM
programming language COBOL, the
CODASYL Data Model, and other
Designed a mechanism to avoid IMS technical standards.
and CODASYL Programs to be rewritten
every time the database schema or
lay-out changed.
- store database in simple data
structures
-access data through high level
language
- Physical set up
44
1980’S - EARLY RELATIONAL MODEL
- Relational Model Wins
- SEQUEL becomes the standard (SQL)
System R – IBM
- Rise of new DBMS but Oracle wins the
Research
market
INGRES – U. C. - IBM Becomes DB2 in 1983
Berkeley
Oracle – Larry Ellison
Object-oriented Databases
Like XML, JSON
45
46
1990 – BORING DAYS
No major advancements
- Microsoft forks Sybase and creates SQL Server
47
2000 THE BOOM OF THE
INTERNET
48
49
2010 – NEW SQL
50
THANK YOU