SlideShare a Scribd company logo
Database Management
System
Hello!
Abishek
DBA Practice
Oracle DB SME
Email : abishek.vidyashanker@in.unisys.com
More about me12 years of Oracle DBA experience
Various Industry verticals
Retail, Insurance, Freight and Logistics
Interests: Linux, Perl, Python, C
Likes: Music, Food, Travel, …
Database Systems
CONCEPTS
Database Fundamentals
+ What is a Database Management System
+ Database Concepts
+ Popular Database Softwares
+ Database Applications
+ Working with Databases
+ Job roles and duties of Database Professionals
What is a Database
A Database Management System
Or just a database is a collection of
software programmes for
managing data,
It helps to STORE, RETRIEVE, and
MANIPULATE data in an efficient
manner.
Database Concepts
Database Model
A database model is a
type of data model
that defines the logical
structure of a
database and
determines in which
manner data can be
stored, organized, and
manipulated.
By Marcel Douwe Dekker - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=5679857
Database Concepts
The Relational model
Proposed by Edgar F. Codd in 1970 broke of
from the tradition of hierarchical model
and insisted that applications should
search for data by content, rather than
following links. The relational model
employs sets of ledger-style tables, each
used for a different type of entity.
By mid-1980s relational systems (DBMSs
plus applications) became popular owing
to the advent of better computer
hardware. (Source : Wikipedia)
By U.S. Department of Transportationvectorization: Own work - Data Integration Glossary., Public Domain, https://commons.wikimedia.org/w/index.php?curid=17875170
Database Concepts
Tables / Relations
A table is an accepted
visual representation
of a relation; a tuple is
similar to the concept
of a row. It is a set of
column definitions
along with the data
appearing in that
structure.
Columns /Attributes
Attribute is the term
used in the theory for
what is commonly
referred to as
a column.
Rows / Tuples
A row is a collection of
column values in a
specific order which
has a one to one
mapping with the
attribute name.
Database Concepts
Constraints
Constraints enforce
consistency of data in a
relational database.
Rules that govern data
stored in tables.
Rules to define
relationships between two
tables.
Primary Key, Foreign Key,
Not Null, Check, Unique.
Transaction
A transaction can be
defined as a group of
tasks. A single task is
the minimum
processing unit which
cannot be divided
further.
Transaction is
completed with a
Commit/Rollback
ACID Properties of
Transactions
Atomicity − This property states
that a transaction must be treated
as an atomic unit, that is, either all
of its operations are executed or
none.
Consistency − The database must
remain in a consistent state after
any transaction.
Durability − The database should be
durable enough to hold all its latest
updates even if the system fails or
restarts.
Isolation − In a multi transactional
database system, No transaction
will affect the existence of any other
transaction.
Popular Databases
Database Applications
Various Industry Verticals
+ Manufacturing
+ Banking
+ Transportation
+ Defence
+ Academia
+ E-Commerce
+ Social Media
Database Applications
Different Types of Applications
OLTP
ERP Systems
Datawarehouse Systems
Data Mining Applications
Database Application Platform
Working with databases
SQL (Structured Query
Language)
Declarative, Non-
Programming Language used
to Interact with the database.
Allows to CREATE, ALTER and
DROP Data objects i.e. Tables
and one can SELECT, INSERT,
UPDATE and DELETE data
from tables using SQL.
SQL Users
+ Database Application
Developers
+ Database Administrators
+ Data Analysts
Working with databases
SQL Basics
SQL Statements fall under the
following categories
+ DDL (Data Definition
Language)
+ DML (Data Manipulation
Language)
+ SELECT (query data from
one or more tables)
+ DCL (Data Control
Language)
+ TCL (Transaction Control
Language)
SQL Examples
create table emp(
empno number(4,0),
ename varchar2(10),
job varchar2(9),
mgr number(4,0),
hiredate date,
sal number(7,2),
comm number(7,2),
deptno number(2,0),
constraint pk_emp primary key (empno),
constraint fk_deptno foreign key (deptno) references dept (deptno)
);
insert into emp values( 7839, 'KING', 'PRESIDENT',
null, to_date('17-11-1981','dd-mm-yyyy'), 5000, null, 10);
SELECT EMP.*,DNAME,LOC FROM Emp, Dept WHERE Dname IN
('ACCOUNTING','RESEARCH') AND EMP.DEPTNO = DEPT.DEPTNO
ORDER BY EMP.DEPTNO
Working with databases
Programmability
Most popular databases have
a feature called STORED
PROCEDURES which are
program units that can be
created and stored within the
database
Helps to store business
specific logic within the
database which improves
performance
Job roles and duties of Database Professionals
Developers
• Responsible for creating and
managing application, Write code for
creating and managing frontent UI
• Write code for creating and
managing backend or business logic
• Design relational and logical design
of database and Perform
Normalization of tables
DBA
• Responsible for creating and
managing databases
• Take care of data security
• Support DB users when there is a
database problem
• Responsible for Managing DR and HA
Data Analysts
• Work on BI tools
• Create Business reports
• Perform trend analysis
Architectural Components
Generic Database Architecture RDBMS System
Database Client Components
Database Client Drivers
+ Programmable APIs
written in a 3GL
+ Enables client applications
to connect and Interact
with RDBMS systems
independent of the RDBMS
implementation.
+ Eg : ODBC, JDBC, ADO.net
etc
Database Native Tools
+ Tools provided by the
RDBMS vendor to connect
and interact with the
RDBMS System
+ Vendor Specific
implementation/APIs
+ Provides more features
Database Server Components
DBMS Engine
+ Manage user
connections/sessions
+ Manage File I/O
+ Ensure data recoverability
and Consistency
Query Processor
+ Parse and Execute SQL
+ Ensure Read Consistency of
SELECT queries
+ Return Rows to users in the
case of SELECTs
+ Invoke transaction
processor for DMLsTransaction Processor
+ Begin and End Transactions
+ Manage ACID properties for the transaction
+ Assist query processor to maintain read
consistency
Database Server Components
Data Dictionary
+ Metadata repository
+ Set of tables which store
data about the DB objects
Job Scheduler
+ Manage database jobs
+ Monitor Job execution
+ Log job execution status
Query Optimizer
+ Prepare Execution plans for SQL
+ Optimizes Execution plan for better
performance.
Database Server Internal Architecture
SQL Server Internal
Architecture
Database Server Internal Architecture
Oracle Server Internal
Architecture
Database Server Internal Architecture
Database Storage Logical Architecture
Database Server Infrastructure
Server (Hardware)
+ CPU
+ Memory
Storage
+ SAN
+ NAS
Network
+ Ethernet switch
+ Firewall
Peripheral Devices
+ Backup devices (Tapes)
+ Printers
Database in the Cloud : DBaaS
Infrastructure
+ Server, OS, Storage
Platform
+ Database, Web Server, Middle Tier
Software (SaaS)
+ Web services, ERP, Productivity Tools
Database in the Cloud : DBaaS
Advantages
+ Cost Savings (Pay per use
model)
+ Need Based Provisioning
+ Reduce Investments,
Increase Returns
+ Lower operating costs
+ Standardization
Database in the Cloud : DBaaS
Technical Features
+ Consolidation Platform
+ Virtualization
+ Multi Tenancy
+ Provider Managed High
Availability and Disaster
Recovery
Database Features
+ Table and Index Partitions
+ Geo Spatial Data
+ Full Text Search
+ Database Replication
+ Database High Availability
+ Disaster Recovery
Database Features
Database Features
Table and Index Partitions
Database Features
Geo Spatial Data
Database Features
Full Text Search
Database Features
Database Replication
Database Features
Database High Availability
Database Features
Disaster Recovery
Thanks!
Any questions?
Credits
Special thanks to all the people who made and
released these awesome resources for free:
+ Presentation template by SlidesCarnival
+ Photographs by Unsplash
Ad

More Related Content

What's hot (19)

Database
DatabaseDatabase
Database
Nuqra Rabbani
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
anuragmbst
 
Db2 characteristics of db ms
Db2 characteristics of db msDb2 characteristics of db ms
Db2 characteristics of db ms
MLG College of Learning, Inc
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
RIAH ENCARNACION
 
Database concepts
Database conceptsDatabase concepts
Database concepts
Harry Potter
 
What is difference between dbms and rdbms
What is difference between dbms and rdbmsWhat is difference between dbms and rdbms
What is difference between dbms and rdbms
Afrasiyab Haider
 
03 Object Dbms Technology
03 Object Dbms Technology03 Object Dbms Technology
03 Object Dbms Technology
Laguna State Polytechnic University
 
Good PPT for RDBMS starter
Good PPT for RDBMS starter Good PPT for RDBMS starter
Good PPT for RDBMS starter
HCL Technologies
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
Ketan Chaoji
 
Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbms
Jitendra Thakur
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
RDBMS.
RDBMS.RDBMS.
RDBMS.
UniSoftCorner Pvt Ltd India.
 
Introduction to Databases
Introduction to DatabasesIntroduction to Databases
Introduction to Databases
Megha Sharma
 
Introduction To DBMS
Introduction To DBMSIntroduction To DBMS
Introduction To DBMS
rafat_mentor
 
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtapADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
ADVANCE DATABASE MANAGEMENT SYSTEM CONCEPTS & ARCHITECTURE by vikas jagtap
Vikas Jagtap
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
arnold 7490
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
BHARATH KUMAR
 
Relational database revised
Relational database revisedRelational database revised
Relational database revised
mnodalo
 

Viewers also liked (9)

Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
Abishek V S
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
Chien Chung Shen
 
ORACLE: Database management system student
ORACLE: Database management system studentORACLE: Database management system student
ORACLE: Database management system student
jomerson remorosa
 
Ad hoc Networks
Ad hoc NetworksAd hoc Networks
Ad hoc Networks
Darpan Dekivadiya
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
Kernel Training
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
Bilal Arshad
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
honglee71
 
Oracle Sql Tuning
Oracle Sql TuningOracle Sql Tuning
Oracle Sql Tuning
Chris Adkin
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
Abishek V S
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
Chien Chung Shen
 
ORACLE: Database management system student
ORACLE: Database management system studentORACLE: Database management system student
ORACLE: Database management system student
jomerson remorosa
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
Kernel Training
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
Guy Harrison
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
Bilal Arshad
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
honglee71
 
Oracle Sql Tuning
Oracle Sql TuningOracle Sql Tuning
Oracle Sql Tuning
Chris Adkin
 
Ad

Similar to Database Management System (20)

notes
notesnotes
notes
myonlineworld
 
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Best Practices for Building and Deploying Data Pipelines in Apache SparkBest Practices for Building and Deploying Data Pipelines in Apache Spark
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Databricks
 
Pandas vs. SQL – Tools that Data Scientists use most often.pdf
Pandas vs. SQL – Tools that Data Scientists use most often.pdfPandas vs. SQL – Tools that Data Scientists use most often.pdf
Pandas vs. SQL – Tools that Data Scientists use most often.pdf
Data Science Council of America
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
Deepali Raut
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in Cloud
Dr. Amarjeet Singh
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
TIB Academy
 
IBM Pure Data System for Analytics (Netezza)
IBM Pure Data System for Analytics (Netezza)IBM Pure Data System for Analytics (Netezza)
IBM Pure Data System for Analytics (Netezza)
Girish Srivastava
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
Sushant Choudhary
 
Sql
SqlSql
Sql
snegacmr
 
MySQL Document Store for Modern Applications
MySQL Document Store for Modern ApplicationsMySQL Document Store for Modern Applications
MySQL Document Store for Modern Applications
Olivier DASINI
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
puja_dhar
 
Introduction to asdfghjkln b vfgh n v
Introduction to asdfghjkln b vfgh n    vIntroduction to asdfghjkln b vfgh n    v
Introduction to asdfghjkln b vfgh n v
23mz02
 
Evolution of the DBA to Data Platform Administrator/Specialist
Evolution of the DBA to Data Platform Administrator/SpecialistEvolution of the DBA to Data Platform Administrator/Specialist
Evolution of the DBA to Data Platform Administrator/Specialist
Tony Rogerson
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructure
projectandppt
 
Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27
Martin Bém
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data Management
Cloudbells.com
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
Girish. N. Raghavan
 
Microsoft Fabric data warehouse by dataplatr
Microsoft Fabric data warehouse by dataplatrMicrosoft Fabric data warehouse by dataplatr
Microsoft Fabric data warehouse by dataplatr
ajaykumar405166
 
MySQL 8.0 Featured for Developers
MySQL 8.0 Featured for DevelopersMySQL 8.0 Featured for Developers
MySQL 8.0 Featured for Developers
Dave Stokes
 
Satheesh Oracle DBA Resume
Satheesh Oracle DBA ResumeSatheesh Oracle DBA Resume
Satheesh Oracle DBA Resume
raghu Idrilservices
 
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Best Practices for Building and Deploying Data Pipelines in Apache SparkBest Practices for Building and Deploying Data Pipelines in Apache Spark
Best Practices for Building and Deploying Data Pipelines in Apache Spark
Databricks
 
Pandas vs. SQL – Tools that Data Scientists use most often.pdf
Pandas vs. SQL – Tools that Data Scientists use most often.pdfPandas vs. SQL – Tools that Data Scientists use most often.pdf
Pandas vs. SQL – Tools that Data Scientists use most often.pdf
Data Science Council of America
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
Deepali Raut
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in Cloud
Dr. Amarjeet Singh
 
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangaloreOracle DBA Tutorial for Beginners -Oracle training institute in bangalore
Oracle DBA Tutorial for Beginners -Oracle training institute in bangalore
TIB Academy
 
IBM Pure Data System for Analytics (Netezza)
IBM Pure Data System for Analytics (Netezza)IBM Pure Data System for Analytics (Netezza)
IBM Pure Data System for Analytics (Netezza)
Girish Srivastava
 
MySQL Document Store for Modern Applications
MySQL Document Store for Modern ApplicationsMySQL Document Store for Modern Applications
MySQL Document Store for Modern Applications
Olivier DASINI
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
puja_dhar
 
Introduction to asdfghjkln b vfgh n v
Introduction to asdfghjkln b vfgh n    vIntroduction to asdfghjkln b vfgh n    v
Introduction to asdfghjkln b vfgh n v
23mz02
 
Evolution of the DBA to Data Platform Administrator/Specialist
Evolution of the DBA to Data Platform Administrator/SpecialistEvolution of the DBA to Data Platform Administrator/Specialist
Evolution of the DBA to Data Platform Administrator/Specialist
Tony Rogerson
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructure
projectandppt
 
Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27Prague data management meetup 2018-03-27
Prague data management meetup 2018-03-27
Martin Bém
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data Management
Cloudbells.com
 
Microsoft Fabric data warehouse by dataplatr
Microsoft Fabric data warehouse by dataplatrMicrosoft Fabric data warehouse by dataplatr
Microsoft Fabric data warehouse by dataplatr
ajaykumar405166
 
MySQL 8.0 Featured for Developers
MySQL 8.0 Featured for DevelopersMySQL 8.0 Featured for Developers
MySQL 8.0 Featured for Developers
Dave Stokes
 
Ad

Recently uploaded (20)

How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
LLM finetuning for multiple choice google bert
LLM finetuning for multiple choice google bertLLM finetuning for multiple choice google bert
LLM finetuning for multiple choice google bert
ChadapornK
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptxPerencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
PareaRusan
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 
03 Daniel 2-notes.ppt seminario escatologia
03 Daniel 2-notes.ppt seminario escatologia03 Daniel 2-notes.ppt seminario escatologia
03 Daniel 2-notes.ppt seminario escatologia
Alexander Romero Arosquipa
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
Molecular methods diagnostic and monitoring of infection  -  Repaired.pptxMolecular methods diagnostic and monitoring of infection  -  Repaired.pptx
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
7tzn7x5kky
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
VKS-Python Basics for Beginners and advance.pptx
VKS-Python Basics for Beginners and advance.pptxVKS-Python Basics for Beginners and advance.pptx
VKS-Python Basics for Beginners and advance.pptx
Vinod Srivastava
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Cleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdfCleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdf
alcinialbob1234
 
Medical Dataset including visualizations
Medical Dataset including visualizationsMedical Dataset including visualizations
Medical Dataset including visualizations
vishrut8750588758
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
gmuir1066
 
How iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost FundsHow iCode cybertech Helped Me Recover My Lost Funds
How iCode cybertech Helped Me Recover My Lost Funds
ireneschmid345
 
LLM finetuning for multiple choice google bert
LLM finetuning for multiple choice google bertLLM finetuning for multiple choice google bert
LLM finetuning for multiple choice google bert
ChadapornK
 
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbbEDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
EDU533 DEMO.pptxccccvbnjjkoo jhgggggbbbb
JessaMaeEvangelista2
 
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptxPerencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
Perencanaan Pengendalian-Proyek-Konstruksi-MS-PROJECT.pptx
PareaRusan
 
VKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptxVKS-Python-FIe Handling text CSV Binary.pptx
VKS-Python-FIe Handling text CSV Binary.pptx
Vinod Srivastava
 
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdfIAS-slides2-ia-aaaaaaaaaaain-business.pdf
IAS-slides2-ia-aaaaaaaaaaain-business.pdf
mcgardenlevi9
 
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptxmd-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
md-presentHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHation.pptx
fatimalazaar2004
 
computer organization and assembly language.docx
computer organization and assembly language.docxcomputer organization and assembly language.docx
computer organization and assembly language.docx
alisoftwareengineer1
 
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.pptJust-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
Just-In-Timeasdfffffffghhhhhhhhhhj Systems.ppt
ssuser5f8f49
 
Classification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptxClassification_in_Machinee_Learning.pptx
Classification_in_Machinee_Learning.pptx
wencyjorda88
 
Simple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptxSimple_AI_Explanation_English somplr.pptx
Simple_AI_Explanation_English somplr.pptx
ssuser2aa19f
 
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
Molecular methods diagnostic and monitoring of infection  -  Repaired.pptxMolecular methods diagnostic and monitoring of infection  -  Repaired.pptx
Molecular methods diagnostic and monitoring of infection - Repaired.pptx
7tzn7x5kky
 
Stack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptxStack_and_Queue_Presentation_Final (1).pptx
Stack_and_Queue_Presentation_Final (1).pptx
binduraniha86
 
VKS-Python Basics for Beginners and advance.pptx
VKS-Python Basics for Beginners and advance.pptxVKS-Python Basics for Beginners and advance.pptx
VKS-Python Basics for Beginners and advance.pptx
Vinod Srivastava
 
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your CompetitorsAI Competitor Analysis: How to Monitor and Outperform Your Competitors
AI Competitor Analysis: How to Monitor and Outperform Your Competitors
Contify
 
Cleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdfCleaned_Lecture 6666666_Simulation_I.pdf
Cleaned_Lecture 6666666_Simulation_I.pdf
alcinialbob1234
 
Medical Dataset including visualizations
Medical Dataset including visualizationsMedical Dataset including visualizations
Medical Dataset including visualizations
vishrut8750588758
 
C++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptxC++_OOPs_DSA1_Presentation_Template.pptx
C++_OOPs_DSA1_Presentation_Template.pptx
aquibnoor22079
 
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
Adobe Analytics NOAM Central User Group April 2025 Agent AI: Uncovering the S...
gmuir1066
 

Database Management System

  • 3. More about me12 years of Oracle DBA experience Various Industry verticals Retail, Insurance, Freight and Logistics Interests: Linux, Perl, Python, C Likes: Music, Food, Travel, …
  • 6. Database Fundamentals + What is a Database Management System + Database Concepts + Popular Database Softwares + Database Applications + Working with Databases + Job roles and duties of Database Professionals
  • 7. What is a Database A Database Management System Or just a database is a collection of software programmes for managing data, It helps to STORE, RETRIEVE, and MANIPULATE data in an efficient manner.
  • 8. Database Concepts Database Model A database model is a type of data model that defines the logical structure of a database and determines in which manner data can be stored, organized, and manipulated. By Marcel Douwe Dekker - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=5679857
  • 9. Database Concepts The Relational model Proposed by Edgar F. Codd in 1970 broke of from the tradition of hierarchical model and insisted that applications should search for data by content, rather than following links. The relational model employs sets of ledger-style tables, each used for a different type of entity. By mid-1980s relational systems (DBMSs plus applications) became popular owing to the advent of better computer hardware. (Source : Wikipedia) By U.S. Department of Transportationvectorization: Own work - Data Integration Glossary., Public Domain, https://commons.wikimedia.org/w/index.php?curid=17875170
  • 10. Database Concepts Tables / Relations A table is an accepted visual representation of a relation; a tuple is similar to the concept of a row. It is a set of column definitions along with the data appearing in that structure. Columns /Attributes Attribute is the term used in the theory for what is commonly referred to as a column. Rows / Tuples A row is a collection of column values in a specific order which has a one to one mapping with the attribute name.
  • 11. Database Concepts Constraints Constraints enforce consistency of data in a relational database. Rules that govern data stored in tables. Rules to define relationships between two tables. Primary Key, Foreign Key, Not Null, Check, Unique. Transaction A transaction can be defined as a group of tasks. A single task is the minimum processing unit which cannot be divided further. Transaction is completed with a Commit/Rollback ACID Properties of Transactions Atomicity − This property states that a transaction must be treated as an atomic unit, that is, either all of its operations are executed or none. Consistency − The database must remain in a consistent state after any transaction. Durability − The database should be durable enough to hold all its latest updates even if the system fails or restarts. Isolation − In a multi transactional database system, No transaction will affect the existence of any other transaction.
  • 13. Database Applications Various Industry Verticals + Manufacturing + Banking + Transportation + Defence + Academia + E-Commerce + Social Media
  • 14. Database Applications Different Types of Applications OLTP ERP Systems Datawarehouse Systems Data Mining Applications Database Application Platform
  • 15. Working with databases SQL (Structured Query Language) Declarative, Non- Programming Language used to Interact with the database. Allows to CREATE, ALTER and DROP Data objects i.e. Tables and one can SELECT, INSERT, UPDATE and DELETE data from tables using SQL. SQL Users + Database Application Developers + Database Administrators + Data Analysts
  • 16. Working with databases SQL Basics SQL Statements fall under the following categories + DDL (Data Definition Language) + DML (Data Manipulation Language) + SELECT (query data from one or more tables) + DCL (Data Control Language) + TCL (Transaction Control Language) SQL Examples create table emp( empno number(4,0), ename varchar2(10), job varchar2(9), mgr number(4,0), hiredate date, sal number(7,2), comm number(7,2), deptno number(2,0), constraint pk_emp primary key (empno), constraint fk_deptno foreign key (deptno) references dept (deptno) ); insert into emp values( 7839, 'KING', 'PRESIDENT', null, to_date('17-11-1981','dd-mm-yyyy'), 5000, null, 10); SELECT EMP.*,DNAME,LOC FROM Emp, Dept WHERE Dname IN ('ACCOUNTING','RESEARCH') AND EMP.DEPTNO = DEPT.DEPTNO ORDER BY EMP.DEPTNO
  • 17. Working with databases Programmability Most popular databases have a feature called STORED PROCEDURES which are program units that can be created and stored within the database Helps to store business specific logic within the database which improves performance
  • 18. Job roles and duties of Database Professionals Developers • Responsible for creating and managing application, Write code for creating and managing frontent UI • Write code for creating and managing backend or business logic • Design relational and logical design of database and Perform Normalization of tables DBA • Responsible for creating and managing databases • Take care of data security • Support DB users when there is a database problem • Responsible for Managing DR and HA Data Analysts • Work on BI tools • Create Business reports • Perform trend analysis
  • 21. Database Client Components Database Client Drivers + Programmable APIs written in a 3GL + Enables client applications to connect and Interact with RDBMS systems independent of the RDBMS implementation. + Eg : ODBC, JDBC, ADO.net etc Database Native Tools + Tools provided by the RDBMS vendor to connect and interact with the RDBMS System + Vendor Specific implementation/APIs + Provides more features
  • 22. Database Server Components DBMS Engine + Manage user connections/sessions + Manage File I/O + Ensure data recoverability and Consistency Query Processor + Parse and Execute SQL + Ensure Read Consistency of SELECT queries + Return Rows to users in the case of SELECTs + Invoke transaction processor for DMLsTransaction Processor + Begin and End Transactions + Manage ACID properties for the transaction + Assist query processor to maintain read consistency
  • 23. Database Server Components Data Dictionary + Metadata repository + Set of tables which store data about the DB objects Job Scheduler + Manage database jobs + Monitor Job execution + Log job execution status Query Optimizer + Prepare Execution plans for SQL + Optimizes Execution plan for better performance.
  • 24. Database Server Internal Architecture SQL Server Internal Architecture
  • 25. Database Server Internal Architecture Oracle Server Internal Architecture
  • 26. Database Server Internal Architecture Database Storage Logical Architecture
  • 27. Database Server Infrastructure Server (Hardware) + CPU + Memory Storage + SAN + NAS Network + Ethernet switch + Firewall Peripheral Devices + Backup devices (Tapes) + Printers
  • 28. Database in the Cloud : DBaaS Infrastructure + Server, OS, Storage Platform + Database, Web Server, Middle Tier Software (SaaS) + Web services, ERP, Productivity Tools
  • 29. Database in the Cloud : DBaaS
  • 30. Advantages + Cost Savings (Pay per use model) + Need Based Provisioning + Reduce Investments, Increase Returns + Lower operating costs + Standardization Database in the Cloud : DBaaS Technical Features + Consolidation Platform + Virtualization + Multi Tenancy + Provider Managed High Availability and Disaster Recovery
  • 32. + Table and Index Partitions + Geo Spatial Data + Full Text Search + Database Replication + Database High Availability + Disaster Recovery Database Features
  • 33. Database Features Table and Index Partitions
  • 40. Credits Special thanks to all the people who made and released these awesome resources for free: + Presentation template by SlidesCarnival + Photographs by Unsplash