Hi,
I have a list of SQLs in a file. I need to open 10 Oracle sessions that read from this file in such a way that each session doesn't read or execute a SQL that's being handled by another session.
Initially I tried by allocating a set number of SQL's to each of the sessions. This worked fine, but some of the sessions "finished" their job early and were sitting idle, which I want to avoid.
And when I give access to all SQLs to all sessions, more than 1 session was trying to run the same SQL and erring out ?
Any smart ideas ?
Thanx
-Maria
I have a list of SQLs in a file. I need to open 10 Oracle sessions that read from this file in such a way that each session doesn't read or execute a SQL that's being handled by another session.
Initially I tried by allocating a set number of SQL's to each of the sessions. This worked fine, but some of the sessions "finished" their job early and were sitting idle, which I want to avoid.
And when I give access to all SQLs to all sessions, more than 1 session was trying to run the same SQL and erring out ?
Any smart ideas ?
Thanx
-Maria