Can't Monitor Sessions in 3.0.04 while query running?

SQL Developer is a nice free tool; would like to be able to view sessions while a query is running. I can view when it is not running. How can I do this?
Thanks,
Adam

Hi K and Buntoro,
My experience with SQL Developer only goes back to 2.1, so this was news to me. Thanks for your comments.
Here is a short history on this point:
1.5.x:
a) No Unshared Connection icon in toolbars.
b) Use Ctrl+Shift+N to create an unshared connection.
c) Unshared connections appear in drop-down list. (with <underscore> name decoration)
d) Selecting an unshared connection from the drop-down for some UI action will then share with that "unshared" connection
2.1.x & Up:
a) Unshared Connection icon available in toolbars.
b) Ctrl+Shift+N still creates an unshared connection.
c) Unshared connections no longer appear in the drop-down list.
d) This eliminates any confusion over sharing an "unshared" connection.
So, it seems the change was intentional. I personally like K's earlier suggestion of creating duplicate connections. In fact, the shared connection icon's "Select Connection" dialog easily lets you create duplicates on-the-fly. I think filing a bug wouldn't be justified. Please let me know if I've missed any key facts here.
Thanks again,
Gary

Similar Messages

  • Can I 'monitor session' trunk ports to a Cisco IDS?

    I ran across an existing config that has two trunk ports on a 3560 being port monitored to another port which is plugged in to a port on an ids 4515. Will the IDS be able to interpret that trunk traffic? The customer is complaining that they aren't able to see events on a local network (VLAN 1) and this is suppose to be the port they get that traffic from.
    Not sure why they chose to monitor trunk ports and I'm not sure it's even possible. I want to change the monitored port to some other local VLAN port that makes sense.
    Here are the existing lines:
    interface G0/47
    switchport turn encap dot1q
    switchport mode trunk
    interface G0/48
    switchport turn encap dot1q
    switchport mode trunk
    monitor session 2 source interface Gi0/47 - 48
    monitor session 2 destination interface Gi0/20
    ...port 20 goes to the ids.

    There are 3 modes of sensing supported on the sensors: promiscuous, inline interface pair, and inline vlan pair.
    Each mode interacts with vlan headers slightly differently.
    Promiscuous:
    A promiscuous sensor is fully capable of analyzing 802.1q trunk packets. The vlan will also be reported in any alerts generated.
    The trick when monitoring using a trunk is to ensure the span (or vacl capture) configuration is correct on the switch to get the packets you are expecting.
    Many types of switches have special caveats when a trunk is a source or destination port in the span.
    We also even support Vlan Group subinterfaces on the promiscuous interface.
    This allows sets of vlans on the same monitoring port to be monitored by different virtual sensors.
    So you could take vlans 1-10 and monitor with vs0, and then take vlans 11-20 and monitor with vs1, etc....
    However, to use this feature the switch must be very consistent in how packets are sent to the sensor. When monitoring a connection the sensor needs to see both client and server traffic. And when using Vlan Groups the sensor needs to see the client and server traffic ON THE SAME VLAN. It is this on the same vlan requirement that is not always possible with some span configurations when the switch itself is routing between vlans. Most switches are deployed with routing between vlans by the switch, and so in many cases you won't see the client and server traffic on the same vlans. This is very switch code dependant so you would need to do some research on your specific switch.
    Inline Interface Pair:
    With an inline interface you are pairing 2 physical interfaces together. A common deployment is to place the inline interface pair in the middle of an existing 802.1q trunk port. Interface 1 would be plugged into the switch, and interface 2 plugged into the other switch or other type of device (like router or firewall).
    In this setup the sensor is fully capable of monitoring these packets with 802.1q headers.
    However, there is something to keep in mind in these deployments. Often that other device (router, firewall, or switch) will route packets between vlans. So a packet going through the sensor on vlan 10 could be routed right back through the sensor again on vlan 20. Seeing the same packet again can cause TCP tracking confusion on the sensor (especially when the other device is doing small modifications to the packet like sequence number randomization).
    To address these we have 2 features.
    On InLine Interface Pairs we have the same Vlan Group feature as I discussed above in Promiscuous mode. (Do not confuse Vlan Groups with InLine Vlan Pairs discussed later in this response).
    So with Vlan Groups you could separate the vlans across virtual sensors. So if the packet gets routed back into the sensor you could configure it so that packet gets monitored by a separate virtual sensor and it will prevent the sensor confusion with state tracking.
    However, there will still be some situations where the packet may still need to cross the same virtual sensor twice. For this deployment scenario we have a configuration setting where you can tell the sensor to track tcp sessions uniquely per vlan. So long as the return packet is on a different vlan this should prevent the tcp tracking confusion. BUT there is a bug this code right now. It should be fixed in an upcoming service pack. The workaround is to go ahead and create a unique Vlan Group for each vlan (one vlan per group instead of multiple vlans in a group), and assign all of the Vlan Groups to the virtual sensor(s).
    And then you InLine Vlan Pairs:
    With InLine Vlan Pairs the monitoring interface Must be an 802.1q trunk port.
    Instead taking packets in one interface and passing to the next interface, the sensor actually takes packets in on one vlan and then sends it back on the other vlan of the pair on the same interface. It does this by modifying the vlan number in the 802.1q header.

  • Can you monitor HD video on external HDTV while editing?

    I am editing in FCS2 (FCP 6.06) on a 27" iMac in 10.7.5 with 12GBs of RAM. I have a second 20" Apple Cinema Display that is connected to the iMac via a Thunderbolt adapter. I also have a 32" HDTV connected to the iMac via a Thunderbolt adapter. Is there a way using this configuration that I can use the HDTV for color correction and, if so, what settings would In use in FCP? As it stands now, FCP is only allowing me to use the 20" Apple CinemaDisplay for external video, which won't help when it comes to color correction.
    I have an older miniDV camera and a SONY DV Media Converter box (with no HDMI) that I can use in the mix if need be.
    Thank you,
    Lloyd

    There are other device alternatives than the T-Tap, check out Blackmagic as well. Make sure you can get the drivers and software for you OS and version of FCP.
    I suggested the T-Tap because I have personal experience with it, and it has performed perfectly both with FCP7 and Adobe CC software.
    I used FCP from version 1 to version 7 and I like it a lot. The problem is that now that it has been abandoned, it cannot take advantage of the advances in hardware - and more importantly - cannot work easily with more modern codecs and workflows. It is more and more on 3rd party application life support for converting source material for ingest, and clearly it has no long term future.
    I jumped to Adobe CC about a year ago and have not regretted it. Pre-CC Premiere Pro 5 and below were pretty awful, but were much improved with Premiere Pro 5.5 and up. The latest version of Premiere Pro 7.2 is extremely good, and they are shortly delivering a version that is even better.
    The advantage of being able to work linked in both Premiere Pro and AE is really terrific. SpeedGrade is a very good color correction application (that is frequently updated and feature enhanced) and it also links directly to Premiere Pro.
    Audition is an extremely good for audio, and Adobe Encoder is solid. And your CC membership includes every app Adobe makes - apps I use everyday like Photoshop & Adobe Acrobat Pro, and stuff I need only occasionally like In Design and Illustrator - but I always have them and always have the latest versions.
    Can't beat it with a stick.
    For me, as a freelancer, the subscription model works great, but I can understand it is not appealing to everyone.
    MtD

  • Can one monitor audio off the eos 70d?

    I'm considerng the EOS 70D for some still and video work. Can one monitor audio off the EOS 70D while recording video?
    thanks.
    chuckcox
    Solved!
    Go to Solution.

    Hi chuckcox!
    Thanks for posting.
    There is not a port on the EOS 70D that allows headphones to be connected for monitoring audio.  However, the camera does have an HDMI port, which carries an audio signal.  You can send the HDMI signal to an external monitor that does allow you to connect headphones and monitor the audio.
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Monitor Sessions can't see most sessions?

    Symptom: Session Monitor nearly always displays “No text available” for a session’s current statement.
    Diagnosis:
    1.     I can’t see SQL for most sessions, even if I login as user SYS with the SYSDBA privilege.
    2.     Manual says:
    Monitor Sessions: Displays the status of one or more sessions, using information from the V$RSRC_SESSION_INFO view, which shows how the session has been affected by the Oracle Database Resource Manager.
    3.     When connected as system, I can select from the table Session Monitor uses, both on the server and via SQL Developer:
    SQL> select count(*) from V$RSRC_SESSION_INFO;
    50
    4.     In comparison, TOAD can display SQL for any user if I connect as user system . Run side by side, TOAD displays SQL for sessions that SQL Developer won’t display.

    Might be that TOAD displays the last executed statement rather than sqldev's current executing statement?
    K.

  • Monitoring sessions invoked by a user SQL Developer

    Hello Everyone ,
    I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
    Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
    Rollback of DML statements takes hours for statements submitted by SQL Developer.
    Does OCI driver help in any way ?
    Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
    Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
    We are facing lot of performance issues , so help in this regard would be highly appreciated.
    Even pointing me towards appropriate documentation would do.
    Thanks in anticipation.

    1006957 wrote:
    I am a DBA and lot of developers use SQL Developer for their tasks. Off late we have been facing few issues with SQL Developer.
    Developers close the working session by "alt+f4" and strangely their sessions are active in the DB's. What is the cause for this ?
    Rollback of DML statements takes hours for statements submitted by SQL Developer.
    Does OCI driver help in any way ?
    Is there any way that I can allow individual users to monitor their sessions in SQL Developer?
    Suppose a user connects with a generic application username "xyz" , can I allow the user "xyz"  to monitor sessions invoked by him and also provide him privileges to kill his/her own session.
    We are facing lot of performance issues , so help in this regard would be highly appreciated.
    Even pointing me towards appropriate documentation would do.
    Once the DB begins work on a task it will continue that work until: 1) the work is complete, 2) an exception occurs or 3) it discovers that the client is no longer there.
    If you begin a transaction (complex query, sorts, etc) that is lengthy it may be a while before the DB even tries to communicate with the client. Then all of that work must be rolled back and the rollback (e.g. for an update or delete) can take much longer than the query took to begin with. That is just the way Oracle works.
    If a user connects as "xyz" then the only 'sessions invoked by him' are that ONE session. Any other user might also create a session by connecting as "xyz"; Oracle has no way of knowing if ALL sessions connecting as "xyz" belong to the same person or not.
    The ALTER SYSTEM privilege must be granted to allow someone to 'kill his/her own session' but that privilege would allow them to kill any other session, including system sessions.
    You could write a procedure to try to control the privilige, as in the following thread, but that also has risks:
    https://forums.oracle.com/thread/256935
    It is a DBA responsibility to control sessions, not the developers. You should NOT give this ability to the developers IMHO. If your developers are abusing your system it indicates that they need more training in how to prevent runaway queries. A common cause of the problem you describe is when a developer submits a query and then thinks they can just cancel it and start over and they DO NOT UNDERSTAND the first statement I made above: Oracle will keep working.
    The proper solution to your problem is to begin logging your developer's requests for session termination so that you can properly monitor the problem and detect developers that need additional instruction or mentoring to keep the problem from happening. Although anyone, even experts, can accidentally let a query get out of control, your problem doesn't occur very frequently for experienced developers.
    The DISCONNECT option only politely requests Oracle to terminate the session so it make take considerable time to clean everything up.
    If you really need to terminate the session you need to use DISCONNECT IMMEDIATE. See the disconnect session clause of alter system in the sql language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_2013.htm#sthref4725
    {quote}
    DISCONNECT SESSION Clause
    Use the DISCONNECT SESSION clause to disconnect the current session by destroying the dedicated server process (or virtual circuit if the connection was made by way of a Shared Sever). To use this clause, your instance must have the database open. You must identify the session with both of the following values from the V$SESSION view:
      For integer1, specify the value of the SID column.
      For integer2, specify the value of the SERIAL# column.
    If system parameters are appropriately configured, then application failover will take effect.
      The POST_TRANSACTION setting allows ongoing transactions to complete before the session is disconnected. If the session has no ongoing transactions, then this clause has the same effect described for as KILL SESSION.
      The IMMEDIATE setting disconnects the session and recovers the entire session state immediately, without waiting for ongoing transactions to complete.  If you also specify POST_TRANSACTION and the session has ongoing transactions, then the IMMEDIATE keyword is ignored.
      If you do not specify POST_TRANSACTION, or you specify POST_TRANSACTION but the session has no ongoing transactions, then this clause has the same effect as described for KILL SESSION IMMEDIATE.
    {quote}

  • 30EA3: Monitor sessions grid freezes when scrolling lo last session

    Hi,
    I've found an issue with the Monitor Sessions grid.
    Steps to reproduce the problem (scenario I have tested an reproduced the issue)
    1. Open monitor sessions window
    2. Order the grid by "OS User" column (In this scenario, my "OS user" is the last one alphabetically)
    3. Scroll down in the grid, until reach the last record (as mentioned above, the last session is the same session that is monitoring since my user is the last one alphabetically)
    Then SQL Developer freezes, processor time and memory start to increase; and also, seems that SQL Developer window is trying to get the focus, so it doesnt let me navigate freely to other applications, is even difficult to open task manager to kill the process since SQL developer window in the background keeps getting the focus of mouse and keyboard.
    Thanks and regards
    Ramiro Teran

    Hi Raghu,
    1. As I mentioned, the scenario I tested was the "Monitor Sessions" grid, at first I only tested scrolling down to the last record, in the master grid using the mouse wheel, but now I have also tried crtl+end, and it also happens
    2. 184 records in parent grid (Sessions)
    3. The child grid is the "Active SQL" tab (first tab) of the detail of the session.
    4. Yes, there was a cell in master selected, but when scrolling down and reaching the bottom (or doing ctrl+end), then the last cell is selected automatically, and SQLDeveloper freezes.
    As mentioned in my first post, the SQLDeveloper not only freezes, but doesn't let you navigate to other windows (every couple of seconds SQLDeveloper gets focus on its window, even though is frozen)
    I have took an screenshot showing the issue, even though, maybe you can't appreciate the issue on an image, since the image only shows the last record of the monitor sessions grid selected, (at that time SQL developer is hanged, and doens't respond to clics or keyboard comands). Also it shows the Task Manager showing increased memory and CPU ussage from the SQL Developer process. If you're interested in this screenshot, let me know where/how to upload it
    Thanks and Regards
    Ramiro

  • App-V 5: An error was encountered while trying to stop the monitoring session

    Hello,
    I have a problem with sequencing an application with the App-V 5 sequencer. During the moment that the sequencer is collecting system changes an dialog box appears with the message "An error was encountered while trying to stop the monitoring session.
    Please check the event log for more details.". When I sequence the same application with App-V 4.6 SP2 sequencer I have no problems.
    In the eventviewer (Microsoft-AppV-Sequencer/Admin) you can see the message "An attempt to stop the monitoring session failed (startIndex cannot be large than lenght of string. Parameter name: startIndex). Event Id: 5003
    I have checked the background activities, but I couldn't find anything suspicious.

    Is the only difference between the platform the sequencer is hosted on the version of the sequencer? have you tested on a vanilla deployment of Windows?
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

  • How can I monitor Oracle StoredProcedure Running Progress

    How can I monitor Oracle StoredProcedure Running Progress ?
    Because My stored Procedure run a long time ,
    How can I do by calling (parent) program?
    To monitor the StoredProcedure run step ??
    Thanks !
    null

    Franco Lin (guest) wrote:
    : How can I monitor Oracle StoredProcedure Running Progress ?
    : Because My stored Procedure run a long time ,
    : How can I do by calling (parent) program?
    : To monitor the StoredProcedure run step ??
    : Thanks !
    my approge
    create pl proc
    CREATE OR REPLACE PROCEDURE ASIDENTL(
    P_NAME VARCHAR2 ,
    P_ACTION VARCHAR2 )
    IS
    -- @(#) klema 99/06/22 init
    /* Hint
    as sys
    grant select on sys.v_$session to public;
    kot <user> app
    grant execute on ASIDENTL to <user> ;
    begin
    sys.dbms_application_info.set_module( P_NAME, P_ACTION);
    end asidentl;
    snip for long run-code
    for cc in c loop
    n := n + 1;
    asidentl( 'myProc'
    , to_char( n )

  • Can we monitor SM35 using CCMS

    Can we monitor, SM35 transaction by configuring CCMS?
    suppose a background job fails, can CCMS alert a user by email ?
    upto what level can CCMS be used to monitor systems? any ideas please share.
    Thanks
    Usman

    Sonali,
    You can do this through solution monitoring functionality of Solman.
    Solution Monitoring helps you to manage heterogeneous system landscapes efficiently.
    You can manage:
    ●      your systems and
    ●      your business processes
    in one tool.
    This uniform overview guarantees high performance and availability of all your business processes across various systems and system components. The SAP Solution Manager provides predefined views and values in the function sessions.
    The system monitoring guarantees the real time monitoring of all systems in a solution, based on the Computer Center Management System (CCMS).
    The CCMS provides a range of monitors for monitoring the SAP environments and its components. These monitors are indispensable for understanding and evaluating the behavior of the SAP processing environment. In the case of poor performance values, the monitors provide you with the information required to fine tune your SAP system and therefore to ensure that your SAP installation is running efficiently.
    The CCMS analysis monitors provide functions for
    ·        Checking the system status and the operating modes
    ·        Detecting and correcting potential problems as quickly as possible
    ·        An early diagnosis of potential problems, such as resource problems in a host or database system, which could affect the SAP system
    ·        The analysis and fine tuning of the SAP system and its environment (host and database system) to optimize the throughput of the SAP system
    Hope this helps. Please assign points and let me know if you need anything specific.
    Rgds
    Manish

  • 2950C Unable to ping destination port in monitor session

    I have 2 Pix firewalls and a web filtering server running Surfcontrol. In order for Surfcontrol to filter web usage it has to see the traffic being sent to the firewall's. I have created a monitor session and have used the firewall ports as the source with transmit and receive, and the web filter server as the destination. However when I do this I am not able to ping the web filter server. The web filter is unable to function ie block websites based on the rules that we have setup if the destination port is unable to send packets to internal workstations.
    Is there anything I can do to allow the destination port to be able to send packets to internal workstations ??

    Hi Frined,
    When you configure SPAN destination port , that port will just work as a monitoring port and will not work for general network traffic.
    If you do " sh int" you will see line protocol down (monitoring)
    Now if you want that port to monitor as well as take part into normal network also you have to enable ingress traffic on the destination port
    "monitor session session_number destination interface interface-id [ingress vlan vlan id]"
    Check this link for more details
    http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12119ea1/2950scg/swspan.htm#1218090
    HTH
    Ankur

  • Hwic 4esw monitor Session

    Currently running a hwic 4esw module in a 2800 series router and we are using websense so I’m trying to use Monitor session to mirror the traffic over for websense to see. The only problem is that the route locks up every week and doesn’t allow any traffic out. Any ideas?

    I need some clarifications from your side to help you out with the problem.Are you able to normally ping the Websense server from the PIX? .When the problem occurs are you able to ping the websense server from the PIX?. Is the PIX reachable from the rest of the network when the problem occurs?
    Send me these details so that I can help you further.

  • Sniffing vlan without using monitor session

    Hello,
    I am trying to configure sniffing on vlan without using monitor session on 3550 - 122-25.SEB. My idea was to put static mac mapping for all the mac addresses in the vlan to one port where to put IDS sniffing interface. Unfortunately the switch doesn't accept static mapping for mac address that he already knows via dynamic mapping on one and the same vlan. If I first shut down the port where the source device is located then I can put static mapping but after enabeling the port again the switch doesn't lear the dynamic mac. Is there any other way to redirect traffic ? I am thinking also if I can disable mac address learning on this vlan ->turning the switch in to hub for this vlan ?

    Your vlan also needs to be configured for remote-span:
    vlan 35
      remote-span
    I would keep the filter attached, if the frame is not "good" it can't do any harm on the destination-system. It typically won't even get there.
    And make sure that you don't have too much span-traffic on the interswitch-links and the destination-link.

  • JMStudio Error  "Can not create session manager"

    Hi,
    I'm trying to transmit an mpg file through a simple pc to pc network, using the transmission wizard in the JMStudio, and everytime it causes a "can not create session manager" error, even when I try to transmit .mp3 file
    I'm using an ip like 100.100.0.1 for the sender machine, and 100.100.0.2 for the receiver machine, and I don't know where is the problem
    thanks in advance

    Um,maybe the port that you use for transmission is already occupied.
    Make sure that you are not using JMStudio to transmit streams while trying to receive streams from the same port.

  • My 10 yr old wants to text from his iPod touch. We have 1 family Apple ID. How can I monitor his texts without receiving all of his friends messages? Do I need a separate Apple ID or can I link a new email address to the same Apple ID?

    My 10 yr old wants to text from his iPod touch. We have 1 family Apple ID. How can I monitor his texts without receiving all of his friends messages? Do I need a separate Apple ID or can I link a new email address to the same Apple ID?

    Just an email address
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

Maybe you are looking for