Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Automatically altering session
Hi Jill
I'm afraid there's no robust way to do it from inside the database. Somebody
mentioned
ON-LOGON database triggers, but they are not available in O7.
The nicest place to put this ALTER SESSION statement is the beginning of your
job's
code. Perhaps you can find a way to put it there.
Rgrds,
Karen Abgarian.
Jill wrote:
> We run PeopleSoft on an AIX server using 7.3.4.3. Our on-line systems runs
> well in CBO, but the batch COBOL on the server runs better in RBO. Does
> anyone know of a way that AIX can detect a batch process initiating, and
> issue an "ALTER SESSION SET OPTIMIZER_GOAL = RULE"? We would then leave the
> database in a default mode of CHOOSE.
>
> Thanks for your help.
Received on Thu Aug 26 1999 - 13:05:28 CDT