3 entries per session gv$

Hello
I have an open connection to 11.2 db db and one to 11.2

When I run select username, INST_ID select GV $ session where the username as 'abc '.

It returns a single line in 11.1 but 3 lines of 11.2 whis is it? I have only a single connection to 11.2 db user abc!


SELECT USERNAME INST_ID
------------------------------ ----------
ABC 1
ABC 1
ABC 2

Thank you

Hello

the problem is that you ask GV$ SESSION as user ABC.
And this translates into the "strange" behavior

If you select gv$ parallel session of 2 servers are laid to query the session of $ v on each node. This happens to the same user.
That's why when you query a gv$ session in the ABC form you see 3. (A real and 2 parallel slaves query v$ session on each instance).

You see 1 on one node and 3 on the other is the order in which the parallel addresses session of query the v$.

Take the sys user to query the session of ABC and you will not see this problem.

Hope that explains it.

Sebastian

Published by: ssolbach on August 27, 2010 05:25

Tags: Database

Similar Questions

  • Can I set up a temporary destination per session for response messages?

    Hello

    I use WebLogic 10 with Sonic MQ via a foreign JNDI provider configuration. Sonic suggested that the most effective way to receive replies (in a request/response scenario) must set the JMSReplyTo header to a temporary queue, send the message and then receive in this temporary queue. In this way, we avoid message selectors (which have high in Sonic overload).

    I can code this thin up, assuming I have create a temporary queue by message however, Sonic prefer create us a temporary queue by session / thread rather than message for better performance. This is where I am stuck! If I use WebLogic wrappers so how could I implement the temporary queue per session?

    Any help much appreciated.

    Thank you

    Mandy

    Looks OK - also probably do not return items wrapped in the pool, and instead of this cache a reference to them in the bean according to the "15 March 2010 14:32 ' send in this same thread.

  • Re: Queries per session

    Hi all

    Operating system: HP - UX
    Database server: Oracle 10 g

    I'm just trying to find the queries per session. I use V$ sql for the query and V$ session to get the sid. Now, I don't get any common column helps I can join these two columns.

    Recognizing you all.

    Concerning
    Martine

    Hi all

    using this application you can find the SQL running for each session
    but to use this query, you must know the process id of the operating system, which may be to get or the ps command or if you want to know the name of wise schema then you must first extract the process of operating system for this session by joining v$ session and v$ process as

    Select a.username, b.spid from session $ v a, v$ process b where a.paddr = b.addr and a.username is not null and a.username = 'SCOTT';

    If you want to see the session created by scott schema and its pid OS i.e., SPID, and then you can find the sql code of this session as

    Select a.sql_text from v$ sql a, v$ session b, v$ process c where a.sql_id = b.sql_id and b.paddr = c.addr and c.spid = '1234';

    where 1234 is the spid of session of schema scott at the os level.

    Mohd Farhan.
    consultant of the database.

  • IOM search results: increase the number of entries per page

    Hello

    When you search for IOM, ten IM appear on each page. We want to increase the number of entries returned per page. Anyone know if this is possible or not? And, if possible, how it is configured?

    Thank you!

    Ed

    Check xlDefaultAdmin.properties.

    global.displayRecordNum.value = 10

    You can increase from there.

  • unlimited time-out, but the idle time-out is 30 minutes per session

    Hi all

    I connect with client Anyconnect for an ASA5510 (8.2.1 (11))

    In group policy, I idle timeout = unlimited, but if I control the session in asdm and the command line

    I find idle timeout = 30 minutes.

    If I insert idle timeout = 60 in politics, in the session I see Idle timeout = 60 min.

    Is only a problem in the visualization of the session?

    Defining the 'vpn-idle-timeout none' group strategy is a misunderstood command. When it is set in group policy, it does not neutralize the idle-timeout. In the past, I filed a bug in order to clarify what this setting (see CSCsm15079) to clarify the misunderstanding. In more recent versions of the code with bug fix, context-sensitive help for command now correctly explained:

    ASA(config-Group-Policy) # vpn - idle - timeout?

    orders/options mode group policy:

    <1-35791394>Number of minutes

    No IPsec VPN: disable the time-out and allow indefinite idling;

    VPN SSL: Use the value by defect-idle-timeout

    When set to none, and you are using SSL VPN, this means that he will inherit the default-timeout defined under the Webvpn config. The default value for this command is 30 minutes, so that's probably why ASDM displays 30 minutes. If you want to adjust this value, it can be changed with:

    conf t

    WebVPN

    by default-idle-timeout

    If you want an 'unlimited' idle time, must be defined the vpn-idle-timeout in group policy for a specific number instead of "none" - the maximum that you can set to the vpn-idle-timeout command is 35791394 minutes (something like ~ 24000 days or essentially unlimited).

    Please note this post and mark it as resolved if he addressed the issue.

  • I want to print my address list in a way that consumes less space, maybe two entries per line

    I maintain a paper copy of my list of e-mail addresses. I find that useless paper is consumed by current printing set up. No or very little use made of the right part of the page. Is there a fairly simply way I could persuade Mozilla to print in two columns? I would be able to live with the printing of information such that, where there is a change in the initial letter of the next recipient (such as a change from 'k' to 'l') it appeared that half way down a column having for result the possibility that there could be several initial letters appearing on a page. Please note that I'm fairly qualified in the operations of the computer and will not be offended by the answer "there is no simple way to do it" or similar.

    Export the address book to a CSV file
    In the address book window, select Tools-export
    Open the CSV file in Excel and organize the data as desired and print it from there.

  • How can I make firefox start per session open previous tabs by default?

    Basically I want Frefox to start with the same tabs and places of the URL they were when I closed Firefox before.

    Click on the menu button in Firefox or to change it in the classic menu, then select Preferences, select the general tab and under Startup Select ' show my windows and tabs from last time '.

  • Maximum entries per response

    Hello

    Is it possible to display a maximum number of records in response?

    Kind regards

    I added a column with RCOUNT (1) and filter that column with the number of lines I want.

  • With a password to open document - is possible not to ask only once per session?

    Here is my scenario: user reads a "password to open" document that contains links to other web pages, etc.  The user clicks on a link, go to the new page, and then uses the back button/back key to return to the password protected document, where they must enter the password to open again and do every time they click on a link and then later attempt to return to the document.

    Is there a way to bypass the retype repeated / home / re-enter the password?  (I think not, but I'll ask anyway).  The user did enter his password, most of the time just a minute or two earlier, before they clicked on the link in the document password protected.

    P.S. I have a few other questions, (by-products) indirectly related to this general theme.  I'll post those in their appropriate forum, then edit this post with links to these posts.  FYI, the other positions are / will be:

    • Is there a better way to manually adjust each link in a document to use javascript and repeat process whenever the document is updated, to make the links to open in a new window (when you see a pdf in a browser window).  [Edit: here is the link: http://forums.adobe.com/message/5055202#5055202 ]
    • Is it possible to an html page or an element in a PDF document (at the discretion of the author of the document) to open a pdf file in the acrobat reader window instead of in the browser, without asking each user to change their player settings?  [Edit: I ended up asking that question in the same post listed above]

    Once the instance of Acrobat or Reader that contains a PDF file protected by password has been closed, you can avoid having to retype the password. If the links do not target a window or a new tab, then the browser will unload the plugin - and apart from all of the link targets change, you cannot prevent this.

  • How launch banner in browser only once per session

    Hello. I had a problem. I created a flash banner, put in to my server and do not know how to throw banner only once, then I come to my site. It's the launch every time, then I refresh the Web site or by clicking on the menu items. If anyone can help with this problem?

    You will need to use cookies if you want to remember things to control a swf from revisiting a page.  To create Flash cookies, you need to look at using the shared object class.

    You might be able to use the regular cookies, but this would require the implementation of FlashVars by having something to read the cookie and write dynamically embedding code for the swf file.

  • Entrance of sessions lack from the Tools menu

    I just upgraded to Firefox 8. The entrance to 'sessions' disappeared from the menu 'tools '. I had about 20 sessions recorded and want them back.

    If this feaature was reemoved since Firefox, can someone tell me where the data can be stored on my haard drive? If I have to, I'll go in the file with a hex editor.

    I just realized that the entry of "sessions" was part of an add-on, Tab Mix Plus, which had been disabled by the update of Firefox. When I enabled it, everything worked well :)

  • After you type the master password in session can force type master password once again without ending the current session and start new session?

    Sometimes after using the password to access an account during a given session of firefox, I want to "repeal" this ability of automatic access (i.e. require type the password again once) without having to put an end to the current session and restart firefox.

    It's nice to only have to type the password once per session, there are times when after launching an action that I would let the browser unattended for a short period but to prevent others to access sensitive information on other sites if they can't my master password. Note that this is not the same thing as "locking the browser. Currently, the only way I know to force it is to kill the session and restart the browser but it's not very satisfying if I really want to stay connected (allowed) to a particular site. I hope that adding a button in the Security tab "requires the master password for the current session" would be a simple solution to implement? Thank you for your attention.

    You can connect from the software security device (e.g. click Cancel in the dialog box display the passwords) to force them to return to the MP once more.

    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".
    • Tools > Options > advanced > encryption: Certificates > safety devices: software security device: Logout button
  • Missing DLL entry

    After the execution of my Vista updates every week, I am now presented with the error after loging out, "error in C:\\Windows\System32\NVCPL. Missing DLL entry: Nv Session start. How do I rectify this?

    Tony,
    This file referenced in the error NVCPL. DLL is part of the Nvidia Control Panel that loads normally start.  You probably need to just reinstall your drivers for Nvidia graphics cards.  If you have any problems with this or need to download the latest drivers you can get help on the Nvidia website.  If you don't know what graphics card you have you can find out by clicking on start > right click on computer > select Manage > Device Manager > expand Display Adapter > right click on the name of your card and select Update driver software or propterties.  Let us know if you need more assistance.

    Thank you
    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows 8 remote session restarts on remote access to other desktop computers

    Hello

    It is a random question. I connect to my machine (M1) in building A via Office Building B (machine M2) remotely. On the M1 I run applications like Internet explorer, Visual studio, etc. I lock the M2 machine with the intention to leave the programs I opened on M1 per session remote still 'running '. I'm going to another machine immediately (M3) and connect to M1. the applications are still running.

    Sometimes say I lock the machine M2 and go for a lunch break. Go to another machine in the construction of a (M4) and connect to my desktop (M1). Instead connect to the previous session, I had connected to; He opens a session fee - I lost all the applications that I opened.

    How to solve this problem?

    Deostroll Hello,

    Thanks for posting your query on Microsoft Community forum.

    Are all device drivers updated specifically for network drivers?

    Ideally, the question that challenge you does not occur but if you face this problem while there might be a chance as 1 (M1) the machine has restarted or went into standby mode.

    If the drivers are not updated, try updating the drivers from the link provided below.

    Drivers are updated occasionally. Windows can update automatically, or you can install the drivers updated yourself. It is important for you to have confidence in the updated drivers that you install. Windows warns you if it detects a suspicious or dangerous driver, you should not install.

    Download and install the drivers

    You can try to manage the network in the built store and see if it helps you to solve the problem. The resolution of the problems of network card automatically find and fix some common problems. This troubleshooting will be disable and re-enable the adapter and try a few other common repairs:

    How can I troubleshoot network card?

    For more information, please visit the links below.

    To connect to a remote computer that computer must be turned on, it must have a network connection, Remote Desktop must be enabled and you must have access to the network to the remote computer (this could be through the Internet), and you must have permission to connect. To obtain permission to connect, you must be on the list of users. Before you start a connection, it's a good idea to search the name of the computer you are connecting to and to make sure that the Remote Desktop connections are allowed through the firewall.

    Remote Desktop connection: frequently asked questions

    Hope it would help. If problem persists always post back with the current state of your computer and the result of the proposed suggestion, we will be happy to help you.

    Thank you.

  • ADF 12 c value dynamic session timeout

    Hi all

    I created a simple application, where I put the default 5 minutes session timeout (web. ) XML).

    My question is, is it possible that I could put this value dynamically according to some parameter such as a bean or session data value?

    Best regards

    Luis Cabaco

    You can do this on a per-session basis of

    HttpSession session = request.getSession();
    session.setMaxInactiveInterval(20*60);

    Or by putting in place a HttpSessionListener as shown here How to set session timeout dynamically in java web applications?-stack overflow

    Timo

Maybe you are looking for