Why user sessions are frequently blocked?

from the time that we did a database migration from oracle 8i to oracle 9i, and the application to developer 6i we have faced a new problem, ' the user sessions are frequently blocked'
anybody have any idea? it is a database parameter that must be changed?...
thnx,

Hi,
Since it was a migration from oracle 8i to oracle 9i, your performance is suppose to increase rather than decrease given condition that hardware and oracle configuration does not change.
How did you figure out that user sessions are frequently blocked?
You can query v$session_wait and check why it is blocked/waiting?
You can query v$locked_object to check if it is blocked for lock on some other objects?
Regards

Similar Messages

  • Sessions are in blocked state

    Hi Gurus,
    we are inserting data into one table and using append and parallel hints...but that query is not completed yet and those sessions are in blocked list.
    can you please let me know how to overcome this issue and below is the query:
    INSERT /*+ APPEND PARALLEL(emp 8) */ INTO emp_temp
      (empno,empname,dateofjoining,deptno,sal)
      SELECT /*+ PARALLEL(empn 8) */
             empno,empname,dateofjoining,deptno,sum(sal) sal
      FROM emp_V;
    is it correct usage or anyother best way for improving performance.

    Thanks for the response.
    Below is the issue details more detailed:
    We have created table with parallel degree 8 and I am not able to insert data into that table and the sessions are blocked state.
    I am seeing event names in blocked state are px deq: parse reply px deq: execution msg
    Temp_table -- parallel degree8
    I am selecting the data from multiple tables as per my requirement and trying to insert that data into the temp table.
    Below is the query:
    Insert into /*+PARALLEL(Temp_table)*/ Temp_table(report_date,quantity,revenue)
    select  /*+PARALLEL(Temp_table_v)*/ report_date,quantity,revenue from Temp_table_v;
    In Temp_table_v we are joined the multiple tables and those tables are having millions of records and in that view also we have added parallel hints.
    Please help.

  • Essbase error 101 all 255 user sessions are in use

    Hi There,
    I try to connect to EAS and I got the following error:
    essbase error 101 all 255 user sessions are in use
    I have administrator right, wondering how to fix this?
    Thanks

    You must be on an older version and licensing scheme of essbase where number of ports could be restricted by license. Try bouncing off essbase service and you should be able to connect.
    For future, add the settings to automatically kick off user session after x number of minutes to avoid ghost sessions.

  • Why stale sessions are creating in Data Load Execution?

    Hi Experts,
    Can anyone tell,Why stale session are creating every time, when i do the incremental load in operator tab?.Thanks In advance.
    Regards,
    raj

    Hi Experts,
    I got the some below information from blogs..is it correct?
    When the network connection has a problem or an agent gets disconnected from master and work repository momentarily, we end up with stale sessions.and master and work repositories Crash.
    Thanks

  • There a lot of accounts of apple,where are many games,these accounts are sold every day,i know that only 5 person can download one app,i want to know why this accounts are not blocked

    There a lot of accounts of apple,where are many games,these accounts are sold every day,i know that only 5 person can download one app,i want to know why this accounts are not blocked

    This is not a technical question, and discussions of Apple's policies are not appropriate here. If you have some sort of problem with your own iTunes Store account, by all means let us know and we may be able to help you, but otherwise this question is not one we can discuss in these forums.
    Regards.

  • BC4J View not Thread safe, user sessions are using the same view instance

    Hi There,
    We are using BC4J that came with JDeveloper 10.1.2.0.0 with Oracle 10G 10.1.2.0.0.
    I have an BC4J account search view (BC4J AccountSearchView) that users can call to search for an account. So this view could be used by numerous users and pieces of code at the same time. Now my understanding is that each user gets their own instance of the view so changing the view's query should not be an issue (since the view definition is not changing). Under a light load the account search view looks like everyone get there own instance of the view and there expected account search results. But under a heavy user load when we have User A and User B the search query that was for User A will be used by User B. So the user results for one user will get the other users results.
    I do not understand if the view definition is been changed by the other user and is impacting all view instances. How can this occur if it is thread safe?
    I have enclosed the core code for this search.
    If you can help that would be much appreciated, thanks in advance,
    Nigel
    accountSearchView.setQuery(baseSelectQuery+generateWhereClause());
    logger.debug("SearchAccounts Query: "+accountSearchView.getQuery());
    System.out.println("SearchAccounts SQL: "+accountSearchView.getQuery());
    accountSearchView.setPassivationEnabled(false);
    accountSearchView.setForwardOnly(true);
    accountSearchView.executeQuery();
    get attributes for each row result and place in new Java bean objects and return to user.

    Nigel, we've only certified JDeveloper 10.1.2 against the Struts 1.1 with which it ships.
    If there have been any changes in Struts 1.2 to the Struts Request Processor, then this could easily have an impact on the BC4JRequestProcessor's correct functioning, depending on what the changes were.
    My quick look into the issue tells me that the ActionServlet init parameter named mapping in web.xml that we use for the 9.0.3-style BC4J/Struts integration is getting ignored by Struts 1.2. This parameter is used by Struts 1.1 to globally configure a custom ActionMapping subclass which can support additional properties. My quick test shows me that Struts 1.2 is ignoring this setting and so the oracle.jbo.html.struts11.BC4JActionMapping subclass of Struts's default ActionMapping is not getting used correctly as it does in Struts 1.1. This leads to errors when Struts tries to configure its actions in struts-config.xml since the Apache digester tries to set properties on the ActionMapping instance that don't exist (since the BC4JActionMapping has these properties, and it's not being used).
      <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>mapping</param-name>
          <param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
        </init-param>
      </servlet>This is my quick analysis of what's not out-of-the-box compatible. I don't know enough about the changes in Struts 1.2 to know why this Struts 1.1 feature broke in Struts 1.2, or what the Struts 1.2 way to accomplish the same thing is.
    I'd encourage you to use Worldwide Support's Metalink site and open a TAR for any time-critical issues you need assistance in resolving. Many of us are constantly traveling and only able to sporadically chime in with tips in the forum as our time permits.
    The source of the BC4JRequestProcessor ships with the produce in the ./BC4J/src directory inside the bc4jstrutssrc.zip file.

  • User Sessions are swapped

    I have an application where users login and can view their personal information.
    The server is iPlanet 4.1 sp8.
    We are running JSP and Servlets on the webserver, Weblogic is the JAVA/EJB server.
    We store users "ID" in the session to be used to query the data.
    The problem is that User 1 is logged in and doing their thing and all of sudden they are seeing User 2 information.
    This has happened once, as of now I cannot duplicate the problem.
    We have 5 web servers clustered using a Cisco Content Switch.
    Any Ideas????
    Thanks.
    Jon.

    We are having the same problem: one user "becomes" another user unpredictably. Our environment is clustered web servers but only one application server. Browsers are mixed. Session is is being 'swapped' one for the other erratically.

  • I have 14.01 on windows 7 64bit. My sessions are frequently freezing to such an extent that it is unusable. No particular web sites its general.

    When this happens i cannot leave the current screen other than to close the seesion with windows X tag. I run several anti virus and spyware products and do not believe that the problem lies in that area.

    Make sure that you allow the plugin-container process in the firewall.
    *http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins
    You can check for problems caused by a recent Flash 11.3 update and possibly try these:
    * downgrade to Flash 11.2 or 10.3
    * disable protected mode in Flash 11.3
    * disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows

  • Two sessions are blocked each other in

    Hi All,
    My database is Exadata machine. 11.2
    These days we encountered one case, that is two sessions are always blocked by each other. I get this info from v$session blocking_session.
    For examle, the information looks like
    sid blocking_session event
    1 2 libarary cache lock
    2 1 row cache lock
    and as you know there are many other sessions are blocked by sid 1.
    By lookiing up v$sql, I got the sql for these 2 sessions.
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_TEMP_MV" COMPILE
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_MV" COMPILE
    Both of these 2 MV share some underlying objects. And both of the 2 sessions started at the same time roughly.
    If the compilation incurs the lock on the object, why the 2 sessions block each other?
    Can someone give me some tips,please?
    Best regards,
    Leon

    Leon,
    sid blocking_session event
    1 2 libarary cache lock
    2 1 row cache lockYou are saying that above situation does not cause a deadlock error to be generated in either one of those two sessions?
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_TEMP_MV" COMPILE
    /* QSMQ VALIDATION */ ALTER SUMMARY "XXXXX"."Gxxx_CP_CAL_TIME_MV" COMPILEThese to me look like programmed 'ALTER SUMMARY' commands (the comment in front of the statement seems to indicate so). It's the application that's doing this right?
    - Can you reproduce this with two sqlplus sessions?
    - Why is the application compiling the MV's? Are underlying objects being altered frequently?
    - Should the application not just be 'refreshing' the MV's instead of compiling them?
    Just some thoughts.
    Toon
    Edit:
    Dom's right. The alter summary statements seem to be Oracle internal calls generated by DBMS_MVIEW.REFRESH executions.
    Edited by: Toon Koppelaars on Nov 24, 2011 10:41 AM

  • Why am I getting frequent spam emails via iPad that are not coming through my primary email account?  And how do I get them to stop?

    Why am I getting frequent spam emails via iPad that are not coming through my primary email account?  And how do I get them to stop? 

    Hi D.,
    Unfortunately phishing is far too common these days. The articles below will help you determine the authenticity of the emails that you received.
    Identifying fraudulent "phishing" email
    http://support.apple.com/kb/ht4933
    Identifying legitimate emails from the iTunes Store
    http://support.apple.com/kb/ht2075
    -Jason

  • One of the users on my Mac book pro, running Mountain lion finds that no changes made in last session are there next time they log on

    One of the users on my Mac book pro running mountain lion finds that no changes made in last session are there next time they log on.
    For instance, the Macintosh HD icon, is always moved so that it is almost off the screen to top left hand side of the desktop.
    None of my changes to the sidebar in the finder are there.
    My changes to the dock have reverted.
    Despite unticking the box when logging out, even though i have quit all applications, iphoto and safari are always re-opened.
    iphoto always says the library needs to be upgraded... even though i did that the last time.
    I have tried deleting ALL the files in the "Saved application state" folder in the library folder, but that doesn't seem to make any difference.
    This is on a second admin user account.
    The main user account seems to be fine.
    This account used to be in the filevault on Lion, but is not now in Mountain Lion.
    Can anyone help?
    Thanks

    The same tragic thing happened to me, not even a full two days after I bought it. I immediately powered it off, wiped it as best I could, and put it in front of a fan. I tried valiantly to get the back off, but couldn't remove all the screws. I was basically inconsolable until I realized that no matter what, my credit card insurance would cover it, since it had been less than 90 days. Fast forward 48 hours, and it seemed to run just fine. Some of the keys and the track pad were sticky, and I figured since it was covered, I might as well get it fixed. My only concern at this point was had I voided the Apple Care. I brought it in, told them what happened, said what I needed to satisfy the credit card, and they said, "We'll just swap it out for you, no problem." I was thrilled, and the Genius said they appreciated my honesty, and it was easier for all parties to just do it this way. And my Apple Care was transferred to the new machine. This was my first Mac and, needless to say, I am now an Apple devotee.

  • Multiple session are open thought Users log out.

    Hello Gurus,
    I do see at CMC that many sessions are being open for many days even though users are logged out.
    We are using SAP 4.0 (14.0.4)  SP4. It's causing license issues and users are not able to log in.
    We have restarted our VM's and clear the IE browsers as well but issue still remains.
    Can you please help me on this.
    Best Regards,
    Sai

    Hi Sai,
    Could you give more information about BOE products you use and for which datasource type (UNV, UNX ?).
    I know SP04 still had different issues where multiple sessions were created when working on UNX Universes (see https://support.wdf.sap.corp/sap/support/notes/1764372), and it could lead to "lost sessions". There are other similar problems fixed in more recent versions of BOE, so you may think about upgrading your platform at some point to benefit from all these corrections.
    Regards,
    Loic

  • Why users are not able to see certain printers even though they are in the Airgroup server table

    Q: Why users are not able to see only certain printers even though they are in the Airgroup server table ?
    A: In certain scenarios  we may notice  printers come up under the server /cache entries on the controller.
    However when an airgroup user does search for printer, they may not see all the printers, certain printers may be not visible .
    This is because the service IDs sent by the user in the MDNS query are not broadcast by these printers 
    In the below capture the Ipad sends query for service id "_universal_sub_ipp_tcplocal" and "_universal_sub_ipps_tcplocal" and hence the controller will 
    respond with the printers that broadcasts these service ids.
    Non–Visible printer : 
    _printer._tcp.local                                                              PTR                         IN     7200  10.125.30.223  5820.05  Wed Mar 18 13:24:26 2015
    _pdl-datastream._tcp.local                                               PTR                         IN     7200  10.125.30.223  6112.25  Wed Mar 18 13:24:26 2015
    _ipp._tcp.local                                                                     PTR                         IN     7200  10.125.30.223  5888.15  Wed Mar 18 13:24:26 2015
    _http._tcp.local                                                                    PTR                         IN     7200  10.125.30.223  6293.88  Wed Mar 18 13:24:26 2015
    NPIED487E.local                                                                  A                             IN     240   10.125.30.223  194.43   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     SRV/NBSTAT                  IN     240   10.125.30.223  209.87   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  205.14   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  197.18   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  196.42   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._printer._tcp.local                     TXT                         IN     240   10.125.30.223  208.15   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local              SRV/NBSTAT                  IN     240   10.125.30.223  207.35   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._pdl-datastream._tcp.local              TXT                         IN     240   10.125.30.223  200.64   Wed Mar 18 13:24:26 2015
    hp LaserJet 4250 [ED487E]._ipp._tcp.local                         SRV/NBSTAT                  IN     240   10.125.30.223  209.44   Wed Mar 18 13:24:26 2015
    Visible-printer :
    _printer._tcp.local                                                                         PTR         IN     4500  10.125.26.29   3745.82  Wed Mar 18 13:24:51 2015
    _universal._sub._ipp._tcp.local                                                PTR         IN     4500  10.125.26.29   3694.14  Wed Mar 18 13:24:51 2015
    _ipp._tcp.local                                                                                PTR         IN     4500  10.125.26.29   3628.81  Wed Mar 18 13:24:51 2015
    _pdl-datastream._tcp.local                                                          PTR         IN     4500  10.125.26.29   3616.14  Wed Mar 18 13:24:51 2015
    _http._tcp.local                                                                              PTR         IN     4500  10.125.26.29   3793.56  Wed Mar 18 13:24:51 2015
    XRX9C934E25C52D.local                                                                A           IN     120   10.125.26.29   355.03   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local         SRV/NBSTAT  IN     120   10.125.26.29   130.45   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._printer._tcp.local         TXT         IN     4500  10.125.26.29   3670.33  Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local             SRV/NBSTAT  IN     120   10.125.26.29   389.55   Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._ipp._tcp.local             TXT         IN     4500  10.125.26.29   3640.60  Wed Mar 18 13:24:51 2015
    Xerox WorkCentre 3615 (25:C5:2D)._pdl-datastream._tcp.local  SRV/NBSTAT  IN     120   10.125.26.29   210.97   Wed Mar 18 13:24:51 2015
    In order to learn other printers we may need to use specific app provided by printer vendor on the client or configure the printers to send these service IDs.

    The net 451 issues made it not work after a while but it affected the entire RWW site not just remote access:
    http://blogs.technet.com/b/sbs/archive/2014/01/13/troubleshooting-an-unexpected-error-occurred-message-when-using-remote-web-access-to-connect-to-computers.aspx
    Careful if you try and uninstall it, you'll need to put back net 4.0 and reconfigure some stuff.
    Did it ever work?  
    Make sure the users have installed the certificate they need and turn on compatibility mode in IE (also make sure IE isn't locked down and disabling activeX).:
    https://technet.microsoft.com/en-us/library/dd701173%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    -- Al

  • Sp_who2 -need only active sessions from users which are not the background sessions

    Hello,
    sp_who2 -need only active sessions from users which are not the background  sessions
    Please assist.
    Best regards,
    Vishal

    Its better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
    You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
    SELECT
    S.SESSION_ID,
    S.STATUS,
    S.HOST_NAME,
    C.CLIENT_NET_ADDRESS,
    CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
    S.PROGRAM_NAME,
    C.CONNECT_TIME,
    S.LOGIN_TIME,
    CASE S.TRANSACTION_ISOLATION_LEVEL
    WHEN 0 THEN 'UNSPECIFIED'
    WHEN 1 THEN 'READUNCOMITTED'
    WHEN 2 THEN 'READCOMMITTED'
    WHEN 3 THEN 'REPEATABLE'
    WHEN 4 THEN 'SERIALIZABLE'
    WHEN 5 THEN 'SNAPSHOT'
    ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
    END AS TRANSACTION_ISOLATION_LEVEL_NAME,
    S.LAST_SUCCESSFUL_LOGON,
    S.LAST_UNSUCCESSFUL_LOGON,
    S.UNSUCCESSFUL_LOGONS,
    S.CPU_TIME AS CPU_TIME_MS,
    S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
    S.ROW_COUNT,
    S.PREV_ERROR,
    S.LAST_REQUEST_START_TIME,
    S.LAST_REQUEST_END_TIME,
    C.NET_TRANSPORT,
    C.PROTOCOL_TYPE,
    S.LANGUAGE,
    S.DATE_FORMAT,
    ST.TEXT AS QUERY_TEXT
    FROM
    SYS.DM_EXEC_SESSIONS S
    FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
    WHERE
    S.SESSION_ID IS NULL
    OR S.SESSION_ID > 50
    ORDER BY
    S.SESSION_ID
    -Prashanth

  • Session 1648 is blocking 2 other sessions

    Hi,
    We are getting this Warning from the EM very frequently.
    How can I know Which user process is blocking which session?
    We are using 10.2.0.1.0 db in linux environment.
    Can you please provide me the query or quide me to get which process is blocking by which process?
    Thanks a lot in advance.
    Thanks
    Pathan

    >
    Can you please provide me the query or quide me to get which process is blocking by which process?There are two ways to do it,
    1) In the EM, in the performance tab,there is a link called Blocking Sessions. This would show you in the tree like structure that which session is bloking others and which are the blocked sessions. You can killl the blocking one from here itself.
    2) The same interface is given in CLI from ORacle supplied script under $OH/rdbms/admin/utlockt.sql. This would show the same results but in the sql prompt.
    2a) There are three views that you can use to create your own script,
    DBA_Blockers, DBA_waiters and V$locked_object ( already mentioned by last poster) .
    HTH
    Aman....

Maybe you are looking for

  • How to attach files from "Office" to E Mail

    Hi, I am using a Nokia Lumia 720. and I have an outlook account, which I use with regularity. I have faced a problem which is still not resolved - how to attach files in the mail. 1. You open Outlook Mail or any mailbox that you are using and then yo

  • File association keeps on reverting to old settings

    Hi I have a problem with file association. We have both Adobe Indesign CS3 and Adobe Indesign CS4 installed in one of the macs. By default, all indesign files are opened in CS4. What I wanted to do is have all the indesign files opened in CS3 instead

  • Trading partner deletion from accoutning document

    Dear Gurus, Is it possible to delete trading partner field - in additional data of accounting document - is it possible to delete trading partner from accounting document Rgds, Saurabh

  • Some minor issues we are facing in converting the 6i application to 10g ,

    Regarding 10g froms i need support in resolving following issues:- 1. Direct print to default printer In some of our applications user do not want to see the print preview and prefer direct print in 6i we were doing this by defining Desitination in r

  • How to changed the download  options?

    When I tried to download from internet or files they send me it automatically opens with itunes. How can I change this?