SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
database job hangs

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
database job hangs
Author Message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post database job hangs Reply with quote

my db job hangs when ruinning remotely - i can;t see any errors, here is the trace file :

/*---------------------------------------------------*/
/* 7/8/02 18:55 */
/*---------------------------------------------------*/
(6a51288): LOGIN: (234 MilliSeconds)
(6a51288): CONNECT TO TRACE O84:
(6a51288): LOGID=devi
(6a51288): SERVER=inpro_leeds (0 MilliSeconds)
(6a51288): SELECT * FROM SYS.SESSION_ROLES WHERE ROLE = 'DBA' (0 MilliSeconds)
(6a51288): PREPARE: (0 MilliSeconds)
(6a51288): EXECUTE:
(6a51288): EXECUTE compaq_comm

And I have to stop the remote agent to get out of it.
But if I run teh command in SQL*PLUS:
execute compaq_comm;
It takes 7 seconds !!!!!
I don't understand why it is hanging like this.

Mon Jul 08, 2002 2:09 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: database job hangs Reply with quote

SQL*Plus does not use Oracle OCI, all other 3rd party programs connecting to Oracle, including 24x7, do use it. Please check that your Oracle required support files are up-to-date.

Just out of curiosity try changing the command from EXECUTE to
BEGIN compaq_comm; END;

This will force Oracle to use PL/SQL engine instead of SQL engine.

: my db job hangs when ruinning remotely - i can;t see any errors, here is the
: trace file : /*---------------------------------------------------*/
: /* 7/8/02 18:55 */
: /*---------------------------------------------------*/
: (6a51288): LOGIN: (234 MilliSeconds)
: (6a51288): CONNECT TO TRACE O84: (6a51288): LOGID=devi
: (6a51288): SERVER=inpro_leeds (0 MilliSeconds)
: (6a51288): SELECT * FROM SYS.SESSION_ROLES WHERE ROLE = 'DBA' (0
: MilliSeconds)
: (6a51288): PREPARE: (0 MilliSeconds)
: (6a51288): EXECUTE: (6a51288): EXECUTE compaq_comm

: And I have to stop the remote agent to get out of it.
: But if I run teh command in SQL*PLUS: execute compaq_comm;
: It takes 7 seconds !!!!!
: I don't understand why it is hanging like this.

Mon Jul 08, 2002 2:28 pm View user's profile Send private message
Dominic Klein



Joined: 23 Nov 2001
Posts: 132

Post Re: database job hangs Reply with quote

: SQL*Plus does not use Oracle OCI, all other 3rd party programs connecting to
: Oracle, including 24x7, do use it. Please check that your Oracle required
: support files are up-to-date.

: Just out of curiosity try changing the command from EXECUTE to
: BEGIN compaq_comm; END;

: This will force Oracle to use PL/SQL engine instead of SQL engine.
I changed it to BEGIN compaq_comm; END; and it worked and took a few seconds - I will check it tomorrow to see if it worked OK - this may have fixed the problem.
So what do you think was the problem ?

Tue Jul 09, 2002 4:15 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.