High concurrent session in database
Hi expertise,
I have a core banking solution database of 9i. In db concurrent session is 1660 and active concurrent session is 70. Due to high concurrent session my ATM transaction are getting hampered. Please suggested me any workaround in this regards
Pinak
918601 wrote:
Hi expertise,
I have a core banking solution database of 9i. In db concurrent session is 1660 and active concurrent session is 70. Due to high concurrent session my ATM transaction are getting hampered. Please suggested me any workaround in this regards
Insufficient data - what does 'hampered' mean, and what is the scale of the problem ?
Can you show us some indication of how you detect the issue and where you are seeing time lost.
I can make a few guesses about a highly concurrent ATM system:
<ul>
Bad coding could result in waits for TX locks in mode 6, although using IOTs (index organized tables) would make these TX mode 4
Unfortunate index design could result in wait for TX locks in mode 4 - particularly ITL waits and index leaf block split waits
Basic infrastructure issues could result in time lost on buffer busy waits
If you've implemented shared servers (formerly MTS) to cater for 1700 connections then you may be waiting for shared servers to become free
If you haven't implemented shared servers your (inactive) processes may still be causing CPU wastage problems at the O/S scheduler level.
</ul>
If the issue is largely the (fairly standard for this type of application) buffer busy waits issue then an investigation of hash partitioning may be appropriate.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Similar Messages
-
Total concurrent sessions in database.
I have a doubt as to how to check the total concurrent sessions on the database. I mean, how many total sessions are connected to the database at any particular moment.
I hope, my question is clear.
Please, help in solving the doubt.
regardsIs this a duplicate of your other question?
Total sessions in database
Have you looked up the V$SESSION table i the documentation? That's probably what you're looking for.
Justin -
I have a doubt as to how to check the total sessions on the database. Also, how many total sessions which are possible on the database.
I hope, my question is clear.
Please, help in solving the doubt.
regardsI assume this is a duplicate of your other thread.
Re: Total concurrent sessions in database.
I answered in the other thread. In the future, though, please don't duplicate posts.
Justin -
Whats the limit of max no of concurrent sessions in oracle9i database
Hi,
pls let me know whats the limit of max no of concurrent sessions in oracle9i database .
Thanks.Hi,
Oracle no longer offers licensing by the number of concurrent sessions.
There used to be 2 initialization parameters : - LICENSE_MAX_SESSIONS and LICENSE_SESSIONS_WARNING . these have been deprecated.
Therefore Jaffer's statements stands.....
Cheers...rCube. -
SHUTDOWN: Active sessions prevent database close operation
Hi
Yesterday morning, our Oracle Apps Database did not shutdown and throws the following error.
Fri May 11 06:57:18 2012
Active call for process 2031784 user 'xxxl' program 'oracleyyy@zzz'
SHUTDOWN: waiting for active calls to complete.
Fri May 11 07:04:01 2012
Incremental checkpoint up to RBA [0x165b.1b2b21.0], current log tail at RBA [0x165b.1b2b21.0]
Fri May 11 07:11:14 2012
MMNL absent for 1203 secs; Foregrounds taking over
Fri May 11 07:24:05 2012
Incremental checkpoint up to RBA [0x165b.1b2b42.0], current log tail at RBA [0x165b.1b2b4a.0]
Fri May 11 07:44:10 2012
Incremental checkpoint up to RBA [0x165b.1b2b6f.0], current log tail at RBA [0x165b.1b2b7d.0]
Fri May 11 07:52:18 2012
SHUTDOWN: Active sessions prevent database close operation
Fri May 11 08:04:39 2012
Since last 3 years, we never faced such a situation even though many modules (oracle Apps) were implemented from time to time. This time OTL module is going live and consultants were running some procedure during backup start time.
Even after issuing 'addbctl.sh stop immediate', how come oracle did not close all the database sessions? How to prevent such situation in future?
Any help is highly appreciated.
Regards
Arizuddinyou can first do a alter system checkpoint and then try to shutdown the database.
You can also kill all the active user sessions from v$session and then shutdown the database. -
Large number of concurrent sessions
What optimizations are used to provide a large number of concurrent sessions?
Generally:
1) Design so that clustering is easy - e.g. cache only read-only data, and
cache it agressively
2) Keep replication requirements down - e.g. keep HTTP sessions small and
turn off replication on stateful session beans
3) Always load test with db shared = true so that you don't get nasty
surprise when clustering
4) Don't hit the database more than necessary - generally the db scales the
poorest
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Priya Shinde" <[email protected]> wrote in message
news:3c6fb3bd$[email protected]..
>
What optimizations are used to provide a large number of concurrentsessions? -
No of Concurrent Sessions Per User Mismatch with profile settings
Hi
DB Version Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
OS RHES 5U2
I created a profile MYPROFILE and set the value of Concurrent Sessions (Per User) to 30. DB was bounced after creating the profile. I made this profile default for a particular user "MYUSER". I verified that by querying DBA_USERS (select profile from dba_users where username like 'MYUSER') I checked v$session with that particular user after sometime and noticed that it was showing 34 sessions. Some ACTIVE and some INACTIVE.
My question is, if I have set the maximum limit of concurrent sessions per user to 30 in myprofile and made this the default profile for MYUSER, then how come i am still able to see more than 34 sessions of myuser regardless of the status? I am not sure if this is relevant or not but the IDLE TIME is set to 15 minutes.
Thank you for your help
Edited by: user560883 on Jul 4, 2010 12:45 AMuser560883 wrote:
Hi
DB Version Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
OS RHES 5U2
I created a profile MYPROFILE and set the value of Concurrent Sessions (Per User) to 30. DB was bounced after creating the profile. I made this profile default for a particular user "MYUSER". I verified that by querying DBA_USERS (select profile from dba_users where username like 'MYUSER';) I checked v$session with that particular user after sometime and noticed that it was showing 34 sessions. Some ACTIVE and some INACTIVE.
My question is, if I have set the maximum limit of concurrent sessions per user to 30 in myprofile and made this the default profile for MYUSER, then how come i am still able to see more than 34 sessions of myuser regardless of the status? I am not sure if this is relevant or not but the IDLE TIME is set to 15 minutes.
Thank you for your helpDid you set the parameter resource_limit=true ? You must do it before you test sessions_per_user. You can do so like the following,
alter system set resource_limit=true;After this again try and post the feedback.
HTH
Aman.... -
Controlling concurrent logons to Database
Does anyone know if it is possible to control the number of concurrent database logons. I want to be able to limit the number of concurrent logons to 1. I see that resource profiles can be used and there is an option called SESSIONS_PER_USER, however I believe this setting only controls the number of concurrent sessions not logins per user.
The DB versions are 10.1.0 and 10.2.0
Any advice would be great.
Regards,
Leigh.What exactly do you mean by 'Logons per user'. When a user log on, it does create a session on the database side and 'sessions_per_user' you mentioned looks pretty good to me. I could be misunderstanding your requirement.
-
Advantages of using higher version of catalog Database.
Hi Gurus,
Wanted to know what are the advantages of using higher version of catalog database.
for ex: my target database is 10.2.0.4 and catalog database is 11.2.0.1The very reason is that you would be able to use all the new features offered by the current release. Like, 11gr2 offers Virtual Private Catalog which you can only use in 11.2. So its better that you move your catalog too to the higher version when you upgrade your database.
HTH
Aman.... -
How can i restrict a user not open more than 3 sessions in database
how can i restrict a user not open more than 3 sessions in database.For this i have already create a profile and set CONCURRENT_SESSIONS=3 and assing that profile to user but the problem is there.
You will simply need to use the following parameter in your CREATE PROFILE syntax.
CREATE PROFILE normal_user
LIMIT SESSIONS_PER_USER 2;
but the resource limits set for a profile are enforced only when you enable resource limitation for the associated database.
you could do this either by having an initialization paramater which will invoke as soon as the database starts or try using ALTER SYSTEM command -
10.2.0.3 high concurrency wait event
I have a new 64bit windows 10g 10.2.0.3 VM server doing nothing but spinning its wheels. I intalled Oracle on it Friday and when I checked it tonight I see it is getting high concurrency wait events. Looks like every 10 minutes concurrency goes up to about 35.0 (?seconds) and then goes back to 0 - up and down every few minutes. Just enough to hit the warning threashold.
I need this machine for a peoplesoft install on Monday morning.
Anyone have any ideas what this could be? I kinda know what concurrency is but not sure if it could be from hardware or software.
Didn't see any patches/bugs but I will continue to look.
Help, KathieWhat are the wait events as described in v$system_wait and v$session_event?
-
Inactive sessions increasing database
Hi
We are using oracle11.5.10.2 on windows 2000 server and database version 10.2.0.3
we are facing problem with inactive sessions,grdually inactive sessions increasing and thats leads database crash.
Temporary i increased processes parameter value tp 400 prviously it was 200
Most of inactive session from apps user only
How can i fix this problem?
Thanks
With Regards
OHHi,
Please see these threads.
how to kill inactive sessions????????
how to kill inactive sessions????????
Inactive sessions in Database
Re: Inactive sessions in Database
Regards,
Hussein -
Hi,
Lot inactive sessions are in database, Before we bounce database ----> max process got reached, For that we have changed max process and bounced the database but i can see still 75 inactive sessions in database,
SQL> show parameter process
NAME TYPE VALUE
aq_tm_processes integer 1
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 2
log_archive_max_processes integer 2
processes integer 200
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
Then i changed processes to 300
SQL> show parameter process
NAME TYPE VALUE
aq_tm_processes integer 1
db_writer_processes integer 1
gcs_server_processes integer 0
job_queue_processes integer 2
log_archive_max_processes integer 2
processes integer 300
even after bouncing still 75 inactive sessions in databaseHi,
What are the events/programs of those sessions?
Have you started the application or not yet?
Go through the following documents and see if it helps.
Note: 427759.1 - How To Prevent Inactive JDBC Connections In Oracle Applications
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=427759.1
Note: 261791.1 - 11i JDBC Thin client connections remain active, MAX PROCESSES REACHED
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261791.1
Regards,
Hussein -
Hi,
We are facing a problem of lot of inactive sessions consuming huge resources. We have setup connection pooling from weblogic application and connection timout and resuse parameters have been setup from application side for connection pooling. And we still find high inactive sessions which are not getting released even after application user closes the session properly. What might be the work around for this as we facing this for last one week.
Oracle 10.2.0.3.0 on solaris box.
regards
JaffyJaffy wrote:
Hi,
We are facing a problem of lot of inactive sessions consuming huge resources. We have setup connection pooling from weblogic application and connection timout and resuse parameters have been setup from application side for connection pooling. And we still find high inactive sessions which are not getting released even after application user closes the session properly. What might be the work around for this as we facing this for last one week.
Oracle 10.2.0.3.0 on solaris box.
regards
JaffyHi Jaffy,i suggest you have to configure profile for oracle users.For example if you user will inactive 10 minute then can oracle automatically kill this session.For this you can create profile as:
create profile test_prof limit idle_time 10;
alter user <user> profile test_prof;
/*but first you need change resource limit*/
alter system set resource_limit=true; -
High Availability for EBS Database 11gR2
Hello Gurus,
We have the below environment:
Oracle Applications - 12.1.3
Oracle Database - 11.2.0.3
OS - Oracle Enterprise Linux 5.7
I would like to know how to achieve high availability for the database. We don't want to go with RAC at this stage. What are the other alternatives to achieve high availability at the database side.
Thanks in advance!
-KhanI have come across the note id
How To Install An Oracle Database In An Active/Passive Configuration Without RAC? [ID 734361.1]
Can you please confirm if this can be used to configure Database for HA?
Also please confirm if I need to get the two servers configured with any cluster software at Linux level?
Maybe you are looking for
-
Service Desk: Message from Sat.- to SolMan with different users
Hello, I have a problem creating tickets in my satellite systems. The user in the sat. system is not the same than the user in the solman. Our systems run for educational purposes and the users in the satellite systems can be created by the lectures.
-
I am unable to Disable Flash Player hardware acceleration if it keep crashing as I am unable to access. I have cleared, reinstalled, etc.... and tried everything on these forums. I have also submitted crash reports to Firefox.
-
How to send/keep parameter
Hi, I have a classic report and I linked col1 by another page page3. I have here an text_item that show me this parameter. I try to send this parameter to a procedure and it is not working. How can I keep this parameter in a variable? Thank you
-
Firefox 29 Does not Appear to Support Java 8 Plugin
Why won't firefox recognize the Java 8 plugin after a fresh install. I have FF 29. I had to install Java 7u55 instead. I even uninstalled Java 7u51 prior to the attempt.
-
Due to huge file message failed in Moni
Hi All Scenario is SQL to BI My sender Adapter successfully picked up data from SQL. Both Select query and Update querry have done there operations. All the records were selected, there flags are updated successfully. Now problem is when it came to I