Running statspack report remotely from a client?
649635Nov 21 2009 — edited Nov 21 2009Hi!
To get a statspack report I run @spreport.sql from an SQL*Plus session on the database server.
Having to go to the DB server for that sometimes is a chore and I would prefer to get a report from any client, or even from within SQL Developer.
Is there an easy way to achive this or is there a tool for that?
Obviously, the spreport.sql might differ from Oracle DB version to version, so I would either need to have a series of these reports scripts on the client and the select the right one or I would need to have some mechanisum (stored proc?) that gets to rdbms/admin on the server, executed the spreport.sql script there, read the output and return that from to the client.
Is there an easier way or anyone knows of a package that will do that?
Thanks,
Marcus