SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Performance Evaluation of Different Data Mining Classification Algorithm and ...
Performance Evaluation of Different Data Mining Classification Algorithm and ...Performance Evaluation of Different Data Mining Classification Algorithm and ...
Performance Evaluation of Different Data Mining Classification Algorithm and ...IOSR Journals
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbmsRituBhargava7
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recoveryAnne Lee
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMSkoolkampus
 
Query optimization in SQL
Query optimization in SQLQuery optimization in SQL
Query optimization in SQLAbdul Rehman
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationJafar Nesargi
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access pptanuj
 
Database management system
Database management systemDatabase management system
Database management systemAmit Sarkar
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sqlzahid6
 
Query optimization
Query optimizationQuery optimization
Query optimizationNeha Behl
 
Database recovery techniques
Database recovery techniquesDatabase recovery techniques
Database recovery techniquespusp220
 
Database recovery
Database recoveryDatabase recovery
Database recoveryStudent
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsZulfiquer Ahmed Amin
 
Intro to Distributed Database Management System
Intro to Distributed Database Management SystemIntro to Distributed Database Management System
Intro to Distributed Database Management SystemAli Raza
 

What's hot (20)

Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Advanced Database System
Advanced Database SystemAdvanced Database System
Advanced Database System
 
Performance Evaluation of Different Data Mining Classification Algorithm and ...
Performance Evaluation of Different Data Mining Classification Algorithm and ...Performance Evaluation of Different Data Mining Classification Algorithm and ...
Performance Evaluation of Different Data Mining Classification Algorithm and ...
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Database backup and recovery
Database backup and recoveryDatabase backup and recovery
Database backup and recovery
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMS
 
Query optimization in SQL
Query optimization in SQLQuery optimization in SQL
Query optimization in SQL
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organization
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 
Advanced sql
Advanced sqlAdvanced sql
Advanced sql
 
Database management system
Database management systemDatabase management system
Database management system
 
Introduction to database & sql
Introduction to database & sqlIntroduction to database & sql
Introduction to database & sql
 
Query optimization
Query optimizationQuery optimization
Query optimization
 
DbMs
DbMsDbMs
DbMs
 
Database recovery techniques
Database recovery techniquesDatabase recovery techniques
Database recovery techniques
 
Database recovery
Database recoveryDatabase recovery
Database recovery
 
Database and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health InformaticsDatabase and Database Management (DBM): Health Informatics
Database and Database Management (DBM): Health Informatics
 
Intro to Distributed Database Management System
Intro to Distributed Database Management SystemIntro to Distributed Database Management System
Intro to Distributed Database Management System
 

Similar to 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
 

Similar to 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
 

More from 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
 

More from 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
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

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.