Several alter session and SQL * Net message from dblink in APEX

Hello

I have Apex 4.2.3 and I use Glassfish more listener of the Apex.

Database is 11.2.0.4 under linux

Looking for the session active database, I see that apex run several alter session with a lot of expectation as SQL * Net message from dblink the.

Ex:

ALTER session set NLS_TERRITORY = "AMERICA."

call the query of disc elapsed to cpu count current lines

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse 58 0.00 0.00 0 0 0 0

Run 58 0.06 3.53 267 58 0 0

Fetch        0      0.00       0.00          0          0          0           0

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Total 116 0.06 3.53 267 58 0 0

Chess in the library during parsing cache: 0

The analysis of the user id: 277 (recursive depth: 1).

Elapsed time are waiting on the following events:

Event waited on times max wait for the Total WHEREAS

----------------------------------------   Waited  ----------  ------------

SQL * Net message to dblink 174 0.00 0.00

SQL * Net message from dblink 174 3.47 0.03

********************************************************************************


Why he is doing a lot to change session? Why the wait is SQL * Net message from dblink the?

We have recently to load a new language, but I'm not sure that this is the main problem.



I think that you have the link db in the workspace schema and data requested by the Apex of this link. For example, it may be

report which uses db link. Check dba_db_links or user_db_links for the existing links. Check if this link used by Apex.

Tags: Database

Similar Questions

  • Wait for the event begins with SQL * Net message from client-time wait 178577 units

    Hello

    I'm watching events waiting for a request from long time in TOAD.
    I start the query on an instance of TOAD, and open the browser to log on to another instance.
    But I am surprised to see that in "TOtal expected" on the RIGHT part->
    SQL * Net message from client is the longest time and is already - > 178577 units while I just to start the query.

    Considering that, in the current waiting she shows DB file scattered read correctly for a few seconds.

    Please suggest.

    user8941550 wrote:
    Hello. No explanation for this... :-(

    Hello

    people work here, you don't know?
    I think Tom Kyte explains it well enough. This wait event is linked to your session database waiting for the guest to say to do something.

    So it is not related to the database, but to your application.
    Also as it is a wait of session event you might have had your session inactive for some time (do nothing)

    If you want to check the waiting events correctly I suggest using tkprof and start a new session in SQL more as shown by Tom Kyte in the link I posted.

    Then, run your query in sqlplus setting track and pull it out as soon as your statement is completed.
    that is to say:

    -- myest.sql
    alter session set events '10046 trace name context forever, level 12';
    SELECT ... -- your query here
    exit
    

    Run in sqlplus in this way:

    sqlplus user/password@db @mytest.sql
    

    Then check with tkprof.

    Kind regards.
    Al

  • Wait events, SQL * Net message from client

    Hi all

    I have a doubt about oracle wait events, specifically of "SQL * Net message from client. I've read a lot about this, I've seen some say that network and other material resources can provoke him, and saw that the problems in the application code can cause it too. I am tracking a few tests here and I don't have that chooses are the double event, usually a lot of SQL * Net message to client waiting (I used sqlplus, developer sql and pl/sql). Can someone explain to me why? Another question is where this wait type cause interference, meet it demand for the database and stays on hold and do not meet another request so that the wait is over, is it? The waiting just finish when the application closes the database connection or there is another way to end the waiting?

    Since then, thank you very much.

    Hello

    chooses double what usually causes a lot of SQL * Net message to client waiting

    Do you run them from your server applications or from the DB server itself?

    "SQL * Net client message" is an idle wait event although he'd still explain to the elapsed time of the query.

    It indicates only that the database is waiting for the other entries of the customer and when he expects the DB, those expectations get incremented.

    I suggest you explore size SDU, RECV_BUF_SIZE, and SEND_BUF_SIZE parameters.

    http://docs.Oracle.com/CD/B19306_01/network.102/b14212/performance.htm

    Kind regards

    Suntrupth

  • SQL * Net message from client

    Hi all

    I have a session that runs longer than usual. Instead of filling in 20 minutes, he was running for about 2 hours.

    Initial review of show expected that the session was waiting on this SQL * Net client message for a piece of time.

    The session state was idle, while the State changed pending work very frequently.

    I had activated track and found the bottom of the entries in the trace file.

    EXEC #11529215044976967776:c = 0, e = 1944, p = 0, cr = 11, cu = 3, set = 0, r = 0, dep = 0, og = 1, plh is 2651636916, tim = 2309884016239

    #11529215044976967776 ERROR: err = 54 tim = 2309884016520


    TKProf reports the following

    TOTALS FOR ALL NON RECURSIVE INSTRUCTIONS

    call the query of disc elapsed to cpu count current lines

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    Parse        0      0.00       0.00          0          0          0           0

    Run the 884 1.47 1.42 2660 9724 0 0

    Fetch        0      0.00       0.00          0          0          0           0

    ------- ------  -------- ---------- ---------- ---------- ----------  ----------

    884 total 1.47 1.42 2660 9724 0 0

    I need to know what is meant by the error line in the trace file?

    We use oracle EBS 11i with 11 GR 2 db. This session belongs to a simultaneous request



    Oracle - ORA-00054: resource busy and acquire with NOWAIT specified or expired timeout - Stack Overflow

    -------------

    Sybrand Bakker

    Senior Oracle DBA

  • How to make a link to send to my website for an elegant form fillable and electronic for several signing sessions and downloads from our Web site?

    How to make a link to send to my website for an elegant form fillable and electronic for several signing sessions and downloads from our Web site?

    Hi stacey1246,

    You can create an interactive PDF form & publish it on your website interactive Edition PDF web forms. Use the same to collect data of forms using Adobe Acrobat and form on the web.

    Kind regards
    Nicos

  • ALTER SESSION in sql script produces strange results

    Why "alter session set NLS_DATE_FORMAT" would interfere with the operation of a sql script?

    First of all, the script without the ALTER SESSION:
    SQL> !cat doit1.sql
    --alter session set NLS_DATE_FORMAT = "DD-MON-YYYY"
    set pagesize 99
    set trimspool on
    col BIRTH_MONTH for a11
    break on BIRTH_MONTH skip 1
    spo doit.txt
    prompt My Membership
    set feedback off heading off
    select 'As of ' || sysdate from dual;
    set heading on
    --
    select count(*) from dual;
    --
    spool off
    And its execution:
    SQL> @doit1
    My Membership
    
    As of 14-JAN-10
    
      COUNT(*)
    ----------
     1
    Everything is well with the world. Now let's throw in the ALTER SESSION:
    SQL> !cat doit2.sql
    alter session set NLS_DATE_FORMAT = "DD-MON-YYYY"
    set pagesize 99
    set trimspool on
    col BIRTH_MONTH for a11
    break on BIRTH_MONTH skip 1
    spo doit.txt
    prompt My Membership
    set feedback off heading off
    select 'As of ' || sysdate from dual;
    set heading on
    --
    select count(*) from dual;
    --
    spool off
    And its performance
    SQL> @doit2
    set pagesize 99
    *
    ERROR at line 2:
    ORA-00922: missing or invalid option
    
    
    
      COUNT(*)
    ----------
     1
    not spooling currently
    SQL> 
    Don't like the SET commands (I played a bit with many, he does not like one any of them) and does not take account of the order of the opening COIL

    First of all, I've noticed this with a 10.2.0.1 connected to a 10.2.0.4 (windows) client database (HP - UX). Confirmed on my laboratory portable VM, 10.2.0.4 under OEL5, client and db on the same virtual machine.

    You are missing just the leak ';' at the end of the line to alter session. Add to that, it all works.

  • I developed an Android application for a Digital Magazine with Digital Publishing Suite (Professional). Several weeks ago, I received this message from Google game: "we wanted to let you know that your app (s) listed below statically link against a versio

    I developed an Android application for a Digital Magazine with Digital Publishing Suite (Professional).

    Several weeks ago, I received this message from Google game: "we wanted to let you know that your app (s) listed below statically link against a version of OpenSSL that has several vulnerabilities for users. Please migrate your app (s) to a new version of OpenSSL within 60 days of this notification. From 07/07/15, game Google will block the release of new applications and updates that use versions older, not supported by OpenSSL (see below for more details). »

    I've updated the Android App using function Web app Designer, but they keep sending me this message. I don't understand what I have to do.

    Hi Sheila,

    If you connect to your Google game account, it will show you who sent you the warning to the apps. The generator on the web app produces Android apps which are not affected by this vulnerability.

    Neil

  • In some ways, enter no sign has been added next to contact, now all messages previously received messages have disappeared and no new messages from this sender will appear.

    I received messages from this sender end and then all of a sudden for some reason there was a do not enter sign next to its name. I knew not how or why it got there, some button hit or mouse and I did not know how to remove it so I just left. Since then, thunderbird has been reopened and all the messages I had received disappeared and no new messages from this sender appear even though I know she sent them to me. I checked the filters and I don't put so it isn't that. I can't figure out how him do not enter sign next to the contact, but I'm sure that's the reason for my problems, and I don't know how to fix it. Thank you

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • Lock on a table and SQL * Net more data from client

    Hello

    I have a problem loading data through Php in Oracle: web page of Php open an xml file, create a .csv, then begins to Oracle using an external table to process the data.

    The problem is that, the second time that PHP is trying to run the following query:

    INSERT INTO table1 T (Field1, Field2, field3, field4, sphere5, case field6) VALUES ('Aaa1E63819707', SYSDATE, 'KO', 'error', 'L', 'file_name.xml') POLL INTO Field1: id

    on the Oracle sessions, I have an exclusive lock on table1 and wait for SQL * Net more data from client.

    Where is the problem?

    Thank you

    Igor

    Finally I found the problem: a DBA changed the cursor sharing EXACT force! I restored the CORRECT setting and now everything is fine.

    Thank you

    Bye,.

    Igor

  • I loaded the new update for Firefox today and received a message from 'need to reboot to complete the installation'. However, even after restarting several times the update does not load and he always invites me to restart my computer.

    The update does not load, and I can't "remove" program to my computer and reload as the same (needs to restart to complete the installation) error message keeps appearing even after several reboots.

    Do a cleaning (re) install and delete the folder of the program Firefox (C:\Program Files\Mozilla Firefox\).

    Download a new copy of Firefox and save the file to the desktop.

    Uninstall your current version of Firefox if possible.

    • Do not remove the data of a personal nature when you uninstall the current version or you lose your bookmarks and other data in the profile folder.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • It is important to remove the Firefox program folder to delete all the files and make sure that there is no problem with the files that were the remains after uninstallation.

    Your bookmarks and other profile data stored in the Firefox profile folder and will not be affected by a relocation, but make sure that you do not select delete data of a personal nature if you uninstall Firefox.

  • Detect and respond to messages from the BlackBerry Instant Messaging by program

    Hello

    Is it possible to programmatically change the State or even meet with instant messages on a third-party application BlackBerry Instant Messaging?

    I was looking around the classes net.rim.blackberry.api.blackberrymessenger. * and extract from the example code of TicTacToe.  My understanding is that it only allows to add an application service (game of tic tac toe) menu the blackberry messenger.  Please correct me if I'm wrong.

    Any information or suggestion would be useful.

    Thank you.

    BlackBerryMessenger is a protocol based on session. Communications are app-to-app, as shown in the example of TicTacToe.

    You can not intercept the communications of another application.

  • Find several riding session and County

    Hello:

    How can you find all/many sessions overlapping and its counts? For example, lets say you have an overlap_session table with cus_id, session_start_tmstp, session_end_tmstp with the data as follows:

    There could be several session that overlap in 1 session etc.

    CUST_ID SESSION_START_TMSTP SESSION_END_TMSTP

    000000001 04/01/2010 09:36:43 04/01/2010 19:42:37
    000000001 04/01/2010 09:42 04/01/2010 10:42
    000000001 04/01/2010 13:17:58 04/01/2010 15:05:39
    000000001 04/01/2010 15:48:40 04/01/2010 19:06:50
    000000001 04/01/2010 18:42:21 04/01/2010 22:10:35
    000000001 04/01/2010 21:15:27 04/01/2010 23:27:03
    000000001 04/01/2010 22:30:27 04/01/2010 23:15:03

    Expected results:

    CUS_ID SESSION_START_TM SESSION_END_TM NUM_SESSIONS
    000000001 04/01/2010 09:42 04/01/2010 10:42 2
    000000001 04/01/2010 13:17:58 01/04/2010 15:05:39 2
    000000001 04/01/2010 15:48:40 01/04/2010 18:42:20 2
    000000001 04/01/2010 18:42:21 01/04/2010 19:06:50 3
    000000001 04/01/2010 21:15:27 01/04/2010 22:10:35 2
    000000001 04/01/2010 22:30:27 01/04/2010 23:15:03 2

    So why not closw the wire by the marker as a response.
    Saves a lot of time for other volunteers.

    G.

  • TCPWARE instead of TCP and SQL * NET compatibility

    I use an oracle on VMS client, that connects to a base of oracle 11G windows on server 1.
    Everything works fine.

    2A TCPware server instead of TCP and while we compatabilities verfied for this product, when I
    set up I get the wonder 12154 TNS could not resolve the connect identifier.


    The customer Oracle on both servers are 10.2.0.2.0 and the database is 11 GR 1 material. As previously stated,
    Server there is no connection problem persists...

    my connection is made

    sqlplus/nolog
    connect sys/tester09@devorcl as sysdba
    devorcl is the machine of 11G.

    Any idea what might be different with the TCPWARE product? or how to test? I added a trace
    My sqlnet.ora file and nothing doesn't happen.

    ORA-12154 is a very basic problem, it means that what he says... "could not resolve identifier of connection...". Protocol of questions, if there is, come later.

    /*
    ORA-12154: TNS: could not resolve the specified connection Cause identifier: a connection to a database or other service has been requested using a login name, and the specified connection identifier could not be resolved into a connect descriptor using one of the configured naming methods. For example, if the type of connection identifier used was a network service name then the network service name is not found in a naming method repository, or the repository impossible located or reached.
    Action:
    -If you are using local naming (TNSNAMES. ORA file):

    S ' ensure that "TNSNAMES" is cited as one of the values of the NAMES. DIRECTORY_PATH parameter in the profile Oracle Net (SQLNET. ORA)

    -Check that a TNSNAMES file. ORA file exists and is in the appropriate directory and is accessible.

    -Check that the network service name used as the connect identifier exists in the TNSNAMES file. ORA file.

    -Make sure that there are no errors of syntax anywhere in the TNSNAMES file. ORA file. Search for unmatched parentheses or stray characters. Errors in a TNSNAMES file. ORA file can make it unusable.

    -If you use the directory naming:

    -Check that "LDAP" is one of the values of the NAMES. DIRETORY_PATH parameter in the profile Oracle Net (SQLNET. ORA).

    -Check that the LDAP directory server is in place and be accessible.

    -Check that the net service name or the database name as an identifier of connection is configured in the directory.

    -Check that the default context used is correct by specifying a full network service name or a unique display name of LDAP as the identifier of connection

    -If you use easy connect naming:

    -Check that "EZCONNECT" is one of the values of the NAMES. DIRETORY_PATH parameter in the profile Oracle Net (SQLNET. ORA).

    -Make sure that the host name, port and service specified are correct.

    -Try putting the identifier of connection between quotation marks. See the Oracle Net Services Administrator's Guide or the specific guide to the Oracle operating system for more information on naming.
    */

    Ensure connect you identifier "devorcl" can be solved on server 2. I'm not familiar with the virtual computers, so I don't know how to build an appropriate environment sqlnet. At least I know it's possible to connect virtual computers on any other platform.

    Werner

  • I tried to backup my iPad mini to iCloud and received the message from the last couldn't backuup [t be completed.  Why?

    I did a backup of iCloud on my iPad 16 GB iOS9.  I got the message last backup could not be completed.  Why?

    Data backup

    Troubleshooting backup

  • Re: I have developed an Android application for a Digital Magazine with Digital Publishing Suite (Professional). Several weeks ago, I received this message from Google game: "we wanted to let you know that your app (s) listed below statically link against

    After reading many of the other threads OpenSSL DPS piggybacking on this thread.

    I did not use the web viewer to base app to build my android app. I built it using the DPS application Builder on my computer.

    111.jpg

    That's what my app looks like in the DPS App Builder. I'm not sure what I need to do to comply. I apologize in advance, I am a mac user and I am a novice when it comes to all things windows!

    I will note that I am happy rebuild the application using the viewer app based on the web if it is the best way to deploy applications android of DPS.

    Hello

    You must rebuild your application using the web App Builder and then submit to Google. Go to http://appbuilder.digitalpublishing.acrobat.com/ and sign in with the same account that you use with the desktop App Builder.

    Instructions on how to use the web version of the tool, including the Office to the tool, signature https://helpx.adobe.com/digital-publishing-suite/help/building-android-apps.html.

    Neil

Maybe you are looking for