Hello frnds,
Due to performance, we want to Initialize the session variable in the oracle only for the particular Project
Is there is any way to trigger the oracle parameter for particular project?
Because our DS project has lot of OCI stage ,so Initialize the oracle session by using before query in OCI stage is not good for maintains purpose so i wish to do it for the particular DS project
Please give your valuable suggestions
Regards
Raj
How to set oracle paremeter for particular DS project
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Define "performance" in an ETL context.
The short answer is that each job must initialize its own connection(s) to Oracle - what you seek to do is not possible on a project-wide basis.
Version 8 gives you Connector technology, which improves developer productivity, but it remains the case that, at run time, each job establishes its own connection(s), gets its own SQL prepared, establishes its own transaction handling, and so on.
The short answer is that each job must initialize its own connection(s) to Oracle - what you seek to do is not possible on a project-wide basis.
Version 8 gives you Connector technology, which improves developer productivity, but it remains the case that, at run time, each job establishes its own connection(s), gets its own SQL prepared, establishes its own transaction handling, and so on.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Re: How to set oracle paremeter for particular DS project
Unfortunately, since each stage establishes its own connection / session, that is your only option. You would need to use a Job Parameter for the 'alter session' statement in order to control it per Project.raj158347 wrote:Because our DS project has lot of OCI stage ,so Initialize the oracle session by using before query in OCI stage is not good for maintains purpose
Out of curiousity, what 'Oracle session variable'?
![Confused :?](./images/smilies/icon_confused.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
oracle session variable
Hi,
Thanks for reply,
We are planning to set the following session variable to avoid the full table scan.
" alter session set OPTIMIZER_INDEX_COST_ADJ =25; "
Because some time oracle miss judge full table scan plan is better than other plan (index/range plan) to avoid this we are planning set this session variable.
Regards
Raj
Thanks for reply,
We are planning to set the following session variable to avoid the full table scan.
" alter session set OPTIMIZER_INDEX_COST_ADJ =25; "
Because some time oracle miss judge full table scan plan is better than other plan (index/range plan) to avoid this we are planning set this session variable.
Regards
Raj
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: