Exporting AWR data in a csv file [message #671401] |
Tue, 28 August 2018 19:39  |
 |
Nagesh1985
Messages: 10 Registered: April 2016
|
Junior Member |
|
|
Hi,
I would like to export specific data from AWR report onto a csv file. For example, I would like to export top 5 wait events for a specific snapshot from AWR report onto a csv file. I will then use this file to plot a graph for better understanding.
Are there any sql scripts that I can use, or if you can point me in the right direction where I can develop the scripts.
Thanks
|
|
|
|
|
|
|
|
|
Re: Exporting AWR data in a csv file [message #671431 is a reply to message #671403] |
Wed, 29 August 2018 10:41   |
John Watson
Messages: 8966 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Nagesh1985 wrote on Wed, 29 August 2018 04:07X-axis will be the time period. Y-axis will be any event from AWR. For example, i would like to plot the wait event "buffer busy waits" for a period of 30 days. Or plotting how a particular sql_id fared interms of elapsed time over a period of 10 days. Is this not standard functionality in Cloud Control? CC is free, you might as well use it.
|
|
|
Re: Exporting AWR data in a csv file [message #671453 is a reply to message #671431] |
Thu, 30 August 2018 02:22  |
Roachcoach
Messages: 1576 Registered: May 2010 Location: UK
|
Senior Member |
|
|
John Watson wrote on Wed, 29 August 2018 16:41Nagesh1985 wrote on Wed, 29 August 2018 04:07X-axis will be the time period. Y-axis will be any event from AWR. For example, i would like to plot the wait event "buffer busy waits" for a period of 30 days. Or plotting how a particular sql_id fared interms of elapsed time over a period of 10 days. Is this not standard functionality in Cloud Control? CC is free, you might as well use it.
More or less, doesn't always give quite the precision I like though.
@OP: Just dump the data out into a sql*plus spool session. DBA_HIST_* views are what you want.
|
|
|