SlideShare a Scribd company logo
Oracle Database Overview Hong Lee
Relational Database Management System (RDBMS) RDBMS is based on the  relational   model   as introduced by E. F. Codd .  D ata and the relationships are stored in the form of tables.  Referential integrity between tables   is often enforced by the combination of a primary key and a foreign key. RDBMS offers strong consistency guarantees, it uses t ransactions that provide "all-or-nothing", meaning each unit of work performed in a database must either complete entirely or have no effect at all.  RDBMS provides strong  concurrency  control. Its concurrency mechanisms manage and support multiple users accessing the same group of resources (such as tables, rows). RDBMS interface is flexible and offers data independence. Uses interface with RDBMS in  SQL  – a  standard interactive and programming language for querying and modifying data and managing databases.   Such RDBMS include Microsoft SQL Server, DB2, Sybase and Oracle .
Database Market Share
What is an Instance? A database  instance , or an ‘instance’ is made up of the background processes/threads needed by the database software. These processes usually include a process monitor, session monitor, lock monitor, database writer, etc.  They will vary from database vendor to database vendor. An instance controls 0 or more databases A database can have 1 or more instances
What is a Schema? A SCHEMA IS NOT A DATABASE, AND A DATABASE IS NOT A SCHEMA. A database application schema is the set of database objects (tables, indexes, triggers, etc.) that owned by a user that apply to a specific application.  These objects are relational in nature, and are related to each other, within a database to serve a specific functionality.  For example payroll, purchasing, order, etc. Usually several schemas coexist in a database.
Tables, Indexes, Constraints Table -  a set of columns that contain data. In the old days, a table was called a file. Row -  a set of columns from a table reflecting a record. Index -  an object that allows for fast retrieval of table rows. Every primary key and foreign key should have an index for retrieval speed. Primary key (PK) -  1 or more columns in a table that makes a record unique. Foreign key (FK) -  a common column between 2 tables that define the relationship between those 2 tables.
The Three Normal Forms First Normal Form: All column values are atomic - Indivisible
The Three Normal Forms Second Normal Form:  All column values depends on the value of the    primary key
The Three Normal Forms Third Normal Form: No column value depends on the value of any other    column except the primary key.
DBA Tasks System DBA Installing and upgrading the database software and application tools Allocating system storage and planning future storage requirements for the database system Creating database and its parameters Creating database storage structures (tablespaces) Creating database objects (tables, views, indexes)  Create users and grant database privileges Setup database security and auditing Setup database backup Recover database when necessary Setup database monitoring Database optimization and performance tuning Perform database maintenance (reorgs, collect stats) Design and Implement database high availability strategy Contact database vendor for technical support Ensuring compliance with the database license agreement
DBA Tasks Application DBA Reviewing database designs and application functionalities with the business, developers, and data modelers Reviewing database structure changes that provided by application developers and data modelers Implement the database structure such as tables, indexes Working with application developers to tune the performance of the database Reviewing and tuning the SQL scripts Designing and implementing the database migration Helping load/unload data  Database refreshing and cloning Data replications
Oracle Instance and Database Oracle Instance Oracle background processes: SMON – System Monitoring PMON – Process Monitoring CKPT – Checkpoint process ARC0 – Archive log process LGWR – Log writer … Memory SGA – System Global Area PGA – Program(Private) Global Area Oracle Database Data files Control files Redo log files Archive log files Parameter files
A Simple View of Oracle Instance and Database Database Files Control Files Redo Log Files Archive Log Files Oracle Instance Shared_pool Database Buffer Cache Redo Log Buffer System Global Area (SGA) Oracle Processes Oracle Database
Database Data  Cache Redo Log Buffer
How do I connect to the Oracle database tnsnames.ora sqlnet.ora listener.ora tnsnames.ora sqlnet.ora 1 2 3 4
What is a Tablespace? A tablespace is a logical storage unit in an Oracle database.  users01.dbf users02.dbf
Database Space Management Add a new tablespace SYS1.dbf SYS2.dbf USER01.dbf CREATE TABLESPACE USERS DATAFILE ‘USERS01.dbf’
Database Space Management Add datafiles to a tablespace SYS1.dbf SYS2.dbf SYS3.dbf ALTER TABLESPACE SYSTEM ADD DATAFILE ‘SYS2.dbf’ ALTER TABLESPACE SYSTEM ADD DATAFILE ‘SYS3.dbf’
Database Space Management Dynamically sizing a datafile ALTER DATABASE DATAFILE ‘USER01.dbf’ AUTOEXTEND ON NEXT 20M MAXSIZE 1000M SYS1.dbf SYS2.dbf USER01.dbf
Automatic Storage Management (ASM) ASM is a  database instance  that provides: •  Load balancing in parallel across disk drives •  Prevention of disk space fragmentation •  Online disk space reorganization •  Data redundancy to provide fault tolerance ASM instance - Instance that manages the diskgroup metadata Disk Groups  Logical grouping of raw disks Determines file mirroring options ASM Disks - LUN presented to ASM ASM Files - Includes database files
Volume Management vs ASM Direct I/O Asynchronous I/O Striping and Mirroring No File System Buffers
ASM Best Practices RPM
Install Software and Create Database Kernel settings: # Shmmax set to half of the physical mem.  kernel.shmmax = 4294967296 kernel.shmall = 2097152 kernel.shmmni = 4096 fs.file-max = 327679 kernel.sem=250 32000 100 128 net.ipv4.ip_local_port_range = 1024 65000  net.core.rmem_default=262144 net.core.wmem_default=262144 net.core.rmem_max=262144 net.core.wmem_max=262144 OS Patches Run “root.sh” Oracle id: (ora1adm, ora5adm, ora9adm) Directories:  /u01 – Oracle software /u02 ~ /uxx – Oracle database X-window is required
Sysadmin and DBA
Oracle Backup and Recovery SMON – System Monitor Background process that automatic recover the database after a crash  Export/Import Fast unload/load data and structure to a dump file Can only recover to when the export was taken Import will be slow for large database Best suited for Dev/Test, refreshing Data Pump Newer version of export and import Parallelism Can stop and restart RMAN (Recover Manager) Oracle backup and recover tool (language) Able to recover database to point-in-time Integrated with many media management tools Flashback recovery New technology that use Flashback Area and Undo space to undo the changes Best suited for logical data corruption (user error)
Recovery with RMAN and tape
Recovery with Flashback
Database Monitoring What: Database up and down Database alert log error Database directory usage (archive log, software) Database backup status Tablespace space usage Database listener up and down How:  K-shell scripting integrated with NSM Oracle Enterprise Manager (OEM)/Grid Control
Oracle Enterprise Manager (OEM) / Grid Control Grid control console Management server (OMS) Management repository RAC Database Managed targets Agent Agent Agent Database Database Agent
OEM/Grid Control – Server Performance
OEM/Grid Control – Database Performance
OEM/Grid Control – Top Activity
OEM/Grid Control – Top SQL
OEM/Grid Control – SQL Tuning
OEM/Grid Control – Memory Advice
High Availability – Standby Database
High Availability – Standby Database Failover
High Availability – Real Application Cluster
High Availability – Real Application Cluster Node n Node 1
High Availability – Real Application Cluster
High Availability – Real Application Cluster RAC
A Q & Q U E S T I O N S A N S W E R S
Ad

More Related Content

What's hot (20)

Oracle archi ppt
Oracle archi pptOracle archi ppt
Oracle archi ppt
Hitesh Kumar Markam
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
Meysam Javadi
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
Manohar Tatwawadi
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
VishalJharwade
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
sreehari orienit
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
Ajeet Singh
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
Yogiji Creations
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
Amrit Kaur
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
Neeraj Singh
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Maria Colgan
 
Oracle DB
Oracle DBOracle DB
Oracle DB
R KRISHNA DEEKSHITH VINNAKOTA
 
Oracle database introduction
Oracle database introductionOracle database introduction
Oracle database introduction
Mohammad Javad Beheshtian
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
Chhom Karath
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
PLSQL
PLSQLPLSQL
PLSQL
Shubham Bammi
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Oracle dba training
Oracle  dba    training Oracle  dba    training
Oracle dba training
P S Rani
 
Oracle Tablespace - Basic
Oracle Tablespace - BasicOracle Tablespace - Basic
Oracle Tablespace - Basic
Eryk Budi Pratama
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
Meysam Javadi
 
Basic oracle-database-administration
Basic oracle-database-administrationBasic oracle-database-administration
Basic oracle-database-administration
sreehari orienit
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
Ajeet Singh
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
Yogiji Creations
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
Amrit Kaur
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
Neeraj Singh
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
Maria Colgan
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
Chhom Karath
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
Satishbabu Gunukula
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
Mohamed Farouk
 
Oracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best PracticesOracle GoldenGate 21c New Features and Best Practices
Oracle GoldenGate 21c New Features and Best Practices
Bobby Curtis
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
Oracle dba training
Oracle  dba    training Oracle  dba    training
Oracle dba training
P S Rani
 

Viewers also liked (7)

5 R- Reduce, Reuse, Recycle, Refuse, Recover
5 R-  Reduce, Reuse, Recycle, Refuse, Recover5 R-  Reduce, Reuse, Recycle, Refuse, Recover
5 R- Reduce, Reuse, Recycle, Refuse, Recover
Akash Tikhe
 
Zero Waste Presentation
Zero Waste PresentationZero Waste Presentation
Zero Waste Presentation
Anbarnetche
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Harri Kauhanen
 
Waste Management Using the 5Rs Techniques
Waste Management Using the 5Rs TechniquesWaste Management Using the 5Rs Techniques
Waste Management Using the 5Rs Techniques
Antonio Delgado
 
IBM Presentation
IBM PresentationIBM Presentation
IBM Presentation
rolsen3
 
Ibm presentation ppt
Ibm presentation pptIbm presentation ppt
Ibm presentation ppt
ravish28
 
solid waste management
solid waste managementsolid waste management
solid waste management
Amit Nakli
 
5 R- Reduce, Reuse, Recycle, Refuse, Recover
5 R-  Reduce, Reuse, Recycle, Refuse, Recover5 R-  Reduce, Reuse, Recycle, Refuse, Recover
5 R- Reduce, Reuse, Recycle, Refuse, Recover
Akash Tikhe
 
Zero Waste Presentation
Zero Waste PresentationZero Waste Presentation
Zero Waste Presentation
Anbarnetche
 
Waste Management Using the 5Rs Techniques
Waste Management Using the 5Rs TechniquesWaste Management Using the 5Rs Techniques
Waste Management Using the 5Rs Techniques
Antonio Delgado
 
IBM Presentation
IBM PresentationIBM Presentation
IBM Presentation
rolsen3
 
Ibm presentation ppt
Ibm presentation pptIbm presentation ppt
Ibm presentation ppt
ravish28
 
solid waste management
solid waste managementsolid waste management
solid waste management
Amit Nakli
 
Ad

Similar to Oracle Database Overview (20)

Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
Mohsen B
 
Bt0066 database management system1
Bt0066 database management system1Bt0066 database management system1
Bt0066 database management system1
Techglyphs
 
Oracle DBA Training in Hyderabad
Oracle DBA Training in HyderabadOracle DBA Training in Hyderabad
Oracle DBA Training in Hyderabad
united global soft
 
Oracle DBA Training in Hyderabad
Oracle DBA Training in HyderabadOracle DBA Training in Hyderabad
Oracle DBA Training in Hyderabad
Ugs8008
 
Orcale dba training
Orcale dba trainingOrcale dba training
Orcale dba training
Ugs8008
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data Management
Cloudbells.com
 
Introduction to oracle
Introduction to oracleIntroduction to oracle
Introduction to oracle
durgaprasad1407
 
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
united global soft
 
Orcale dba training
Orcale dba trainingOrcale dba training
Orcale dba training
united global soft
 
Orcale dba Online training India
Orcale dba Online training IndiaOrcale dba Online training India
Orcale dba Online training India
united global soft
 
Orcale DBA Online Training in India
Orcale DBA Online Training in IndiaOrcale DBA Online Training in India
Orcale DBA Online Training in India
united global soft
 
Oracle DBA Online Training in India
Oracle DBA Online Training in IndiaOracle DBA Online Training in India
Oracle DBA Online Training in India
united global soft
 
Orcale dba training
Orcale dba trainingOrcale dba training
Orcale dba training
united global soft
 
Sql introduction
Sql introductionSql introduction
Sql introduction
vimal_guru
 
Database Administrator interview questions and answers
Database Administrator interview questions and answersDatabase Administrator interview questions and answers
Database Administrator interview questions and answers
MLR Institute of Technology
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper
 
Oracle tutorial
Oracle tutorialOracle tutorial
Oracle tutorial
Lalit Shaktawat
 
DBMS Full.ppt
DBMS Full.pptDBMS Full.ppt
DBMS Full.ppt
pritikanamaity600
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Overview of oracle database
Overview of oracle databaseOverview of oracle database
Overview of oracle database
Samar Prasad
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
Mohsen B
 
Bt0066 database management system1
Bt0066 database management system1Bt0066 database management system1
Bt0066 database management system1
Techglyphs
 
Oracle DBA Training in Hyderabad
Oracle DBA Training in HyderabadOracle DBA Training in Hyderabad
Oracle DBA Training in Hyderabad
united global soft
 
Oracle DBA Training in Hyderabad
Oracle DBA Training in HyderabadOracle DBA Training in Hyderabad
Oracle DBA Training in Hyderabad
Ugs8008
 
Orcale dba training
Orcale dba trainingOrcale dba training
Orcale dba training
Ugs8008
 
Introduction to Data Management
Introduction to Data ManagementIntroduction to Data Management
Introduction to Data Management
Cloudbells.com
 
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
Oracle DBA Online Training in India,Oracle DBA Training in USA,Oracle DBA Tra...
united global soft
 
Orcale dba Online training India
Orcale dba Online training IndiaOrcale dba Online training India
Orcale dba Online training India
united global soft
 
Orcale DBA Online Training in India
Orcale DBA Online Training in IndiaOrcale DBA Online Training in India
Orcale DBA Online Training in India
united global soft
 
Oracle DBA Online Training in India
Oracle DBA Online Training in IndiaOracle DBA Online Training in India
Oracle DBA Online Training in India
united global soft
 
Sql introduction
Sql introductionSql introduction
Sql introduction
vimal_guru
 
Database Administrator interview questions and answers
Database Administrator interview questions and answersDatabase Administrator interview questions and answers
Database Administrator interview questions and answers
MLR Institute of Technology
 
R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07R12 d49656 gc10-apps dba 07
R12 d49656 gc10-apps dba 07
zeesniper
 
Ad

Recently uploaded (20)

Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Top-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptxTop-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptx
BR Softech
 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
 
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent LasterAI 3-in-1: Agents, RAG, and Local Models - Brent Laster
AI 3-in-1: Agents, RAG, and Local Models - Brent Laster
All Things Open
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Q1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor PresentationQ1 2025 Dropbox Earnings and Investor Presentation
Q1 2025 Dropbox Earnings and Investor Presentation
Dropbox
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Top-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptxTop-AI-Based-Tools-for-Game-Developers (1).pptx
Top-AI-Based-Tools-for-Game-Developers (1).pptx
BR Softech
 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
IT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information TechnologyIT488 Wireless Sensor Networks_Information Technology
IT488 Wireless Sensor Networks_Information Technology
SHEHABALYAMANI
 

Oracle Database Overview

  • 2. Relational Database Management System (RDBMS) RDBMS is based on the relational model as introduced by E. F. Codd . D ata and the relationships are stored in the form of tables. Referential integrity between tables is often enforced by the combination of a primary key and a foreign key. RDBMS offers strong consistency guarantees, it uses t ransactions that provide "all-or-nothing", meaning each unit of work performed in a database must either complete entirely or have no effect at all. RDBMS provides strong concurrency control. Its concurrency mechanisms manage and support multiple users accessing the same group of resources (such as tables, rows). RDBMS interface is flexible and offers data independence. Uses interface with RDBMS in SQL – a standard interactive and programming language for querying and modifying data and managing databases. Such RDBMS include Microsoft SQL Server, DB2, Sybase and Oracle .
  • 4. What is an Instance? A database instance , or an ‘instance’ is made up of the background processes/threads needed by the database software. These processes usually include a process monitor, session monitor, lock monitor, database writer, etc. They will vary from database vendor to database vendor. An instance controls 0 or more databases A database can have 1 or more instances
  • 5. What is a Schema? A SCHEMA IS NOT A DATABASE, AND A DATABASE IS NOT A SCHEMA. A database application schema is the set of database objects (tables, indexes, triggers, etc.) that owned by a user that apply to a specific application. These objects are relational in nature, and are related to each other, within a database to serve a specific functionality. For example payroll, purchasing, order, etc. Usually several schemas coexist in a database.
  • 6. Tables, Indexes, Constraints Table - a set of columns that contain data. In the old days, a table was called a file. Row - a set of columns from a table reflecting a record. Index - an object that allows for fast retrieval of table rows. Every primary key and foreign key should have an index for retrieval speed. Primary key (PK) - 1 or more columns in a table that makes a record unique. Foreign key (FK) - a common column between 2 tables that define the relationship between those 2 tables.
  • 7. The Three Normal Forms First Normal Form: All column values are atomic - Indivisible
  • 8. The Three Normal Forms Second Normal Form: All column values depends on the value of the primary key
  • 9. The Three Normal Forms Third Normal Form: No column value depends on the value of any other column except the primary key.
  • 10. DBA Tasks System DBA Installing and upgrading the database software and application tools Allocating system storage and planning future storage requirements for the database system Creating database and its parameters Creating database storage structures (tablespaces) Creating database objects (tables, views, indexes) Create users and grant database privileges Setup database security and auditing Setup database backup Recover database when necessary Setup database monitoring Database optimization and performance tuning Perform database maintenance (reorgs, collect stats) Design and Implement database high availability strategy Contact database vendor for technical support Ensuring compliance with the database license agreement
  • 11. DBA Tasks Application DBA Reviewing database designs and application functionalities with the business, developers, and data modelers Reviewing database structure changes that provided by application developers and data modelers Implement the database structure such as tables, indexes Working with application developers to tune the performance of the database Reviewing and tuning the SQL scripts Designing and implementing the database migration Helping load/unload data Database refreshing and cloning Data replications
  • 12. Oracle Instance and Database Oracle Instance Oracle background processes: SMON – System Monitoring PMON – Process Monitoring CKPT – Checkpoint process ARC0 – Archive log process LGWR – Log writer … Memory SGA – System Global Area PGA – Program(Private) Global Area Oracle Database Data files Control files Redo log files Archive log files Parameter files
  • 13. A Simple View of Oracle Instance and Database Database Files Control Files Redo Log Files Archive Log Files Oracle Instance Shared_pool Database Buffer Cache Redo Log Buffer System Global Area (SGA) Oracle Processes Oracle Database
  • 14. Database Data Cache Redo Log Buffer
  • 15. How do I connect to the Oracle database tnsnames.ora sqlnet.ora listener.ora tnsnames.ora sqlnet.ora 1 2 3 4
  • 16. What is a Tablespace? A tablespace is a logical storage unit in an Oracle database. users01.dbf users02.dbf
  • 17. Database Space Management Add a new tablespace SYS1.dbf SYS2.dbf USER01.dbf CREATE TABLESPACE USERS DATAFILE ‘USERS01.dbf’
  • 18. Database Space Management Add datafiles to a tablespace SYS1.dbf SYS2.dbf SYS3.dbf ALTER TABLESPACE SYSTEM ADD DATAFILE ‘SYS2.dbf’ ALTER TABLESPACE SYSTEM ADD DATAFILE ‘SYS3.dbf’
  • 19. Database Space Management Dynamically sizing a datafile ALTER DATABASE DATAFILE ‘USER01.dbf’ AUTOEXTEND ON NEXT 20M MAXSIZE 1000M SYS1.dbf SYS2.dbf USER01.dbf
  • 20. Automatic Storage Management (ASM) ASM is a database instance that provides: • Load balancing in parallel across disk drives • Prevention of disk space fragmentation • Online disk space reorganization • Data redundancy to provide fault tolerance ASM instance - Instance that manages the diskgroup metadata Disk Groups Logical grouping of raw disks Determines file mirroring options ASM Disks - LUN presented to ASM ASM Files - Includes database files
  • 21. Volume Management vs ASM Direct I/O Asynchronous I/O Striping and Mirroring No File System Buffers
  • 23. Install Software and Create Database Kernel settings: # Shmmax set to half of the physical mem. kernel.shmmax = 4294967296 kernel.shmall = 2097152 kernel.shmmni = 4096 fs.file-max = 327679 kernel.sem=250 32000 100 128 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=262144 net.core.wmem_default=262144 net.core.rmem_max=262144 net.core.wmem_max=262144 OS Patches Run “root.sh” Oracle id: (ora1adm, ora5adm, ora9adm) Directories: /u01 – Oracle software /u02 ~ /uxx – Oracle database X-window is required
  • 25. Oracle Backup and Recovery SMON – System Monitor Background process that automatic recover the database after a crash Export/Import Fast unload/load data and structure to a dump file Can only recover to when the export was taken Import will be slow for large database Best suited for Dev/Test, refreshing Data Pump Newer version of export and import Parallelism Can stop and restart RMAN (Recover Manager) Oracle backup and recover tool (language) Able to recover database to point-in-time Integrated with many media management tools Flashback recovery New technology that use Flashback Area and Undo space to undo the changes Best suited for logical data corruption (user error)
  • 26. Recovery with RMAN and tape
  • 28. Database Monitoring What: Database up and down Database alert log error Database directory usage (archive log, software) Database backup status Tablespace space usage Database listener up and down How: K-shell scripting integrated with NSM Oracle Enterprise Manager (OEM)/Grid Control
  • 29. Oracle Enterprise Manager (OEM) / Grid Control Grid control console Management server (OMS) Management repository RAC Database Managed targets Agent Agent Agent Database Database Agent
  • 30. OEM/Grid Control – Server Performance
  • 31. OEM/Grid Control – Database Performance
  • 32. OEM/Grid Control – Top Activity
  • 34. OEM/Grid Control – SQL Tuning
  • 35. OEM/Grid Control – Memory Advice
  • 36. High Availability – Standby Database
  • 37. High Availability – Standby Database Failover
  • 38. High Availability – Real Application Cluster
  • 39. High Availability – Real Application Cluster Node n Node 1
  • 40. High Availability – Real Application Cluster
  • 41. High Availability – Real Application Cluster RAC
  • 42. A Q & Q U E S T I O N S A N S W E R S
  翻译: