PERFSTATS [message #490203] |
Fri, 21 January 2011 14:54 |
|
chuckstoker
Messages: 10 Registered: January 2011
|
Junior Member |
|
|
I have a copy of a VERY LARGE, OLTP database that is in READONLY mode. Logs are applied nightly to resync. This database, although not designed for it, is used to create data warehouse type reports. I need to determine performance metrics but am running into roadblocks due to it being readonly. I can really just gather info from the v$ tables.
AWR is obviously out of the question, but I was wondering if it was possible to modify the STATSPACK procedures to gather metrics and write them to a read/write database via a database link. Anybody ever try or am I way off base here?
|
|
|
|
Re: PERFSTATS [message #490238 is a reply to message #490203] |
Sat, 22 January 2011 12:43 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Here's an idea: I don't know if it will work, because I can't test. Could you use the old utlbstat/utlestat scripts? Run them on a read/write database, edited so that you query the v$ views in your read only database through a database link?
|
|
|
|
|
|
|
|
Re: PERFSTATS [message #490569 is a reply to message #490560] |
Tue, 25 January 2011 11:56 |
|
Michel Cadot
Messages: 68728 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
CREATE TABLE is a DDL, so internal transactions that are not managed in the same way. It is NOT an INSERT SELECT.
As I said, check it.
Regards
Michel
|
|
|