SlideShare a Scribd company logo
ORATOP
Do less ….get more …
Gadi Chen
 Co-Founder –TopExperts
 www.topexperts.co.il
 Gadi.chen@topexperts.co.il
 +972-54-6804475
About Me…
 Oracle and Apps DBA since 2000
 Worked for oracle for the past 7 Years
 Founder Of TopExperts since 2013
 Consult to top customer in Israel
Board member of iloug
About TopExperts . . .
• Experts services for
– Oracle Technology
– MS-Sql , MySql etc …
– kdb+ , BigData Solutions
• Business partners of
– Oracle
– KX Systems
Agenda
• How to work less and get more
• Let’s start with a question ?
What is Oratop ?
• A Text Base utility to monitor Oracle DB
• compatibility
– 11.2 onwards
– Unix/Linux OS ( no Windows)
What Oratop can do?
• Real-Time Database Monitoring
• Real-Time Database performance
• Identifying contention and bottlenecks
• Not replacement of ( ash, addm, awr etc..)
Oratop scope
• Single Instance
• RAC/ASM Aware
• PDB/CDB Aware (12c…)
• Standby Aware , Active Data Guard
How to Install ?
• Download from MOS : 1500864.1
• And …. Start use it
• Error while loading shared libraries:libclntsh.so.12.1
– export ORACLE_HOME=database home
– export LD_LIBRARY_PATH=$ORACLE_HOME/lib
– export PATH=$ORACLE_HOME/bin:$PATH
Lets Start . . .
• ./oratop system@sid
• ./oratop -f -d -i 10 / as sysdba
Command line arguments
Command line vs Runtime
Command line vs Runtime
Command line vs Runtime
Need Help ?
oratop -h
./oratop -h
How we can connect ?
• SqlNet - TNS_ADMIN
• EZ-connect -
Main Screen
Sections
• Header – Global Database information
• Databases – database Instance activity
• DB Events – AWR like top 5 events
• Process/SQL – Processes/SQL information
Sections
Header
Database
section
Database Event
section
Process / Sql info
Section
Header – Global Database information
Oracle DB version Database Role :
Primary, Secondary
Db
Name
time as of the most
recent stats
(hh24:mi:ss)
Database Uptime, since
startup
total number of
instance(s) , RAC
total user sessions
(active/inactive)
number of
distinct users
database time as
%(dbtime/cpu)
(turn red if greater 99%)
flashback recovery area
%used
( turn red when greater 90%)
diag active problem count
(faults)
global database
memory total (sga+pga)
Databases – database Instance activity
ID= instance id
%CPU=host cpu busy
%(busy/busy+idle).
(red if gt; 90%)
LOAD=current os load.
(red if gt; 2*#cpu)
%DCU=db cpu otusef as
%host cpu. (red if gt; 99%)
AAS=Average
Active Sessions
ASC=active Sessions on
CPU
ASI=active Sessions
waiting on user I/O
ASW=Active
Sessions Waiting
MBPS=i/o megabytes per
second (throughput)
IOPS=i/o requests per
second
ASP=active
parallel sessions
UST=user Sessions Total
(Active/Inactive)
AST=Active user
Sessions Total
(ASC+ASI+ASW)
ASW=Active
Sessions Waiting
PHYR=physical reads per sec
LOGR=logical reads per sec
IORL=avg synchronous
single-block read latency
(red if gt; 20ms)
ASP=active
parallel sessions
PHYR=physical writes per sec
AST=Active user
Sessions Total
(ASC+ASI+ASW)
%FR=shared pool
free %
UTPS=user transactions
per sec UCPS=user calls per sec
SSRT=sql service response
time
PGA==total pga
allocated
PHYW=physic
al writes per
sec TEMP=temp
space used
DB Events – AWR like top 5 events
Top 5 Timed Events
o Cluster-wide, non-idle
o Ordered by wait time desc
wait event name total waits total wait time in seconds
average wait time
in milliseconds
percent of wait time
(all events)
name of the
wait class
Processes/SQL information
SERVER (dedicated,
shared, etc.) Pga used for the session
Sql_id OR
Blocker
(instance:sid)
Operation eg, select,
update create index
session elapsed time
ACTive|INActive|KILled
Process
state
wait_class for the
named event
event wait time
session wait event name
Extended keys
Explain Plan
• Hit the “x” and enter the sql_id
• Will display the actual plan
Space check
• Hit the “t” for non-ASM
• Hit the “a” for ASM and diskgroups
ENC=encrypted
Asm Diskgroup info
Number of bytes in
hot region
Number of bytes
in the cold region
State of disk group
relative to the instance
Redundancy type:
external ,normal,
high
Number of disk
in the DG offline
DataGuard
Archive Apply
Rate
DataGuard
Connecting to CDB
3 pdb (not including the cdb)
Connecting to PDB
Demo
Useful info
• MOS note: 1500864.1
– Installation
– Download
– manual
• Abbreviations:
– [N/B]: count(N)/ Byte(B) - (k)illo, (M)ega, (G)iga, (T)erra, [PEZY]
– [T] : Time - (u)micro, (m)illi, (s)econd, (h)our, (d)ay, (y)ear
– [m/s]: stats interval size, (m) 1 minute, (s) 15s, else, Real Time
• Limitations
– Run on oracle client 11.2 and 12cR1
– Statistic_level=Typical
ORATOP
Do less ….get more …
Gadi Chen
 Co-Founder –TopExperts
 www.topexperts.co.il
 Gadi.chen@topexperts.co.il
 +972-54-6804475

More Related Content

PDF
Performance Tuning Using oratop
PDF
Oracle Database performance tuning using oratop
PDF
Performance Tuning Using oratop
PDF
Oracle Trace File Analyzer Overview
PDF
Trace File Analyzer - Usage and Features
PDF
Free oracle performance tools
PDF
Donatone_Grid Performance(2)11111111.pdg
PPTX
Kellyn Pot'Vin-Gorman - Awr and Ash
Performance Tuning Using oratop
Oracle Database performance tuning using oratop
Performance Tuning Using oratop
Oracle Trace File Analyzer Overview
Trace File Analyzer - Usage and Features
Free oracle performance tools
Donatone_Grid Performance(2)11111111.pdg
Kellyn Pot'Vin-Gorman - Awr and Ash

Similar to unix_linux_ORATOP_TechDays2016_presentations (20)

PDF
Ora 4 the_sqldba
PDF
What's new in oracle trace file analyzer 18.2.0
PPTX
AWR and ASH Deep Dive
PDF
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
PDF
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
PPTX
Melbourne Groundbreakers Tour - Hints and Tips
PDF
AWR and ASH in an EM12c World
PDF
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
PDF
Whats new in oracle ORAchk & EXAchk 18.3.0
PDF
Whats new in oracle OraChk and Exachk 18.3.0
PDF
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
PPTX
OpenWorld 2018 - 20 years of hints and tips
PPSX
Barun_Practical_and_Efficient_SQL_Performance_Tuning
PDF
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
PDF
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
PPT
Les 14 perf_db
PDF
Tools, not only for Oracle RAC
PPT
AWR, ADDM, ASH, Metrics and Advisors.ppt
PPTX
Oracle database performance monitoring diagnosis and reporting with EG Innova...
PDF
Ash and awr deep dive hotsos
Ora 4 the_sqldba
What's new in oracle trace file analyzer 18.2.0
AWR and ASH Deep Dive
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Melbourne Groundbreakers Tour - Hints and Tips
AWR and ASH in an EM12c World
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
Whats new in oracle ORAchk & EXAchk 18.3.0
Whats new in oracle OraChk and Exachk 18.3.0
Troubleshooting Tips and Tricks for Database 19c - EMEA Tour Oct 2019
OpenWorld 2018 - 20 years of hints and tips
Barun_Practical_and_Efficient_SQL_Performance_Tuning
Analysis of Database Issues using AHF and Machine Learning v2 - SOUG
Oracle Closed World 2010: Graphing the AAS ala EM + doing some cool linear re...
Les 14 perf_db
Tools, not only for Oracle RAC
AWR, ADDM, ASH, Metrics and Advisors.ppt
Oracle database performance monitoring diagnosis and reporting with EG Innova...
Ash and awr deep dive hotsos
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Lesson notes of climatology university.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Institutional Correction lecture only . . .
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Microbial diseases, their pathogenesis and prophylaxis
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
TR - Agricultural Crops Production NC III.pdf
GDM (1) (1).pptx small presentation for students
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Lesson notes of climatology university.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
VCE English Exam - Section C Student Revision Booklet
102 student loan defaulters named and shamed – Is someone you know on the list?
Final Presentation General Medicine 03-08-2024.pptx
PPH.pptx obstetrics and gynecology in nursing
Renaissance Architecture: A Journey from Faith to Humanism
O7-L3 Supply Chain Operations - ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Institutional Correction lecture only . . .
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Ad

unix_linux_ORATOP_TechDays2016_presentations

  • 1. ORATOP Do less ….get more … Gadi Chen Co-Founder –TopExperts www.topexperts.co.il Gadi.chen@topexperts.co.il +972-54-6804475
  • 2. About Me… Oracle and Apps DBA since 2000 Worked for oracle for the past 7 Years Founder Of TopExperts since 2013 Consult to top customer in Israel Board member of iloug
  • 3. About TopExperts . . . • Experts services for – Oracle Technology – MS-Sql , MySql etc … – kdb+ , BigData Solutions • Business partners of – Oracle – KX Systems
  • 4. Agenda • How to work less and get more • Let’s start with a question ?
  • 5. What is Oratop ? • A Text Base utility to monitor Oracle DB • compatibility – 11.2 onwards – Unix/Linux OS ( no Windows)
  • 6. What Oratop can do? • Real-Time Database Monitoring • Real-Time Database performance • Identifying contention and bottlenecks • Not replacement of ( ash, addm, awr etc..)
  • 7. Oratop scope • Single Instance • RAC/ASM Aware • PDB/CDB Aware (12c…) • Standby Aware , Active Data Guard
  • 8. How to Install ? • Download from MOS : 1500864.1 • And …. Start use it • Error while loading shared libraries:libclntsh.so.12.1 – export ORACLE_HOME=database home – export LD_LIBRARY_PATH=$ORACLE_HOME/lib – export PATH=$ORACLE_HOME/bin:$PATH
  • 9. Lets Start . . . • ./oratop system@sid • ./oratop -f -d -i 10 / as sysdba Command line arguments
  • 10. Command line vs Runtime
  • 11. Command line vs Runtime
  • 12. Command line vs Runtime
  • 13. Need Help ? oratop -h ./oratop -h
  • 14. How we can connect ? • SqlNet - TNS_ADMIN • EZ-connect -
  • 16. Sections • Header – Global Database information • Databases – database Instance activity • DB Events – AWR like top 5 events • Process/SQL – Processes/SQL information
  • 18. Header – Global Database information
  • 19. Oracle DB version Database Role : Primary, Secondary Db Name time as of the most recent stats (hh24:mi:ss) Database Uptime, since startup total number of instance(s) , RAC total user sessions (active/inactive) number of distinct users
  • 20. database time as %(dbtime/cpu) (turn red if greater 99%) flashback recovery area %used ( turn red when greater 90%) diag active problem count (faults) global database memory total (sga+pga)
  • 21. Databases – database Instance activity
  • 22. ID= instance id %CPU=host cpu busy %(busy/busy+idle). (red if gt; 90%) LOAD=current os load. (red if gt; 2*#cpu) %DCU=db cpu otusef as %host cpu. (red if gt; 99%) AAS=Average Active Sessions ASC=active Sessions on CPU ASI=active Sessions waiting on user I/O
  • 23. ASW=Active Sessions Waiting MBPS=i/o megabytes per second (throughput) IOPS=i/o requests per second ASP=active parallel sessions UST=user Sessions Total (Active/Inactive) AST=Active user Sessions Total (ASC+ASI+ASW)
  • 24. ASW=Active Sessions Waiting PHYR=physical reads per sec LOGR=logical reads per sec IORL=avg synchronous single-block read latency (red if gt; 20ms) ASP=active parallel sessions PHYR=physical writes per sec AST=Active user Sessions Total (ASC+ASI+ASW)
  • 25. %FR=shared pool free % UTPS=user transactions per sec UCPS=user calls per sec SSRT=sql service response time PGA==total pga allocated PHYW=physic al writes per sec TEMP=temp space used
  • 26. DB Events – AWR like top 5 events
  • 27. Top 5 Timed Events o Cluster-wide, non-idle o Ordered by wait time desc wait event name total waits total wait time in seconds average wait time in milliseconds percent of wait time (all events) name of the wait class
  • 29. SERVER (dedicated, shared, etc.) Pga used for the session Sql_id OR Blocker (instance:sid) Operation eg, select, update create index session elapsed time ACTive|INActive|KILled Process state
  • 30. wait_class for the named event event wait time session wait event name
  • 32. Explain Plan • Hit the “x” and enter the sql_id • Will display the actual plan
  • 33. Space check • Hit the “t” for non-ASM • Hit the “a” for ASM and diskgroups ENC=encrypted
  • 34. Asm Diskgroup info Number of bytes in hot region Number of bytes in the cold region State of disk group relative to the instance Redundancy type: external ,normal, high Number of disk in the DG offline
  • 37. Connecting to CDB 3 pdb (not including the cdb)
  • 39. Demo
  • 40. Useful info • MOS note: 1500864.1 – Installation – Download – manual
  • 41. • Abbreviations: – [N/B]: count(N)/ Byte(B) - (k)illo, (M)ega, (G)iga, (T)erra, [PEZY] – [T] : Time - (u)micro, (m)illi, (s)econd, (h)our, (d)ay, (y)ear – [m/s]: stats interval size, (m) 1 minute, (s) 15s, else, Real Time • Limitations – Run on oracle client 11.2 and 12cR1 – Statistic_level=Typical
  • 42. ORATOP Do less ….get more … Gadi Chen Co-Founder –TopExperts www.topexperts.co.il Gadi.chen@topexperts.co.il +972-54-6804475