Re: Extremely poor execute performance
- From: martin.evans@xxxxxxxxxxxx (Martin J. Evans)
- Date: Sun, 16 Sep 2007 18:10:38 +0100
Andy Baumhauer wrote:
Martin,Glad to hear it. resmg:wait quantum caught me some time ago when a complicated query was taking over 8s every now and again and yet running it outside of the application in sqlplus took less than .1s. It must now be one of the most optimised queries we have as we spent some time on it before we realised the remgr was adding an 8s wait every now and again because of the total work the application had done.
Thank you so much for the spot on reply. The work you saved with that reply is greatly appreciated.
Martin
I checked the resource groups with this statement:
COL initial_rsrc_consumer_group FORMAT A24 HEADING 'Resource|Consumer|Group'
COL username FORMAT A12 HEADING 'User Name'
SELECT
initial_rsrc_consumer_group,
username
FROM dba_users
ORDER BY 1,2
;
The user was in the DEFAULT_CONSUMER_GROUP. I issued the following commands as the sysdba to move the user to the SYS_GROUP, and the problem went away (I'm the only user of this database, and it exists for conversion of data.
EXEC DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP('SOMEORACLEUSER', 'SYS_GROUP', TRUE);
EXEC DBMS_RESOURCE_MANAGER.SET_INITIAL_CONSUMER_GROUP('SOMEORACLEUSER', 'SYS_GROUP');
I hope this helps someone else in the future.
Andy Baumhauer
.
- References:
- Extremely poor execute performance
- From: Andy Baumhauer
- Re: Extremely poor execute performance
- From: Martin J. Evans
- Re: Extremely poor execute performance
- From: Andy Baumhauer
- Extremely poor execute performance
- Prev by Date: Re: Oracle Performance still bad.
- Next by Date: Re: odd install problem with DBD::Pg
- Previous by thread: Re: Extremely poor execute performance
- Next by thread: Performance still bad.
- Index(es):