gkaulbach
29th July 2002, 18:50
Hello,
In all of our Oracle db's supporting our Baan 4b and 4c installs, there are several sessions for each single Baan user session. Our worst has a ratio averaging 1:7 (Baan session:Oracle sessions). Others are approx. 1:4. This is a concern re:Oracle licenses. Does anyone know why Baan does this, or if it may indicate a configuration problem?
As an example:
select count(username) from v$session;
79
select count(distinct username) from v$session;
579
- same usernames are usually tied to same os process id
Thanks
George
James
29th July 2002, 19:52
Sounds like you're running Oracle Multi-Threaded-Server. (MTS)
You can reduce the max number of dispatcher processes in your init.ora file to maybe avoid hitting the licence limit. But I'd look again at your reasons for running MTS.
gkaulbach
29th July 2002, 20:00
No, we're not running MTS.
gguymer
30th July 2002, 01:05
This is normal for Baan to spawn that many sessions per user. That doesn't mean that you have to like it, since it increases the load on the database server. And, it doesn't put your Oracle license in jeopardy, so don't worry about that. You can make Baan cut it down to 1 session per user, but it isn't recommended by Baan because it causes other problems. Hope this helps.
Gilbert Guymer
Database Administrator
Lufkin Industries, Inc.
Markus Schmitz
30th July 2002, 11:41
This ratio is only th case with Oracle 7.
If you migrate to oracle 8 you will get a ratio of 1:1.
Funny enough this will not change anything in regards to CPU and memory consumption.
Again, it's normal, don't worry.
Markus
gkaulbach
30th July 2002, 14:58
Thank you Gilbert for help.
Markus, our databases are version 8i. You may have a Baan configuration file set differently for your vers 8 db's?
Markus Schmitz
30th July 2002, 16:31
Hi george,
you are right, we actually do have a setting, which could be the reason:
BDB_MAX_SERVER_SCHEDULE = 1
I just think this parameter might be differently interpreted by the oracle 7 driver compared to the oracle 8 driver. But you can try this. As I said, it does not necessarily have a positive impact anyway!
honestly I also had the impression, it did not have a negative one either.
I would appreciate your feedback in thi sregard,
Markus