Тёмный

ASH Report - How Different than AWR Report? How to Generate ASH Report? Read & Interpret ASH report 

Mallik034
Подписаться 21 тыс.
Просмотров 9 тыс.
50% 1

ASH Report - How different than AWR report
How to generate ASH Report?
How to read and interpret ASH report?
AWR:
How to identify bad SQL?
Where to look at AWR report or ASH report?
AWR:
--- Gives you only TOP SQLs
--- Other SQLs are executed at the same time which will not be captured in AWR
Example:
--- 1 standard program used to run in 10 second which taking 1 mins.
--- As per Application or business perspective SLA is 10 sec, At any cost this standard SQL has to complete in 10 sec
--- Since this executed within 1 min so it never appeared in AWR report.
Example is Banking transactions
If application team is coming up and complaining out these type of issues and if you want to have a look on these SQLs and issue best way to look at them is ASH report (Active Sessions History)
Application team are coming and complaining at 5:00 PM that morning 10 AM my query was not running properly.
Option1 - You can not check V$SESSION
Option2 - Next option is you may generate AWR and check for the query but no guarantee you may get that SQL
Option3 - ASH comes into picture
select * from v$sgastat where name like 'ASH buffers';
select min(sample_time), max(sample_time) from v$active_session_history;
How to generate the ASH report?
To generate an ASH report on the local database instance using the command-line interface:
@$ORACLE_HOME/rdbms/admin/ashrpt.sql
To generate an ASH report on a specific database instance using the command-line interface:
@$ORACLE_HOME/rdbms/admin/ashrpti.sql
Generating an ASH Report for Oracle RAC
@$ORACLE_HOME/rdbms/admin/ashrpti.sql
docs.oracle.com/database/121/...
#ASH #ASHReport #V$SESSIONS #V$ACTIVE_SESSION_HISTORY #DBA_HIST_ACTIVE_SESSION_HISTORY #AWR #Oracle #RAC #Database #Exadata #ASM
Please do follow me and support me on,
LinkedIn: / mallik034
RU-vid: / mallik034
Fakebook: / mallik034
Blog: mallik034.blogspot.com
twitter: / mallik034
Instagram: / mallik034
FBPage: / mallik034oracledba
Skype: malluramadurg
Regards,
Mallikarjun Ramadurg
Mobile: +91 9880616848
WhatsApp: +91 9880616848
Email: malluramadurg@gmail.com
LinkedIn: / mallik034
RU-vid: / mallik034
Fakebook: / mallik034
Blog: mallik034.blogspot.com
twitter: / mallik034
Instagram: / mallik034
FBPage: / mallik034oracledba
Skype: malluramadurg

Опубликовано:

 

18 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@BHARARHROYAL
@BHARARHROYAL 3 года назад
Eagerly waiting for your performance tuning sessions. Thanks a lot.
@sanjeevvellaisamy6282
@sanjeevvellaisamy6282 3 года назад
This performance tuning series definitely will resolve many real time performances issues.
@Mallik034
@Mallik034 3 года назад
Thanks true Sanjeev
@Mallik034
@Mallik034 3 года назад
Sure Bharath, I will cover all the PT sessions in details.
@esubabupachipala1708
@esubabupachipala1708 3 года назад
Thanks a lot ,Waiting for remaining tuning topics
@Mallik034
@Mallik034 3 года назад
Sure more to come in future days
@aayushsingh1378
@aayushsingh1378 6 месяцев назад
So beautiful so elegant just looking like a wow
@sanjeevvellaisamy6282
@sanjeevvellaisamy6282 3 года назад
Thanks for connecting your tuning series sir. Your videos very useful. Thanks again
@Mallik034
@Mallik034 3 года назад
It's my pleasure
@abduls12
@abduls12 2 года назад
Simply superb Thanks for all hard work done on it
@Mallik034
@Mallik034 2 года назад
Welcome
@rajeshkunda6704
@rajeshkunda6704 3 года назад
Good explanation sir, thank you for providing PT sessions.
@Mallik034
@Mallik034 3 года назад
Thanks and welcome
@good123g
@good123g 2 года назад
You are my dronacharya
@madhankumarkancharla28
@madhankumarkancharla28 3 года назад
Simply superb👍
@Mallik034
@Mallik034 3 года назад
Thanks a lot
@meghakaradi
@meghakaradi 3 года назад
Good one
@Mallik034
@Mallik034 3 года назад
Thanks
@vijaypalani6661
@vijaypalani6661 3 года назад
you're great bro
@Mallik034
@Mallik034 3 года назад
Thanks
@nandugoda2826
@nandugoda2826 3 года назад
You rocked it, It a good series till now. Waiting for mare pt videos.
@Mallik034
@Mallik034 3 года назад
Thank you so much 😀 more PT videos to come in upcoming days
@lilhanvi2035
@lilhanvi2035 9 месяцев назад
Can you please share the queries used in video
Далее
Maybe i need to add instructions @popflexactive
00:14
CLANCY 🦞 Operation Squid Ink (New Brawler Animation)
00:58
Troubleshooting Oracle database using ASH
56:48
Просмотров 6 тыс.
Analysis of a Couple AWR Reports - OTW2018
57:32
Просмотров 23 тыс.
Maybe i need to add instructions @popflexactive
00:14