monitor the real-time sql statement.

HII All,

I'm working on the machine win 7 with oracle 11 g 2 Developer sql tool.

I'm database access via VPN to certain place xyz.

I want to follow the sql like insert, update when someone performs using front end.

I did it before in the case of forms oracle via the toad sql monitor.

But I can't use toad now only the sql developer.

So please let me know how I can do this.

Thank you.

Abdelouahed

Hello

The following query will give you running SQLs

Select sesion.sid,

sql_text

v $ sqltext sqltext, sesion v$ session

where sesion.sql_hash_value = sqltext.hash_value

and sesion.sql_address = sqltext.address

and sesion.username is not null

order of sqltext.piece;

This should help you.

Thank you

Sundaram.

Tags: Database

Similar Questions

  • Behavior of v$ standby_log; during the real time applies...

    Hello

    I would like to understand this point of view, during the REPEAT APPLY behavior or real-time applies by using configuration of log roll forward pending. as in my db, when there apply to progress, I see the status column having a CURRENT value and the column DBID value of Eve DBID where the application is underway then status column goes to UNASSIGNED value and DBID column has no value inside of it... i mean Virgin... Why is it so? Ask you please help me understand this... Here is the log

    SQL > select * from v$ standby_log;

    GROUP # DBID THREAD # SEQUENCE # BYTE BLOCKSIZE USED ARC STATUS FIRST_CHANGE # FIRST_TIM NEXT_CHANGE # NEXT_TIME LAST_CHANGE # LAST_TIME
    ---------- ---------------------------------------- ---------- ---------- ---------- ---------- ---------- --- ---------- ------------- --------- ------------ --------- ------------ ---------
    7. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    8 3903727333 1 58534 104857600 512 338944 YES ACTIVE 2.3217E + 10 5 JANUARY 12 2.3217E + 10 5 JANUARY 12 2.3217E + 10 JANUARY 5, 12
    9. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    10 3903727333 2 38929 104857600 512 235008 YES ACTIVE 2.3217E + 10 5 JANUARY 12 2.3217E + 10 5 JANUARY 12 2.3217E + 10 JANUARY 5, 12
    2. UNASSIGNED 11 0 104857600 512 0 NOT ASSIGNED NO.
    2. UNASSIGNED 12 0 104857600 512 0 NOT ASSIGNED NO.

    6 selected lines.

    SQL > /.

    GROUP # DBID THREAD # SEQUENCE # BYTE BLOCKSIZE USED ARC STATUS FIRST_CHANGE # FIRST_TIM NEXT_CHANGE # NEXT_TIME LAST_CHANGE # LAST_TIME
    ---------- ---------------------------------------- ---------- ---------- ---------- ---------- ---------- --- ---------- ------------- --------- ------------ --------- ------------ ---------
    7. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    8. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    9. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    2. UNASSIGNED 10 0 104857600 512 0 NOT ASSIGNED NO.
    2. UNASSIGNED 11 0 104857600 512 0 NOT ASSIGNED NO.
    12 3903727333 2 38931 104857600 512 5120 YES ACTIVE 2.3217E + 10 5 JANUARY 12 2.3217E + 10 5 JANUARY 12 2.3217E + 10 JANUARY 5, 12

    GROUP # DBID THREAD # SEQUENCE # BYTE BLOCKSIZE USED ARC STATUS FIRST_CHANGE # FIRST_TIM NEXT_CHANGE #.
    ----------
    7. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    8. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    9. UNASSIGNED 1 0 104857600 512 0 NOT ASSIGNED NO.
    2. UNASSIGNED 10 0 104857600 512 0 NOT ASSIGNED NO.
    2. UNASSIGNED 11 0 104857600 512 0 NOT ASSIGNED NO.
    12 3903727333 2 38931 104857600 512 5120 YES ACTIVE 2.3217E + 10 5 JANUARY 12 2.3217E + 10 5 JANUARY 12 2.3217E + 10 JANUARY 5, 12

    DBID would be here.
    These groups of waiting for redo log files can contain either the thread 1 or thread2, several threads are used in RAC environment.

    In general architecture, once if any log switch (or) redo log is full then they will be sent in files archive, then it will be assigned to new files redo log. here in the primary redo log file, you can see the current, active, inactive state so now.

    During the real time applies, every time that data written to the primary log files, the log of the time same writer will be active and which will be assigned to the redo log file... not redo log file, you have to say standby redo log waiting for database.

    average not assigned here, this standby redo log file, can be used for the next time, perhaps earlier status as 'active '. Each time standby redo log file is active DBID so only you can see.
    If its in unassigned it will be inactive, once again if any new allocation then it will become active. similar chain / loop. This is perfectly normal behavior.

    UNASSIGNED - online redo log has never been written for. It comes to the State of a newspaper of restoration by progression that has been added, or just after a RESETLOGS when it is not the log during recovery.
    ACTIVE - Log is active but is not the current journal. It is necessary for the recovery of the failure. It can be used to block recovery. It may or may not be archived.

    HTH.

  • difference between the real time module and module fpga

    Hi experts,

    I was wondering if someone could tell me the difference between the FPGA and the module in real time (in short).

    My understanding is that the FPGA module facilitates code LV that can then be designed for the specific advice of RIO, I have used this a bit in the past.

    The real time module, I'm a little more unsure about, all I know is that it allows the creation of a 'real time' i.e. deterministic environment.

    My request is this: I wish I had several control loops running on two tables of RIO, with the host PC mainly used for recording data and user interface. I see that I have no need of RT on the host (Win XP should be good).

    Do I need the RT module?

    You are right.  In the scenario you describe, you won't need to LabVIEW RT. LabVIEW RT is used to create a deterministic execution on specific targets for intel such as the PXI-8106 and PXI-8108.  You can still use strings and floating point on RT.

  • Creating a Clone of VI in the real-time platform

    Hello

    I wanted to create a clone of VI in time real LV on cRIO-9022 controller. I changed the properties to run VI and selected pre allocated incoming running clone.

    But I'm unable to generate the clone like this.

    I read from here, "you can configure LabVIEW to allocate or share a VI clones reentrant clone shared within a structure ofloop delayed or Timed Sequence" .

    My question is how can we create a clone of screws in the RT platform? clones are limited to Timed loops only?

    I use LV 2013, cRIO-9022, chassis NI 9114

    Thank you

    Thibault

    Hello

    I got it, it was similar to what you do on a normal LabVIEW VI. I expect a change in the name of VI in CloneXXXX.vi, but in real time, I think that you do not have this indication.

    As he had no name and when I try to open the instances of these real-time clone live all were directed to the real VI itself, so I thought that it did not work.

    but I think that it how it is in real time.

    I did a test using the simple addition of numbers using clones and it works very well.

    If you do not get the clone of instance names when you open the front door and we cannot highlight the real-time performance clone VI

    I think it's obvious.

    Thank you

    Thibault

  • cRIO and 9234 modules do not work or communicate via fpga with accelerometers, fpga, connected to the real-time application is also related to shared variables related to modbus slave

    Hello

    I have a compact rio, which has a 4 way frame this chassis is the three modules of ni9234, they are related using FPGAs for application in real time, then using shared variables in the low-speed loop associated with a slave modbus to communicate with the domain controllers, the nor 9234 accelerometers linked to them with option ac coupled iepe on c modules , my problem is the real-time application seems to work well even when power loss occurs it restarts without problem and the fpga written hard disk portable bin files very well, but without an accelerometer connected I get readings of low noise as soon as I connect an accelerometer to one of the outputs 10 it just goes to a fixed number (0.03125) as soon as you unplug it again He returned to readout noise, I ran a scan on the modules and get only a spike when I connect or disconnect the accelerometer, I tested voltage at the pins on the module and I get 22 volts CC which makes it more likely that the material is not the problem, but software is perhaps the cause to hang up, I join the project and files for your perusal. I also realized a new project which, in mode directly linked scan has the module entry in the shared variable and the scenerio even once again. Help would be appretiated.

    Thank you very much

    Jason

    Whren using waveform with the 9234 acquisition, we recommend the following FPGA and RT model.

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/209114

    It can be extended as a datalogger with:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6388

    or using shared variables combined with the analytical engine

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9851

    The FPGA in all this, as well as the framework of RT have used successfully by 1000s of users.  I recommend giving these a try.

  • I had my computer checked by professionals and they added Malwarebytes, my MSE keeps turning the real-time protection off the coast of almost every day and take 2 or more going to turn around.

    I had my computer checked by professionals and they added Malwarebytes, my MSE keeps turning the real-time protection off the coast of almost every day and take 2 or more going to turn around.

    original title: MICROSOFT SECURITY ESSENTIALS AND MALWAREBYTES ARE OK, YES or NO

    I had my computer checked by professionals and they added Malwarebytes, my MSE keeps turning the real-time protection off the coast of almost every day and take 2 or more going to turn around.

    There are 2 types of Malewarebytes:

    A free edition
    An edition of Malewarebytes Pro you have to buy.

    Ask thos 'pro' that is they added to your computer.
    Let them also disable the protection in real time of the Malwarebytes.

    I have MSE as my time protection rel and Malwarebytes (free version) as my program "we demand."
    Ways to request that is not run until I turn it on, and it stops when finished scanning.

  • Is the reference monitor in real time?

    I never asked this before, but is the reference in real-time monitor?

    The behavior I get is...

    frames to update when I rub

    shows the color changes

    freezes when I plate the SEQ

    He always did, but I was wondering what he could play simultaneously with the following. Its video composite value now.

    Unfortunately, you can't direct the program playback and screens of reference at the same time.  It's a design flaw, in my opinion, which greatly limits the usefulness of the reference monitor.  Please tell Adobe you want to correct.

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

  • The format of a modifiable from the execution of SQL time SQL statement...

    The format of a change of the duration of execution of a SQL statement SQL statement?

    Thanks in advance

    Hello

    If you send two even SQL query with different format then everyone will make the analysis difficult. The execution path may still remain.

    Concerning

  • The 1473R CAN be used with the real-time operating system of NOR?

    Hello, I am trying to determine if I can use the OR 1473R framegrabber PCIe FPGA in a PC based computer time real OS OR. Anyone know if this is possible? So I think that it should appear to the OS in real-time as a target FPGA that can transfer the data via DMA, but I wanted to make sure the drivers would work in real time of NEITHER.

    I appreciate any info on this!

    lukepike,

    Yes, you can use this device with real-time OS of NOR.

  • calculation of the SNR/CRADLE to the real-time signal

    Hello everyone,

    I need to calculate SNR or BER of the signal received in real time. I use USRP 2920.

    Hey IrfanRazzaq,

    You may be better to post this question in the USRP forum:

    http://forums.NI.com/T5/USRP-software-radio/BD-p/500

    I also want to point you to these forum posts that deal with this issue:

    http://forums.NI.com/T5/USRP-software-radio/example-VI-for-calculating-ber-of-the-USRP/m-p/3048995

    http://forums.NI.com/T5/USRP-software-radio/USRP-for-bit-error-rate-measurements-using-packet-based-...

    There is also a VI in the modulation called MT toolkit calculate BER that takes a signal and a desired profile and returns the BER

  • Dell XPS L502x 5 beeps - the real time clock failure

    Hello.

    I had a problem with my grade, first the hard drive was broken and I swapped the hard drive. Now in the new road, it was not possible to restart it. So I did a reset of the BIOS. Now, he is unable to restart and I get 5 beeps - that due to manual means 'Real Time Clock Failure'.

    What is it?? And how to solve?

    Thanks in advance

    Hi Nightyboy,

    5 beep code indicates CMOS battery failure. Try to release the static power and check whether the system works. Follow the steps below.

    Turn off the system; Remove the battery, power adapter and power cable. Press and hold the power button for 30 seconds to drain any power static excesses. In case the problem persists, you may need to replace the CMOS battery, you can refer to the operating manual using the link below to replace the CMOS battery.

    http://Dell.to/1bB9On6

    In this link if please punch in the system service tag or express service code and click on submit. This will help you access the manual page.

  • monitor the DML operation for a table, that is, monitor the type time and DML operation

    Hello expert,

    I want to follow the DML operation for a table, i.e. monitor the time to type and the DML operation. you tell please how do I get that?

    Thank you very much

    See if this can help you:

    http://Oracle-Apps-DBA.blogspot.com/2007/07/monitoring-DML-operations.html

    Kind regards

  • GETTING AN ERROR - slider 'P_REFCUR' cannot be used in the OPEN dynamic SQL stat

    DECLARE
    create or replace procedure partial_single (p_fileid in NUMBER, p_filename IN VARCHAR2 (2000), p_temptablename IN VARCHAR2 (2000), p_temppartialtablename IN VARCHAR2 (2000), p_retval ON the NUMBER)
    --)

    p_fileid NUMBER;
    p_filename VARCHAR2 (2000);
    p_temptablename VARCHAR2 (2000);
    p_temppartialtablename VARCHAR2 (2000);
    p_retval NUMBER;
    p_refcur types_pkg.return_cur;
    v_strquery varchar2 (4000);

    BEGIN

    p_fileid: = 5080;
    p_filename: = "TAGSUR1HM2011013111160838654.000019265";
    -p_temptablename: = "TEMP_RECORDS_MED_0004";
    p_temptablename: = 'TEMP_RECORDS_MED_DATE ';
    p_temppartialtablename: = 'TEMP_MED_PARTIAL_RECORDS_0002 ';
    p_retval: = 0;


    v_strquery: = 'SELECT imsi, connectedcallingnumber, callstart MIN (calleventstarttimestamp), SUM (calleventduration), MAX (sequence_number) sequencenumber, msisdn, max (callreleasetime) callreleasetime period';
    v_strquery: = v_strquery | ' A ' | p_temppartialtablename | ' GROUP BY connectedcallingnumber, imsi, msisdn';

    OPEN p_refcur - GETTING AN ERROR - slider 'P_REFCUR' cannot be used in a dynamic OPEN SQL statement
    FOR v_strquery;

    FOR CC IN (SELECT imsi,
    connectedcallingnumber,
    Callstart MIN (calleventstarttimestamp),
    Duration of the SUM (calleventduration),
    SequenceNumber MAX (sequence_number),
    MSISDN,
    Max (callreleasetime) callreleasetime
    OF TEMP_MED_PARTIAL_RECORDS_0002
    GROUP BY connectedcallingnumber, imsi, msisdn)

    LOOP

    UPDATE TEMP_RECORDS_MED_DATE
    SET calleventstarttimestamp = cc.callstart,
    calleventduration = calleventduration + cc.duration
    WHERE connectedcallingnumber = cc.connectedcallingnumber
    AND imsi = cc.imsi
    AND sequencenumber = cc.sequencenumber + 1
    AND msisdn = cc.msisdn
    AND calleventstarttimestamp = cc.callreleasetime;


    IF SQL % ROWCOUNT > 0
    THEN
    UPDATE TEMP_MED_PARTIAL_RECORDS_0002
    SET isprocessed = 1
    WHERE connectedcallingnumber = cc.connectedcallingnumber
    AND imsi = cc.imsi
    AND msisdn = cc.msisdn;
    - AND callreleasetime = cc.callreleasetime;

    ON THE OTHER

    UPDATE TEMP_MED_PARTIAL_RECORDS_0002
    SET calleventduration = calleventduration + cc.duration
    IMSI WHERE = cc.imsi
    AND msisdn = cc.msisdn
    AND callreleasetime = cc.callreleasetime
    AND calleventduration! = cc.duration;


    END IF;

    END LOOP;


    REMOVE FROM TEMP_MED_PARTIAL_RECORDS_0002
    WHERE isprocessed = 1;


    p_retval: = 0;

    -VALIDATION;
    / * EXCEPTION
    WHILE OTHERS
    THEN
    -RESTORATION;
    p_retval: = 1;
    p3_errorlog ("partial" p_fileid, SQLERRM, |) ':' || p_filename);
    COMMIT;
    */
    END;

    Is - what your refcursor has a return type? In this case you can not open it with dynamic SQL. Change the Refcursor as a weakly typed cursor and give it a try.

  • How to get the create view sql statement

    I have a technical problem

    There is a view in the database, for example "topstudentsview" and sql statement is ' select * student where scores > 90;

    My question is how to get the sql statement of the view. I want to get the sql statement in the topstudentsview

    Is the equivalent in MS Sql

    sp_helptext 'topstudentsview '.

    How in Oracle?

    Thank you

    user10182401 wrote:
    My question is how to get the sql statement of the view.

    Simple answer: use a tool. Almost every development tool will give you an option for this requirement.

    In Oracle SQL Developer (free), it's as simple as:

    Connect to the database with the user and click on "views".
    Select the appropriate view, and then click the SQL tab.

  • Defender pro 5-in-1 is unable to run, because the real-time protection is disabled

    I installed Defender pro 5 in 1, it won't work. He said: real-time protection is disabled. don't know how to turn it on

    Never heard of Defender Pro 5 in 1 until now.

    Suggest you contact Defender Pro 5-in-1: http://www.defender-pro.com/support/

Maybe you are looking for

  • The upgrade of Windows Vista

    Hello So, there is 'the' Vista Home Premium installed and I decided to give him a chance, but I was thinking about upgrading to a better edition as Ultimate version or 64-bit. So, do you have experiences with Vista Ultimate? Is it faster? Do you have

  • Pavilion G7-1219wm: CPU replacement Pavilion G7

    I own a renovated Pavilion G7, which has stopped working. The flashing light code indicates a failure of the CPU. Is it possible for me to replace it? I think the answer is no because of what I was able to google that shows his soddered on the mb, bu

  • ""script is running in the background.

    When I use the internet, I'm getting boxes pop up indicating a script runs in the background and it gives me the opportunity to continue or stop. I chose to stop the script but it keeps popping up, so when I try to close a message appears stating "in

  • Registration of blackBerry Smartphones

    Newbie here! What suggestions do you have for registration fees and mileage in bold? I'm a small business owner, so there is not a lot of expenses; for the most part, mileage and some expenses of the Fund during the year.

  • Police record shows not installed fonts

    I have more 10 000 fonts installed on my computer and I would like to delete them, but they do not appear in the C:\Windows\Font folder.  I disabled the "hide fonts" in each folder of font settings and they still don't appear.  Help, please!  My list