SlideShare uma empresa Scribd logo
1 de 34
ITS 20163
INTRODUCTION TO
DATABASES
 Basic knowledge of how to collect, organize, and analyze data. The course will
cover the introduction concepts of querying, updating, and administration of
databases. Other topics include normalization, table structures, table
relationships, and data integrity.
ITS 20163 INTRODUCTION TO DATABASES
Before the Advent of Database
Systems
4
Da-ta / noun (Definition)
 facts and statistics collected together for reference or analysis.
 the quantities, characters, or symbols on which operations are
performed by a computer, being stored and transmitted in the form
of electrical signals and recorded on magnetic, optical, or
mechanical recording media.
Data / meaning
 Data are factual information such as measurements or statistics
about objects and concepts.
 We use data for discussions or as part of a calculation.
 Data can be a person, a place, an event, an action or any one of a
number of things. A single fact is an element of data, or a data
element.
DATA
4
The Database
 A database is a self-describing collection of
integrated tables.
 The tables are called integrated because they
store data about the relationships between rows
of data.
 A database is called self-describing because it
stores a description of itself.
 The self-describing data is called metadata,
which is data about data.
The DATABASE
6
1. File-based System
 Time ago computers relied on a much less
sophisticated and costly approach to data
management.
2. DBMS (Database Management System)
 Described a new system for storing and working
with large databases.
DATA STORAGE
6
7
 A collection of application programs that perform
services for the end-users such as the production of
reports.
 Each program defines and manages its own data.
File-based System
7
8
Advantage of File-oriented system:
1. Backup:
 It is possible to take faster and automatic back-up of database
stored in files of computer-based systems.
 computer systems provide functionalities to serve this purpose.it is
also possible to develop specific application program for this
purpose.
2. Compactness:
 It is possible to store data compactly.
3. Data Retrieval:
 Computer-based systems provide enhanced data retrieval
techniques to retrieve data stored in files in easy and efficient way.
File-based System
8
9
Advantage of File-oriented system:
4. Editing:
 It is easy to edit any information stored in computers in form of
files.
 Specific application programs or editing software can be used for
this purpose.
5. Remote Access:
 In computer-based systems, it is possible to access data remotely.
 To access data it is not necessary for a user to remain present at
location where these data are kept.
6. Sharing:
 Data stored in files of computer-based systems ca be shared
among multiple users at a same time.
File-based System
9
10
1. Data Redundancy:
 It is possible that the same information may be duplicated in different files.
This leads to data redundancy results in memory wastage.
2. Data Inconsistency:
 Because of data redundancy, it is possible that data may not be in consistent
state.
3. Difficulty in Accessing Data:
 Accessing data is not convenient and efficient in file processing system.
4. Limited Data Sharing:
 Data are scattered in various files. Also different files may have different
formats and these files may be stored in different folders may be of different
departments.
 So, due to this data isolation, it is difficult to share data among different
Disadvantage of File-oriented
system:
File-based System
10
11
5. Integrity Problems:
 Data integrity means that the data contained in the database in both correct and
consistent. For this purpose the data stored in database must satisfy correct and
constraints.
6. Atomicity Problems:
 Any operation on database must be atomic. This means, it must happen in
its entirely or not at all.
7. Concurrent Access Anomalies:
 Multiple users are allowed to access data simultaneously. This is for the sake of
better performance and faster response.
8. Security Problems:
 Database should be accessible to users in limited way.
 Each user should be allowed to access data concerning his requirements only.
Disadvantage of File-oriented
system:
File-based System
11
DBMS database management
software.
DBMS
 A database management system (DBMS) is a software
package designed to define, manipulate, retrieve and manage
data in a database.
 A DBMS generally manipulates the data itself, the data format,
field names, record structure and file structure. It also defines
rules to validate and manipulate this data.
 A DBMS relieves users of framing programs for data
maintenance.
 Fourth-generation query languages, such as SQL, are used
along with the DBMS package to interact with a database.
12
13
Difference between file-based system and database
system?
 A database management system is designed to coordinate multiple
users accessing the same data at the same time. A file-
processing system is usually designed to allow one or more programs
to access different data files at the same time.
 A database management system coordinates both the physical and the
logical access to the data, whereas a file-processing system
coordinates only the physical access.
 A database management system is designed to allow flexible access to
data (i.e. queries), whereas a file-processing system is designed to
allow predetermined access to data (i.e. compiled programs).
 Unauthorized access is restricted in DBMS but not in the file system.
13
14
Difference between file-based system and database
system?
 Unauthorized access is restricted in DBMS but not in the file
system.
 DBMS provide back up and recovery whereas data lost in
file system can't be recovered.
 DBMS provide multiple user interfaces. Data is isolated in
file system.
 A database management system is designed to coordinate
multiple users accessing the same data at the same time. A
file-processing system is usually designed to allow one or
more programs to access different data files at the same
time.
14
Fundamental Concepts
16
What is a Database? (Definition)
 A database is an organized collection of data
 A database is a shared collection of related data used
to support the activities of a particular organization.
 A database can be viewed as a repository of data that is
defined once and then accessed by various users.
 A structured set of data held in a computer, especially
one that is accessible in various ways.
 A database is a collection of information that is
organized so that it can be easily accessed,
managed and updated.
Database
16
Database
The Characteristics of Databases
 The purpose of a database is to help people track
things of interest to them.
 Data is stored in tables, which have rows and
columns like a spreadsheet.
 A database may have multiple tables, where each
table stores data about a different thing.
 Each row in a table stores data about an occurrence
or instance of the thing of interest.
 A database stores data and relationships.
19
Database Structure (Relational Model)
 The relational model invented by Edgar F. Codd, of IBM's San
Jose Research Laboratory.
 This model organizes data into one or more tables (or
"relations") of columns and rows, with a unique key identifying
each row.
 Generally, each table/relation represents one "entity type"
(such as customer or product).
 The rows represent instances of
that type of entity (such as "Lee“
or "chair") and the columns
representing values attributed to that
instance (such as address or price).
Database Structure
19
20
Database Structure (Relational)
 Data is organized into rows, columns, and tables, and it
is indexed to make it easier to find relevant information.
Database Structure
20
21
 ROW—also called a record or tuple—
represents a single, implicitly structured data
item in a table.
 Each row in a table represents a set of related
data, and every row in the table has the same
structure.
Database Structure
21
ROW
S
22
 Column's — equivalent is called attribute.
 In relational database, a column is a set of data values of a
particular simple type, one for each row of the table.
 The columns in relational database provide the structure
according to how the rows are composed.
 When a column allows data values of a single type, it does
not essentially mean it only has simple text values. Also,
databases mostly let columns to have more complex data
for example whole documents, images or even video clips
also called a record or tuple represents a single, implicitly
structured data item in a table.
Database Structure
22
COLUMN
S
23
For example, a table that represents companies might have the following
columns:
 ID (integer identifier, unique to each row)
 Name (text)
 Address line 1 (text)
 Address line 2 (text)
 City (integer identifier, drawn from a separate table of cities from which any
information would be drawn)
 State (integer identifier, drawn from a separate table from which any state
information would be drawn)
 Postal code (text)
 Industry (integer identifier, drawn from a separate table of industries)
Database Structure
23
COLUMNS
EXAMPLE
24
Database Structure
24
Relational DB
COLUMNS
(Fields)
ROWS
(Records)
TABLE
25
 Indexing is a way of sorting a number of records on
multiple fields.
 Creating an index on a field in a table creates another
data structure which holds the field value, and pointer
to the record it relates to.
 This index structure is then sorted, allowing Binary
Searches to be performed on it.
 The downside to indexing is that these indexes
require additional space on the disk
Database Structure
25
Indexin
g
26
 A database index is a data structure that improves the
speed of data retrieval operations on a database table
at the cost of additional writes and storage space to
maintain the index data structure.
 Indexes are used to quickly locate data without having
to search every row in a database table every time a
database table is accessed.
Database Structure
26
Indexin
g
27
 Let’s say that you have an index for a primary key. This will create an
ordered list of primary key values in a separate table, each entry has
a pointer points to the relative value in the original table.
 So, whenever you want to access a table using the primary key, it
will use binary search algorithm to access the required value in the
Index table, and then, go to the relative value in the original table.
Database Structure
27
How Indexes
Work?
28
Database Structure
28
How Indexes
Work?
 And, definitely, you can create
another index on another
column, even if it’s a non-
primary column, like first name,
assuming that you usually
access the table using that
column.
 The decision for choosing
another column (besides the
primary key) to be indexed can
be delayed until the database
has been used for a while.
The Components of a Database System
 Applications are the computer programs that
users work with.
 The Database Management System
(DBMS) creates, processes, and administers
databases.
 Structured Query Language (SQL) is an
internationally recognized standard database
language that is used by all commercial
DBMSs.
METADATA
Metadata is "data that provides information about other data". In other words, it
is "data about data". Many distinct types of metadata exist, including descriptive
metadata, structural metadata, administrative metadata, reference
metadata, statistical metadata, and legal metadata.
• Descriptive metadata is descriptive information about a resource. It is used for
discovery and identification. It includes elements such as title, abstract, author,
and keywords.
• Structural metadata is metadata about containers of data and indicates how
compound objects are put together, for example, how pages are ordered to
form chapters. It describes the types, versions, relationships, and other
characteristics of digital materials.
• Administrative metadata is information to help manage a resource, like a
resource type, permissions, and when and how it was created
• Reference metadata is information about the contents and quality of statistical
data.
• Statistical metadata, also called process data, may describe processes that
collect, process or produce statistical data.
Typical Metadata Tables (1 of 2)
Typical Metadata Tables (2 of 2)
Typical Metadata Tables
Copyright

Mais conteúdo relacionado

Mais procurados (20)

Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
database
databasedatabase
database
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Database systems
Database systemsDatabase systems
Database systems
 
Data Warehouse Architectures
Data Warehouse ArchitecturesData Warehouse Architectures
Data Warehouse Architectures
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
Slide 4 dbms users
Slide 4 dbms usersSlide 4 dbms users
Slide 4 dbms users
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Types of databases
Types of databasesTypes of databases
Types of databases
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Database management system
Database management systemDatabase management system
Database management system
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Parallel Database
Parallel DatabaseParallel Database
Parallel Database
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Rdbms
RdbmsRdbms
Rdbms
 
Database
DatabaseDatabase
Database
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 

Semelhante a Week 1 Before the Advent of Database Systems & Fundamental Concepts

Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfMrjJoker1
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Bahria University Islamabad, Pakistan
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdfBahria University Islamabad, Pakistan
 
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...Bahria University Islamabad, Pakistan
 

Semelhante a Week 1 Before the Advent of Database Systems & Fundamental Concepts (20)

Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Database systems Handbook 2V.pdf
Database systems Handbook 2V.pdfDatabase systems Handbook 2V.pdf
Database systems Handbook 2V.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database systems Handbook dbms.pdf
Database systems Handbook dbms.pdfDatabase systems Handbook dbms.pdf
Database systems Handbook dbms.pdf
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Database systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdfDatabase systems Handbook by Muhammad Sharif.pdf
Database systems Handbook by Muhammad Sharif.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Database systems Handbook.pdf
Database systems Handbook.pdfDatabase systems Handbook.pdf
Database systems Handbook.pdf
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdfFull book Database system Handbook 3rd edition by Muhammad Sharif.pdf
Full book Database system Handbook 3rd edition by Muhammad Sharif.pdf
 
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
Complete book Database management systems Handbook 3rd edition by Muhammad Sh...
 
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
4rth Complete book Database systems Handbook dbms rdbms by Muhammad Sharif.pdf
 
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
DBA book sql rdbms 4rth Complete book Database systems Handbook dbms rdbms by...
 
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdfDatabase system Handbook 3rd DONE Complete DBMS book Full book.pdf
Database system Handbook 3rd DONE Complete DBMS book Full book.pdf
 

Mais de oudesign

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechoudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowoudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchainoudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policyoudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspaceoudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Roboticsoudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Designoudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computingoudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSoudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginningoudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Divisionoudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Processoudesign
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalizationoudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Modeloudesign
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modelingoudesign
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Modelsoudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directionsoudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychologyoudesign
 

Mais de oudesign (20)

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalization
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Week 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data ModelsWeek 2 Characteristics & Benefits of a Database & Types of Data Models
Week 2 Characteristics & Benefits of a Database & Types of Data Models
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
 

Último

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Último (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Week 1 Before the Advent of Database Systems & Fundamental Concepts

  • 1. ITS 20163 INTRODUCTION TO DATABASES  Basic knowledge of how to collect, organize, and analyze data. The course will cover the introduction concepts of querying, updating, and administration of databases. Other topics include normalization, table structures, table relationships, and data integrity.
  • 2. ITS 20163 INTRODUCTION TO DATABASES
  • 3. Before the Advent of Database Systems
  • 4. 4 Da-ta / noun (Definition)  facts and statistics collected together for reference or analysis.  the quantities, characters, or symbols on which operations are performed by a computer, being stored and transmitted in the form of electrical signals and recorded on magnetic, optical, or mechanical recording media. Data / meaning  Data are factual information such as measurements or statistics about objects and concepts.  We use data for discussions or as part of a calculation.  Data can be a person, a place, an event, an action or any one of a number of things. A single fact is an element of data, or a data element. DATA 4
  • 5. The Database  A database is a self-describing collection of integrated tables.  The tables are called integrated because they store data about the relationships between rows of data.  A database is called self-describing because it stores a description of itself.  The self-describing data is called metadata, which is data about data. The DATABASE
  • 6. 6 1. File-based System  Time ago computers relied on a much less sophisticated and costly approach to data management. 2. DBMS (Database Management System)  Described a new system for storing and working with large databases. DATA STORAGE 6
  • 7. 7  A collection of application programs that perform services for the end-users such as the production of reports.  Each program defines and manages its own data. File-based System 7
  • 8. 8 Advantage of File-oriented system: 1. Backup:  It is possible to take faster and automatic back-up of database stored in files of computer-based systems.  computer systems provide functionalities to serve this purpose.it is also possible to develop specific application program for this purpose. 2. Compactness:  It is possible to store data compactly. 3. Data Retrieval:  Computer-based systems provide enhanced data retrieval techniques to retrieve data stored in files in easy and efficient way. File-based System 8
  • 9. 9 Advantage of File-oriented system: 4. Editing:  It is easy to edit any information stored in computers in form of files.  Specific application programs or editing software can be used for this purpose. 5. Remote Access:  In computer-based systems, it is possible to access data remotely.  To access data it is not necessary for a user to remain present at location where these data are kept. 6. Sharing:  Data stored in files of computer-based systems ca be shared among multiple users at a same time. File-based System 9
  • 10. 10 1. Data Redundancy:  It is possible that the same information may be duplicated in different files. This leads to data redundancy results in memory wastage. 2. Data Inconsistency:  Because of data redundancy, it is possible that data may not be in consistent state. 3. Difficulty in Accessing Data:  Accessing data is not convenient and efficient in file processing system. 4. Limited Data Sharing:  Data are scattered in various files. Also different files may have different formats and these files may be stored in different folders may be of different departments.  So, due to this data isolation, it is difficult to share data among different Disadvantage of File-oriented system: File-based System 10
  • 11. 11 5. Integrity Problems:  Data integrity means that the data contained in the database in both correct and consistent. For this purpose the data stored in database must satisfy correct and constraints. 6. Atomicity Problems:  Any operation on database must be atomic. This means, it must happen in its entirely or not at all. 7. Concurrent Access Anomalies:  Multiple users are allowed to access data simultaneously. This is for the sake of better performance and faster response. 8. Security Problems:  Database should be accessible to users in limited way.  Each user should be allowed to access data concerning his requirements only. Disadvantage of File-oriented system: File-based System 11
  • 12. DBMS database management software. DBMS  A database management system (DBMS) is a software package designed to define, manipulate, retrieve and manage data in a database.  A DBMS generally manipulates the data itself, the data format, field names, record structure and file structure. It also defines rules to validate and manipulate this data.  A DBMS relieves users of framing programs for data maintenance.  Fourth-generation query languages, such as SQL, are used along with the DBMS package to interact with a database. 12
  • 13. 13 Difference between file-based system and database system?  A database management system is designed to coordinate multiple users accessing the same data at the same time. A file- processing system is usually designed to allow one or more programs to access different data files at the same time.  A database management system coordinates both the physical and the logical access to the data, whereas a file-processing system coordinates only the physical access.  A database management system is designed to allow flexible access to data (i.e. queries), whereas a file-processing system is designed to allow predetermined access to data (i.e. compiled programs).  Unauthorized access is restricted in DBMS but not in the file system. 13
  • 14. 14 Difference between file-based system and database system?  Unauthorized access is restricted in DBMS but not in the file system.  DBMS provide back up and recovery whereas data lost in file system can't be recovered.  DBMS provide multiple user interfaces. Data is isolated in file system.  A database management system is designed to coordinate multiple users accessing the same data at the same time. A file-processing system is usually designed to allow one or more programs to access different data files at the same time. 14
  • 16. 16 What is a Database? (Definition)  A database is an organized collection of data  A database is a shared collection of related data used to support the activities of a particular organization.  A database can be viewed as a repository of data that is defined once and then accessed by various users.  A structured set of data held in a computer, especially one that is accessible in various ways.  A database is a collection of information that is organized so that it can be easily accessed, managed and updated. Database 16
  • 18. The Characteristics of Databases  The purpose of a database is to help people track things of interest to them.  Data is stored in tables, which have rows and columns like a spreadsheet.  A database may have multiple tables, where each table stores data about a different thing.  Each row in a table stores data about an occurrence or instance of the thing of interest.  A database stores data and relationships.
  • 19. 19 Database Structure (Relational Model)  The relational model invented by Edgar F. Codd, of IBM's San Jose Research Laboratory.  This model organizes data into one or more tables (or "relations") of columns and rows, with a unique key identifying each row.  Generally, each table/relation represents one "entity type" (such as customer or product).  The rows represent instances of that type of entity (such as "Lee“ or "chair") and the columns representing values attributed to that instance (such as address or price). Database Structure 19
  • 20. 20 Database Structure (Relational)  Data is organized into rows, columns, and tables, and it is indexed to make it easier to find relevant information. Database Structure 20
  • 21. 21  ROW—also called a record or tuple— represents a single, implicitly structured data item in a table.  Each row in a table represents a set of related data, and every row in the table has the same structure. Database Structure 21 ROW S
  • 22. 22  Column's — equivalent is called attribute.  In relational database, a column is a set of data values of a particular simple type, one for each row of the table.  The columns in relational database provide the structure according to how the rows are composed.  When a column allows data values of a single type, it does not essentially mean it only has simple text values. Also, databases mostly let columns to have more complex data for example whole documents, images or even video clips also called a record or tuple represents a single, implicitly structured data item in a table. Database Structure 22 COLUMN S
  • 23. 23 For example, a table that represents companies might have the following columns:  ID (integer identifier, unique to each row)  Name (text)  Address line 1 (text)  Address line 2 (text)  City (integer identifier, drawn from a separate table of cities from which any information would be drawn)  State (integer identifier, drawn from a separate table from which any state information would be drawn)  Postal code (text)  Industry (integer identifier, drawn from a separate table of industries) Database Structure 23 COLUMNS EXAMPLE
  • 25. 25  Indexing is a way of sorting a number of records on multiple fields.  Creating an index on a field in a table creates another data structure which holds the field value, and pointer to the record it relates to.  This index structure is then sorted, allowing Binary Searches to be performed on it.  The downside to indexing is that these indexes require additional space on the disk Database Structure 25 Indexin g
  • 26. 26  A database index is a data structure that improves the speed of data retrieval operations on a database table at the cost of additional writes and storage space to maintain the index data structure.  Indexes are used to quickly locate data without having to search every row in a database table every time a database table is accessed. Database Structure 26 Indexin g
  • 27. 27  Let’s say that you have an index for a primary key. This will create an ordered list of primary key values in a separate table, each entry has a pointer points to the relative value in the original table.  So, whenever you want to access a table using the primary key, it will use binary search algorithm to access the required value in the Index table, and then, go to the relative value in the original table. Database Structure 27 How Indexes Work?
  • 28. 28 Database Structure 28 How Indexes Work?  And, definitely, you can create another index on another column, even if it’s a non- primary column, like first name, assuming that you usually access the table using that column.  The decision for choosing another column (besides the primary key) to be indexed can be delayed until the database has been used for a while.
  • 29. The Components of a Database System  Applications are the computer programs that users work with.  The Database Management System (DBMS) creates, processes, and administers databases.  Structured Query Language (SQL) is an internationally recognized standard database language that is used by all commercial DBMSs.
  • 30. METADATA Metadata is "data that provides information about other data". In other words, it is "data about data". Many distinct types of metadata exist, including descriptive metadata, structural metadata, administrative metadata, reference metadata, statistical metadata, and legal metadata. • Descriptive metadata is descriptive information about a resource. It is used for discovery and identification. It includes elements such as title, abstract, author, and keywords. • Structural metadata is metadata about containers of data and indicates how compound objects are put together, for example, how pages are ordered to form chapters. It describes the types, versions, relationships, and other characteristics of digital materials. • Administrative metadata is information to help manage a resource, like a resource type, permissions, and when and how it was created • Reference metadata is information about the contents and quality of statistical data. • Statistical metadata, also called process data, may describe processes that collect, process or produce statistical data.