SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt? (19)

Database
DatabaseDatabase
Database
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
Db2 characteristics of db ms
Db2 characteristics of db msDb2 characteristics of db ms
Db2 characteristics of db ms
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
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
 
03 Object Dbms Technology
03 Object Dbms Technology03 Object Dbms Technology
03 Object Dbms Technology
 
Good PPT for RDBMS starter
Good PPT for RDBMS starter Good PPT for RDBMS starter
Good PPT for RDBMS starter
 
RDBMS
RDBMSRDBMS
RDBMS
 
RDBMS.ppt
RDBMS.pptRDBMS.ppt
RDBMS.ppt
 
Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbms
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
RDBMS.
RDBMS.RDBMS.
RDBMS.
 
Introduction to Databases
Introduction to DatabasesIntroduction to Databases
Introduction to Databases
 
Introduction To DBMS
Introduction To DBMSIntroduction To DBMS
Introduction To DBMS
 
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
 
Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Relational database revised
Relational database revisedRelational database revised
Relational database revised
 

Andere mochten auch

Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningAbishek V S
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1Chien Chung Shen
 
ORACLE: Database management system student
ORACLE: Database management system studentORACLE: Database management system student
ORACLE: Database management system studentjomerson 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 tuningGuy 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 Overviewhonglee71
 
Oracle Sql Tuning
Oracle Sql TuningOracle Sql Tuning
Oracle Sql TuningChris Adkin
 

Andere mochten auch (9)

Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
ORACLE: Database management system student
ORACLE: Database management system studentORACLE: Database management system student
ORACLE: Database management system student
 
Ad hoc Networks
Ad hoc NetworksAd hoc Networks
Ad hoc Networks
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Oracle sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)Introduction to oracle database (basic concepts)
Introduction to oracle database (basic concepts)
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
 
Oracle Sql Tuning
Oracle Sql TuningOracle Sql Tuning
Oracle Sql Tuning
 

Ähnlich wie Database Management System

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 SparkDatabricks
 
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.pdfData Science Council of America
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSSDeepali Raut
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in CloudDr. 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 bangaloreTIB 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 ApplicationsOlivier DASINI
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Databasepuja_dhar
 
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/SpecialistTony Rogerson
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructureprojectandppt
 
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-27Martin Bém
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data ManagementCloudbells.com
 
MySQL 8.0 Featured for Developers
MySQL 8.0 Featured for DevelopersMySQL 8.0 Featured for Developers
MySQL 8.0 Featured for DevelopersDave Stokes
 
Modernizing Mission-Critical Apps with SQL Server
Modernizing Mission-Critical Apps with SQL ServerModernizing Mission-Critical Apps with SQL Server
Modernizing Mission-Critical Apps with SQL ServerMicrosoft Tech Community
 

Ähnlich wie Database Management System (20)

notes
notesnotes
notes
 
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
 
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
 
Datawarehousing & DSS
Datawarehousing & DSSDatawarehousing & DSS
Datawarehousing & DSS
 
Database Performance Management in Cloud
Database Performance Management in CloudDatabase Performance Management in Cloud
Database Performance Management in Cloud
 
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
 
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)
 
Rise of NewSQL
Rise of NewSQLRise of NewSQL
Rise of NewSQL
 
Sql
SqlSql
Sql
 
MySQL Document Store for Modern Applications
MySQL Document Store for Modern ApplicationsMySQL Document Store for Modern Applications
MySQL Document Store for Modern Applications
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
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
 
Dbms and it infrastructure
Dbms and  it infrastructureDbms and  it infrastructure
Dbms and it infrastructure
 
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
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data Management
 
RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.RDBMS to NoSQL. An overview.
RDBMS to NoSQL. An overview.
 
MySQL 8.0 Featured for Developers
MySQL 8.0 Featured for DevelopersMySQL 8.0 Featured for Developers
MySQL 8.0 Featured for Developers
 
Satheesh Oracle DBA Resume
Satheesh Oracle DBA ResumeSatheesh Oracle DBA Resume
Satheesh Oracle DBA Resume
 
Modernizing Mission-Critical Apps with SQL Server
Modernizing Mission-Critical Apps with SQL ServerModernizing Mission-Critical Apps with SQL Server
Modernizing Mission-Critical Apps with SQL Server
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 

Kürzlich hochgeladen

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Valters Lauzums
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 

Kürzlich hochgeladen (20)

BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
Digital Advertising Lecture for Advanced Digital & Social Media Strategy at U...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 

Database Management System

  • 2. Hello! Abishek DBA Practice Oracle DB SME Email : abishek.vidyashanker@in.unisys.com
  • 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