How to check generating a lot of archivelogs/session of the user?

Hello

On a 10g database, how can I get to the session/user who generates a lot of archivelogs?

Thanks in advance,

For the currently connected sessions, you can query V$ SESSTAT (join to V$ STATNAME). Therefore,.

select s.sid, s.value
from v$sesstat s, v$statname n
where s.statistic#=n.statistic#
and n.name = 'redo size'
order by 2
/

However, there are few complications:
1. persistent Sessions will appear with very high statistics, simply because they have not disconnected. Many applications maintain permanent Sessions for one of
a. follow-up and ongoing execution user submitted or jobs at the request (for example, in Oracle e-Business Suite and Peoplesoft)
b. connection pooling
2. the Sessions that have already disconnected will not appear in your report.

Therefore, you have to frequent meetings of "sample" and find that the differentials redo size. Then, another complication hits you:
c. oracle reuses the Session ID. Once a session disconnects, another session of connection can get the same SID. He could get the same serial number immediately, so you might want to use a combination of SID + SERIAL # from V$ SESSION as your key (you will need to add V$ SESSION in your query of surveillance) even in this case, I would not ensure that the couple would not repeat after some time, especially with the restart of the instance.
You would be better to use AUDSID from V$ SESSION, that this value is incremented (and not reused) auditing session.

Tags: Database

Similar Questions

  • How to check only my laptop computer use integrated or the AMD graphics card?

    How to check only my laptop computer use integrated or the AMD graphics card? Some games show me that they use the built-in map: http://img849.imageshack.us/img849/4125/98ab1c28dc9f4b51b537435.png ?

    I have no other option. I have disable Intel card in Device Manager, and it shows me that the AMD driver is not installed correctly. Thank you.

  • How do I know if a call is disconnected by the user or by the appellant?

    When there is an incoming call, the phone user can log out by clicking on the red button, or it can be cut by the appellant. I must say that out of these two types.

    But no matter how the call is interrupted, the system continues to produce a callDisconnected event.

    Also, I tried to save an event key listener to monitor the events of the red button. But as the system have consumed the event, the system will not send this event of red button at my request.

    Do you have an idea how know if a call to imcomming is disconnected by the user or by the appellant?

    I tried, although the keydown event of the red button has been consumed by the system, but the keyup event is still distributed, so that the application can listen to the event keyup to know if the call is interrupted by the appellant or by user.

  • How to remove the last session of the user of the SQL backend?

    Sometimes the user session gets closed between some of the work for any reason.

    When the next time that the user logs on P6, he gets an error or special functionaly dosen't work for this user or the system hangs.

    In this case if I decided to clear the history of the last session of this user from the databases, how to write the SQL query?

    I don't want to remove all user sessions in the table USESSION and USESSAUD, I just want to remove the last session of the user to particular user (e.g., XYZ).

    You can consult Re: currently connected users

  • How can I generate my own InDesign ePub file without the encryption.xml file?

    My Bookstore (B & N) will not accept my ePub file because it does not want the encryption.xml file included. How can I generate a file InDesign ePub, for my own books, without him? Is there a box somewhere? I searched through the ePub export area and boxes of file information, no luck.

    Error message from PubIt.com B & N:

    We found a file name called encryption.xml in your container of EPUB, which refers to the part, or all, your file is encrypted. We do not accept any encryption in source ePub files. After the closure of this message, please remove the file encryption.xml your ePub and you can try to download your ePub file again.

    If you want to apply DRM to your title, go to Section 4, question H and select Yes. PubIt! apply DRM to your title once you have downloaded your ePub without encryption file.

    Thanks for your help...

    Sorry I wasn't clear. Do not embed fonts at all. No matter what.

    Take care, Mike

  • How to check if there is data in form of the signatory

    I use the v2 API and have a problem with the last update.

    We have an an optional field on one of our documents. When we built our integration, we ask the form data, and if the field was not filled, we would get an error. Now, we get form data downloaded even if the user has not filled what whatsoever. I know that now is the expected behavior and see the value. However, it leaves us with a problem.

    How can I have a query, using the api v2, there is data from form provided by the user or not? Web echosign as GUI seems to have access to this information because it will put a flag on the agreement, but I can't find how to do it in the api.

    Thank you

    Darren

    I worked with the support of Echosign on it and there seems to be no direct api solution. My concern in creating my own solution was successfully manage all our current and future agreements with all the fields they have and being as safe as possible future changes in the behavior of EchoSign. That's what I came with:

    Every day, I call getFormData for an old agreement without data form called. I save the headers in the first row of the csv file. When we have a new agreement in the next 24 hours, I call getFormData for him and then compare the new csv headers to the known empty headers. If they match, I guess that's empty, if they do not match I guess that the signer filled in some fields. It will be immune to future changes EchoSign to the fields returned by getFormData (with a window of 1 day of possible error). This solution is based on the current behavior of getFormData only the fields with the data returned.

  • How to share an internet connection Wi - Fi, which requires the user name and password on a laptop computer of Windows 8 on a PC with Windows XP?

    I have Windows 8 on my laptop... and this laptop is connected to the internet via an USB-powered Wifi device, it takes an user name and password to connect to the internet otherwise it says limited connectivity and will not connect to internet... now, I have an old PC with Windows XP on it... the PC and laptop have built in LAN cards... I also have a cable that fits in the LAN cards... when I connect the two computers, LAN cards and Windows flashlights, they also show that they are connected to a local network... However, I can't use this Wifi connection on my laptop to share an internet connection with PC WIndows XP... I tried to fill, manually configure IP addresses, sharing connections, all with no luck... of many websites is a lot of confusion...: /... Please someone guide me step by step how can I make my XP PC to connect to the internet using the connection of the laptop...

    Hello Ashan,

    Thanks for the reply.

    You can try to follow the following suggestions to solve the problem.

    First, try to reset Internet Explorer and see if that helps.

    Reset Internet Explorer

    http://support.Microsoft.com/kb/923737

    Note: The Reset Internet Explorer Settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings. Reset Internet Explorer is not reversible, and all the previous settings are lost after reset.

    Additional information:

    We can also refer to the computer or the device manufacturer's Web site and try to update the latest version of the network adapter drivers.

    (Also works for Windows 8)

    Updated a hardware driver that is not working properly

    To connect to the Internet

    http://Windows.Microsoft.com/en-us/Windows/Connect-Internet#1TC=Windows-8

    I hope this helps. Otherwise, feel free to write us again and we will be happy to help you.

    Thank you

  • How to set programmatically a value to < af:selectManyCheckbox > whenever the user deselect the other checkboxes

    Hello

    I use Jdev 11.1.1.7

    Requirement: checkbox selection a lot with three values for example: A, B, C (three boxes) configured on .jsff page, whenever the user tries unchecked A, B, C checkboxes, need programatically 'A' check through valueChangeListener box. The inputts greatly appreciated.

    Thank you

    Hello

    If all the boxes are involved to uncheck that you can try to do something like this in your valueChangeEvent:

    if(OldValue.Size > NewValue.Size)

    check value added to the list (value of the selectManyCheckbox property)

    You must cast an old and new value of valueChangeEvent list and call the method of size.

    Kind regards

    Ruben.

  • How to make a web page which changes each time the user refreshes? Is it possible to Muse?

    Hi, I would like to make a simple site where the main text in the center of the page changes whenever the user refreshes the page in their browser. I guess I'll have to do a master and several pages that are all the same except for changes in the text, but I don't know how to make sure each update goes to another page and not just the home page? Is it still possible in the Muse?

    This is an example of what I'm going: : procatinator:

    Thank you!

    You can't do it with only Muse. Would be probably pretty simple to do with a bit of Javascript. Check the widget directory such that it is possible that someone has made a widget for random content. If not, maybe I'll do one this weekend. ;-)

  • How to display wav on a table or chart, if the user enters frequency, amplitude, shape, offset

    Hello

    I have a program (an example of program) where the user can enter the frequency, amplitude, shape as well as the compensation of a wave. How to take these properties and in the wiring diagram to display the waveform on the front panel (in a table or a graph)?

    Frequency, amplitude and offset is a double. Waveform in the wave function of type.

    code attached.

    Please answer. Thank you.

    To see the actual waveform, you obviously have another instrument connected to the output of the Agilent. If you want something simulated as closely as possible, you can wire the wave to a case statement function and set a function of generation of waveform appropriate inside each case.

    Edit - you also posted to the wrong Board. In the future, don't forget to post on the instrument (approximately Agilent) control or Council of LabVIEW (regarding the functions of generation of waveform).

  • How to enable detailed interactive report view by default for the user public?

    Hi all

    I'm developing a page of search results.

    I'm doing a view instead of a default table view of interactive reports. So in this case I activated the details view so that I could make the fancy designs.

    everything worked well and looked clean but however when I pass the value of my search using IR_ROWFILTER page and clear the results page using page_noIRB, it brings me to the result page of interactive reports with the default table as point of view.

    I have to press the detailed view to get. I tried to save it as a default value, but it won't work. This question is for user public.

    If I do the page requires authentication, and record the detail by default view, I wouldn't have any problem. I could search and it will bring directly in to the detail view of the search page.

    of course, the other reason that I found is because im using the IR_ROWFILTER and by disabling the page using page_noIRB... without it, it works well, but I need it coz im making a a search result. I need to send the text to search for another page and put it in the filter to the search page. I would need to use the IRB to search again.

    is this a limitation to the user public? It happened for the authenticated user but...

    How can I make the default view for the user public?

    T101_cyberdyne wrote:

    How can I make the default view for the user public?

    Reverse the report for details on the loading of the page using a dynamic action of loading the Page with the following Execute the JavaScript Code real action:

    gReport.data.view('DETAIL');

    I'm doing a view instead of a default table view of interactive reports. So in this case I activated the details view so that I could make the fancy designs.

    Do you really need is an IR? Other that the layout of detail, do you need any of the interactive features? If not, try to use a standard report with a a report model custom.

  • How to check if a fix has been applied to the database?

    It is easy to know which patches have been applied to the software with opatch lsinventory oracle. But what about the database? How will I know if the corresponding sql code has been applied?

    My real problem:

    I have an environment (Linux) with 12.1.0.2.4 (so no later than patchest). If I create a new database (without worrying if I use a model predefined by default as "Generalist" or create a database of "customized") I do not see that the power supply has been applied. My theory is that the template should not have applied patch while the custom database needs.

    I checked with

    SELECT the version, State, bundle_id, patch_id, bundle_series
    OF dba_registry_sqlpatch;


    but the two database returned no returned lines.

    If I run datapatch it applies the patch so after that the output of the query looks like this:

    PATCH_ID VERSION BUNDLE_ID BUNDLE_SERIES STATUS

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

    20831110 12.1.0.2 SUCCESS 4 PSU


    but this isn't what I expected as a new database should be the most recent version of the sql scripts.

    According to the README file for patch 20831110:

    3.4 patch Instructions in post-installation for databases created or upgraded after the Installation of the PSU 12.1.0.2.4 in the Oracle home

    You must perform the steps in Section 3.3.2 "loading change files in the SQL database" for any new or upgraded database.

  • How to check what Feature Pack has been installed on the PeopleSoft system.

    Hello

    How to tell what (FP1 or FP2) Feature Pack has been installed in the PS HCM 9.1 applications and FMS 9.1 or installed any Featue Pack?.

    Thank you.

    I don't think you can directly check the FP level. Which means that you can not simply query a table and determine the level of the public Service.

    You should check the level of patch/bug in ps_maintenance_log and compare with FP

  • How to check if physical Standby is in phase with the primary

    Hi all

    I'm new in Data Guard. In our current production, my boss asked me to write a shell scripts for monitoring physical standby and archive primary's sync (gap of archive)

    I refer metalink [861595.1 ID], but when I ran the first query to the primary node, the screen lock.

    On primary
    ========

    SQL > SELECT THREAD # "Thread", SEQUENCE # 'last generated sequence.
    V $ ARCHIVED_LOG
    WHERE (THREAD #, FIRST_TIME) IN (SELECT THREAD #, MAX (FIRST_TIME) FROM V$ ARCHIVED_LOG GROUP BY THREAD #)
    ORDER BY 1;

    I tried to turn on 10046 trace SQL, SQL consume a lot of CPU and it full table scan in X table KCCAL $.

    Eye of TKPROF result as below:
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     88.29     115.59          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        3     88.30     115.60          0          0          0           0
    
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1 Optimizer mode: ALL_ROWS Parsing user id: 80  
    
    Rows     Row Source Operation
    -------  ---------------------------------------------------
          0  SORT ORDER BY (cr=0 pr=0 pw=0 time=21 us)
          0   FILTER  (cr=0 pr=0 pw=0 time=19 us)
       1124    FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=40537 us)
          0    FILTER  (cr=0 pr=0 pw=0 time=115538625 us)
       1122     HASH GROUP BY (cr=0 pr=0 pw=0 time=115530193 us)
    7465972      FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=94648975 us)
    
    Elapsed times include waiting on following events:
      Event waited on                        Times   Max. Wait  Total Waited
      -----------------------------------   Waited  ----------  ------------
      SQL*Net message to client               1        0.00          0.00
      control file sequential read        16841        0.05         30.88
      SQL*Net break/reset to client           1        0.00          0.00
    Because of this is the production environment, so I had put an end to the session, anyone can teach me or share with me the physical monitor in standby mode scripts is sync with primary or not? Or you encounter the above problem when you run the SQL code?

    My version of db is Oracle 11.2.0.1.0


    Thanks in advance.

    Kind regards
    Klnghau

    Just be aware that these queries are queries controlfile and if they run too long can get in the road of the database as they hold controlfile locks. You'd better watch the view v$ dataguard_stats the day before and look at the GAL apply and transport.

    We are also a few scripts in our book - http://www.amazon.com/Oracle-Guard-Handbook-Osborne-ORACLE/dp/0071621113

    Larry

  • How to check an ACL is used or not in the IOS

    Hi guys,.

    Do you know there is a command or delicate way to check if an access list (e.g. access-list 1) is used by any route-map, interface, etc. in the configuration?

    I have Catalyst 6509 s with IOS version 12.2 (18) SXF7

    Thank you in advance.

    There is no such built-in command. But you can use pipes and filters to find where the acls are applied. For exaple the command will show ACL on interfaces:

    interface ip Show | include returns | is administratively. is down. The outgoing | Incoming traffic

Maybe you are looking for