SlideShare a Scribd company logo
1 of 42
Download to read offline
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

Similar to unix_linux_ORATOP_TechDays2016_presentations

Explore big data at speed of thought with Spark 2.0 and Snappydata
Explore big data at speed of thought with Spark 2.0 and SnappydataExplore big data at speed of thought with Spark 2.0 and Snappydata
Explore big data at speed of thought with Spark 2.0 and SnappydataData Con LA
 
Building a high-performance data lake analytics engine at Alibaba Cloud with ...
Building a high-performance data lake analytics engine at Alibaba Cloud with ...Building a high-performance data lake analytics engine at Alibaba Cloud with ...
Building a high-performance data lake analytics engine at Alibaba Cloud with ...Alluxio, Inc.
 
Pilot Hadoop Towards 2500 Nodes and Cluster Redundancy
Pilot Hadoop Towards 2500 Nodes and Cluster RedundancyPilot Hadoop Towards 2500 Nodes and Cluster Redundancy
Pilot Hadoop Towards 2500 Nodes and Cluster RedundancyStuart Pook
 
Essential Data Engineering for Data Scientist
Essential Data Engineering for Data Scientist Essential Data Engineering for Data Scientist
Essential Data Engineering for Data Scientist SoftServe
 
Sql server performance tuning and optimization
Sql server performance tuning and optimizationSql server performance tuning and optimization
Sql server performance tuning and optimizationManish Rawat
 
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
InfluxEnterprise Architecture Patterns by Tim Hall & Sam DillardInfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
InfluxEnterprise Architecture Patterns by Tim Hall & Sam DillardInfluxData
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture PerformanceEnkitec
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaDatabricks
 
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...javier ramirez
 
Aggregated queries with Druid on terrabytes and petabytes of data
Aggregated queries with Druid on terrabytes and petabytes of dataAggregated queries with Druid on terrabytes and petabytes of data
Aggregated queries with Druid on terrabytes and petabytes of dataRostislav Pashuto
 
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...Amazon Web Services
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceEnkitec
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander ZaitsevMigration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander ZaitsevAltinity Ltd
 
Emerging technologies /frameworks in Big Data
Emerging technologies /frameworks in Big DataEmerging technologies /frameworks in Big Data
Emerging technologies /frameworks in Big DataRahul Jain
 
Casual mass parallel computing
Casual mass parallel computingCasual mass parallel computing
Casual mass parallel computingaragozin
 
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...javier ramirez
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 editionBob Ward
 
Overview of data analytics service: Treasure Data Service
Overview of data analytics service: Treasure Data ServiceOverview of data analytics service: Treasure Data Service
Overview of data analytics service: Treasure Data ServiceSATOSHI TAGOMORI
 

Similar to unix_linux_ORATOP_TechDays2016_presentations (20)

Explore big data at speed of thought with Spark 2.0 and Snappydata
Explore big data at speed of thought with Spark 2.0 and SnappydataExplore big data at speed of thought with Spark 2.0 and Snappydata
Explore big data at speed of thought with Spark 2.0 and Snappydata
 
Building a high-performance data lake analytics engine at Alibaba Cloud with ...
Building a high-performance data lake analytics engine at Alibaba Cloud with ...Building a high-performance data lake analytics engine at Alibaba Cloud with ...
Building a high-performance data lake analytics engine at Alibaba Cloud with ...
 
Pilot Hadoop Towards 2500 Nodes and Cluster Redundancy
Pilot Hadoop Towards 2500 Nodes and Cluster RedundancyPilot Hadoop Towards 2500 Nodes and Cluster Redundancy
Pilot Hadoop Towards 2500 Nodes and Cluster Redundancy
 
Essential Data Engineering for Data Scientist
Essential Data Engineering for Data Scientist Essential Data Engineering for Data Scientist
Essential Data Engineering for Data Scientist
 
Sql server performance tuning and optimization
Sql server performance tuning and optimizationSql server performance tuning and optimization
Sql server performance tuning and optimization
 
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
InfluxEnterprise Architecture Patterns by Tim Hall & Sam DillardInfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
InfluxEnterprise Architecture Patterns by Tim Hall & Sam Dillard
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and Delta
 
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
Ingesting Over Four Million Rows Per Second With QuestDB Timeseries Database ...
 
Aggregated queries with Druid on terrabytes and petabytes of data
Aggregated queries with Druid on terrabytes and petabytes of dataAggregated queries with Druid on terrabytes and petabytes of data
Aggregated queries with Druid on terrabytes and petabytes of data
 
ASH and AWR on DB12c
ASH and AWR on DB12cASH and AWR on DB12c
ASH and AWR on DB12c
 
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...
Amazon RDS for MySQL – Diagnostics, Security, and Data Migration (DAT302) | A...
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander ZaitsevMigration to ClickHouse. Practical guide, by Alexander Zaitsev
Migration to ClickHouse. Practical guide, by Alexander Zaitsev
 
Emerging technologies /frameworks in Big Data
Emerging technologies /frameworks in Big DataEmerging technologies /frameworks in Big Data
Emerging technologies /frameworks in Big Data
 
Casual mass parallel computing
Casual mass parallel computingCasual mass parallel computing
Casual mass parallel computing
 
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
Cómo se diseña una base de datos que pueda ingerir más de cuatro millones de ...
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
 
Overview of data analytics service: Treasure Data Service
Overview of data analytics service: Treasure Data ServiceOverview of data analytics service: Treasure Data Service
Overview of data analytics service: Treasure Data Service
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 

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