Performance of queries fired through the application

Hi
I m using Oracle 10G Standard edition in windows server.
As a part to check how much time is taking to insert 50000 records in the table and to check CPU used for the insert, Does Oracle has any tables or tools to do this. Can this be extracted from any views. Kindly advise me on this.
Thanks
Ram

sb92075 wrote:
Is there anyway to get the trace only for a particular user in multi threaded server?A simple LOGON trigger can be written that does
ALTER SESSION SET SQL_TRACE=TRUE
for the desired schema(s).Sb,
I am afraid that its a wrong answer. In a shared server, the "session" (not the schema) can be served by all the available server processes. By this, the information for that session would be spread across in various files. Even when you would enable the tracing for the specified user in its schema, since its not being served by a dedicated server process, the resultant trace file woudln't contain the complete information about the user.
Aman....

Similar Messages

  • Saving wrong queries given through an application in a table

    Hi,
    I want to save all the wrong queries given by an application (like RADIUS)in to a table.So far i was succesful to save all the wrong queries given by a user from sqlplus,through SERVERERROR trigger.Any help will be great.
    Thanks.

    One thing if you want to do a rollback or commit inside a trigger is using autonomous transaction inside a trigger..Please find the sample code for that which might be useful in your case
    CREATE OR REPLACE TRIGGER t_autonomous_tx
    BEFORE INSERT
    ON person
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO audit_log
    (chng_when, commentcol)
    VALUES
    (SYSDATE, 'Reporting an error');
    COMMIT;
    END t_autonomous_tx;

  • Queries fired against the database

    Hi everybody,
    I have requirement of this kind.
    I Need to get list of all the queries that hit the database for a day.
    The application team needs the queries that hit the database when they are working with the application.
    database version : 10.2.0.4
    Operating system: HP UX
    Regards,
    khaja

    khaja(DBA) wrote:
    Hi everybody,
    I have requirement of this kind.
    I Need to get list of all the queries that hit the database for a day.
    The application team needs the queries that hit the database when they are working with the application.
    database version : 10.2.0.4
    Operating system: HP UX
    You should have a look at AUDIT feature of oracle.

  • How users can upload excelsheet data through the application page....

    I want to make my application in such a way that the users of the application can import data from an excel sheet to the respective tables through the page.Once the users browses the file and clicks on the submit button,the whole data from the excel sheet should go to the respective tables.The thing is that as the work of uploading is done at the back-end...it can also be done at front-end in the application itself.Also,i need to validate the data before inserting it.Please can you advice me on this.........

    Hello,
    I believe the following thread can be a good starting point - Loading a CSV file into a table
    You can download Vikas' application, exploring the code and modify it to your needs.
    Regards,
    Arie.

  • Skype calls are getting failed through the application

     
    Hi,
    I keep trying to call my friend on skype and I've tried everything from reinstalling skype to power-cycling my router, but The Skype call keeps failing! If you could, help would be greatly appreciated, thanks.

    Added this after looking at one of the forum entry.
    restServiceAdapter.addRequestProperty("Accept", "application/json; charset=UTF-8");
    And issue is resolved. Documentation update in sample code would help others.
    Edited by: Chandresh on Sep 4, 2012 2:36 PM

  • Where does data get stored ones posted through the sap application?

    i wish to know where the final data get stored ones the data is entered through the application ME22n.
    will it be loaded into back end system or in buffers...

    There is a nice transaction ST05 to trace which tables are called...!
    If you activate the trace before you call any transaction and deactivate after job is over, it gives the list...
    Thanks

  • Performance Monitoring - How to get the data

    Hi all,
    we have a tool to monitor non sap systems and services and would like to use the same tool to get some runtime information from PI services, specially soap interfaces. The information we want is available at runtime workbench, performance monitoring.
    Is there a standard function we can use to get this data (EJB , Bapi, RFC, etc...) ? Today we are importing daily a file with this information from RWB, but this is enough only for statistical purposes, not for monitoring.
    Some tip?
    thank you.
    regards.
    roberti

    Roberti,
      Three are a number of ways to tackle these things - I usually like CCMS just because SAP spends so much time making it work for everything anyway - if your tool can connect to this - you can get some decent information from here about your system status, queue's and java.
      Speficially for Messages, I don't think that there are monitors defined as RFC BADI's or BAPI's to use but if you feel saucy, tables for messages are SXMSPMAST2 and SXMSPMAST - should give you a programming head-start to get some data and pass that back although you would only replicate the functions in CCMS.
      Of course with all SAP Products, you have to go through the application to get this data, no ODBC connections or otherwise - there are other options like DBCON to allow you to 'send' data to other Db's if you need to do it that way.
      Hope that helps somewhat and if this answers your question, please set your thread to answered.
    Edited by: David Milliken on Feb 22, 2008 8:06 PM

  • Windows Transparent Key, Through the Window?

    Dear, Fellow-Coders
    I recently noticed if I try the transparent key and set it for example, pink and I have a pink background for my picture box.. And a image inside that box. Sure enough the pink is transparent, but instead of going to the image beneath it, or to the form...
    It goes through the application. I'm using Visual Studio Express 2013. Please Help, Thanks! (Also, if you need code to do this.. Can you provide it, I searched this everywhere and found nothing.)

    Dear, Fellow-Coders
    I recently noticed if I try the transparent key and set it for example, pink and I have a pink background for my picture box.. And a image inside that box. Sure enough the pink is transparent, but instead of going to the image beneath it, or to the form...
    It goes through the application. I'm using Visual Studio Express 2013. Please Help, Thanks! (Also, if you need code to do this.. Can you provide it, I searched this everywhere and found nothing.)
    Hello,
    That is the right behavior of that property, and it is mainly used for transparent for forms.
    You could refer to the following documents for more information.
    1.
    Form.TransparencyKey Property
    2.Transparency Tutorial with C# - Part 3
    And for transparent for picturebox, you could get that consider using the way shared in this thread below.
    https://social.msdn.microsoft.com/forums/windows/en-us/f43ed61e-6e15-41f8-801d-1e908810eed2/transparent-picturebox
    If you are dealing with transparent images, you could consider following this document.
    How to Use Transparent Images and Labels in Windows Forms
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.
    Hello,
    Based on testing by adding the other controls, I have edited that reply.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Changes to password are not reflected immediately in the application

    Hi All,
    If I change the password either from the console or through the application
    itself, the change are not reflected immediately. They are reflected when I
    shutdown both the admin server and managed server and bring them up. I think
    the previous password is cached somewhere. If so, how to refresh it. When I
    am changing the programatically ie using
    User.changeCredential(oldPassword,newPassword);
    I am refreshing the realm by using RealmMBean.refresh() . But it is not
    working. Right now i am using default file realm. Can anyone tell what i
    am missing here
    Thanks in advance
    Suresh

    Suresh,
    If your custom user extends DefaultUserImpl then you can update the password
    in that instance within the method User.changeCredential(...) as
    Construct the userinfo object with the old password
    Authenticate the user against the realm with the userinfo -- returns the
    customuser
    customuser.setCredential( ** new passsword**) (setCredential method of
    DefaultUserImpl)
    update the file/database
    Hope this works.
    -- Sunny
    "Suresh Done" <[email protected]> wrote in message
    news:3b4a4d7e$[email protected]..
    Hi All,
    If I change the password either from the console or through theapplication
    itself, the change are not reflected immediately. They are reflected whenI
    shutdown both the admin server and managed server and bring them up. Ithink
    the previous password is cached somewhere. If so, how to refresh it. WhenI
    am changing the programatically ie using
    User.changeCredential(oldPassword,newPassword);
    I am refreshing the realm by using RealmMBean.refresh() . But it is not
    working. Right now i am using default file realm. Can anyone tell what i
    am missing here
    Thanks in advance
    Suresh

  • Assigning roles dynamically through an application

    We have an application being written in PowerBuilder 7.0.3 which accesses an Oracle 8.0.5 database running on OpenVMS. Is there a way to dynamically assign roles through the application to ensure that no modifications are made outside of the application?
    Thanks

    The use of dynamic roles for security is a very bad idea! Even if you set a password on the role, determining the name and the password for the role is trivial. Just open the binary using notepad, and search for "set role" and the password is right there.
    The only way to securely design your application is to place the controls in the database where they can not be manipulated. Use stored procedures, functions, and views!
    HTH,
    Aaron C. Newman
    AppProtect, Inc.

  • How can I flush/repair installed programs in the Application Manager / Creative Cloud?

    Hi. I had installed a few of the Adobe programs through the Application Manager/Creative Cloud service on a Windows 7 system. The system crashed, forcing me to recover from a prior time backup, which was from before I installed the programs. Now, the Adobe Application Manager shows the prior programs as "Installed", and will not allow me to re-install them. These programs *do not* appear in Window's "Uninstall Programs" listing for me to uninstall manually, *nor* do they appear in the Start Menu to launch. And as far as I can tell, they no longer have Registry entries.
    How do I flush the Application Manager to tell it that I do not have these programs installed anymore, or force it to re-install?
    Thanks.

    I don't believe the data on what is installed and what is not is held at Adobe; I think it is in your particular instance of the AAM that "knows" what is installed.
    I'm not sure what happened to me will help you or not but... Also, I have a Mac not a Win7 system.
    In my case, I had Acrobat X Pro and I download Acrobat XI. Acrobat does not like to install when there is an older version already on the machine. Adobe tells you to unistall the older version and then install the new version. Why this isn't in their install scripts is beyond me. The installer for Acrobat XI ran sucessfully. I didn't realize the problem until I went to open a PDF.
    I manually uninstalled Acrobat X. Still had problems. Then I manually uninstalled Acrobat XI. (Both times I used the uninstaller Adobe provides.) I started AAM and it showed the XI installed. I tried the Adobe Creative Suite Cleaner Tool. The tool is supposed to clear out any left overs after an uninstall and thus "flush" AAM. When I ran the Cleaner, Acrobat XI didn't show up in the list of programs. I eventually found a second uninstaller for Acrobat XI that cleaned things up such that AAM agreed I needed to install the software.
    With the disk-based installs, when you ran the installer you got an option to "repair" the current installation. Why you have to jump through all the hoops that AAM has not is beyond me. It would seem more rational to put options into AAM directly to let you re-install things or repair them. This is one where Adobe dropped the ball.

  • Paying through the iOs Appstore

    Hello everyone !
    I don't get it.
    When I try to update my informations on my account on my iOs device (iPad or iPhone) whatever I push for a button, like changing the city I'm in or changing the credit card informations, it opens me a Safari window kinda "be careful for your password and use a lot of characters blahblah .."
    The problem is that when I go back into my account in order to change the city for example it bring me back right away to the Safari page, making it impossible for me to change anything.
    So I went through the store itself and changed the informations. BUT. Now there is an app I wanna buy through it. So I start it, and then click on `pay`. The app store pops up and tell me `are you sure you wanna buy it ?` `yes ...` `then just put your credit card behind code number` (the 3 digits behind the VISA card). But when I want to enter the numbers it's popping me again that safari window. Makes it impossible to buy anything through the iOs store.
    I thought about buying the application directly on the computer but that's impossible because the it's only through the application. I'm really trying hard to find a solution but I can't make it. I tried since yesterday without sucess ... Any idea about it ?
    I hope I was clear in my explication and someone knows something about it.
    Thanks !

    Actually in my case yes, it's a In-App purchase ... but actually that doesn't really matter. I have the same issue whenever I wanna buy something through the store on the iDevice.
    Screenshot ? Well I don't really know what kind of screenshot I can do. Ah ...
    More then the problem of cashing the application. Let's say I go to "settings/iTunes Store" click on Apple ID and then "show apple ID informations" then "change informations" and I want to change the `city` for example. Usually there is the list of cities coming up. But as soon as the list of cities pop up, Safari show me a window "Apple ID : tips for protecting the security of your account". and when I go back to the options, I have the same problem in loop.
    Maybe I should have wrote like that from the beginning ... The problem is weird. Is there any option to tell him not to open Safari or something like that ?

  • Stuck at the application stage

    I'm attempting to get my ebook published in the iBookstore, and have gone through the application process, submitted on July 11. I've not received any further info on how to proceed from here. Any suggestions? Thanks!

    Never mind. Just got an email from Apple. Application approved. All's well that ends well.

  • Calling from the application Slow vs. Running through SQL developer Fast

    Alright, we write many applications that make use of calling stored procedures in packages to return data. This is the only time i have ever encountered this issue and have not been able to pinpoint the cause.
    This application is very data-centric and is filled with calls to stored procedures and I would say about 80% run fine as in the time required to run is about the same as in SQL Developer maybe just a little slower due to the amount of data that may be returned to the application. The other 20% run horribly slow from the application and run lighting fast in SQL Developer and i cannot figure out why.
    I have traced the code right up to the .Fill on the Oracle.DataAccess.Client.OracleDataAdapter and that is where it just holds either for a long period of time or just forever, some of these i haved waited hours for and they have not finished running.
    For Example: I created a new page in the project and it makes a request through the use of ajax, when the request file is reached it performs two stored procedures from the same package (the only two procedures in the package). Both procedures take in three varchar2's and have an in out cursor, the cursor is returned into a datatable in the VB. The first query runs in a couple seconds returns the correct data etc. The second query, which takes .2 seconds on average to run from SQL Developer, just runs and runs and i have never actually even waited for it to finish because it takes so long. The specific example i am trying only returns 1 row with 7 columns, so there is not a large amount of data being passed back.
    I have seen this sort of thing happen on occasions, but everytime it was usually because the package was not compiled and was waiting on a view to finish before compilation and after killing the view it was fine. But this issue seems to happen randomnly with certain procedures and not others all in the same package.
    This issue happens on the same procedures everytime which would lead me to believe it is the procedure, but running them in SQL Developer shows me this is incorrect because they run exceptionally fast in some cases. I even went so far as to restart the entire database just in case there was some sort of lock causing this issue but this did not fix the issue.
    I have verified parameters, cursors, debugged the procedures, stepped every line of code, tried deleting and readding the oracle.dataAccess reference. I can't seem to figure this one out.
    It is causing alot of wasted time because i am forced to wait a horribly long time for these queries in order to test. If anyone has any clues, hints, or ideas as to what this could be please let me know! If the same issue exists when the application is moved into production it will be unnacceptable and the application utterly unusable.
    Thanks in Advance for any help!
    -Jarrod

    Hi,
    This is consistently reproducible with the problem procedure/operations? Total WAG here, but I've seen cases where having support for distributed transactions enabled causes the database to disable certain optimizations. Try setting Enlist=false in your connection string.
    Otherwise, I'd recommend enabling 10046 database trace and client side sqlnet trace to capture the problem behavior for further investigation. Oracle support can certainly give you a hand with that if needed.
    Hope it helps,
    Greg

  • Performance wise: CMOD or dividing the queries.

    Dear Friends,
    I have a performance related question.
    We need to develop a report in which Sum of top 5 materials based on delivery quantity has to be displayed monthwise.
    Eg: If in January Materials M1 M2 M5 M6 M7 are top 5 in delivery quantity, then the sum of their delivery quantity.
    If in Feb Materials M2 M3 M5 M8 M9 are top 5 in delivery quantity, then the sum of their delivery quantity.
    and so on till December.
    I thought of using condition TOP N on delivery quantity in Bex query. (Pls correct me if i am wrong)
    Problem: Top N will work only for one month in a single query. It cant work for different month (different top 5 materials)
    Solution Proposed:
    1. Make 12 different queries, one for each month (using Top N) and put each result in a workbook.
    2. 12 different cmod variables and cmod code picksup top 5 materials for each month and put in each variables of respective months. Restrict using these cmod variables for respective columns.
    So I wanted your valuable suggestions which of the above method will be of good performance (considering maintenance, etc factors) and the reason also.
    Approximate number of records 1 lakh per year.
    Kindly give ur suggestions.
    Thanks,
    Guru
    Edited by: hi2guru on Nov 17, 2010 5:21 AM
    Edited by: hi2guru on Nov 17, 2010 5:55 AM

    Hi
    Interesting situation !!!
    I think writing 12 queries is not a good idea. For a simple reason that you will have either run a Query at a time (with a different input for each of this) .. isnt it ?
    Creating variables for each of the month would be a good idea. You could generate value of 11 months based on a single input from the user. Moreover, the user can give any input ...say for eg the input is 11.2010 then through the customer exit you could find values for the past 11 months. Similarly even if the user changes the input value (say to 08.2010) the system can easily calculate the previous 11 months thus giving you the desired output.
    Cheers
    Umesh

Maybe you are looking for

  • Iphone apple mobile device service error

    Hello, I recently restored my computer back to factory settings, however since I have done this I cannot get itunes to work with my iphone 3g (which in turn is currently not able to send text messages), i assume it needs some sort of update. Though i

  • Importing vhs using pinnacle

    I have used pinnacle in the past to import vhs to pc's. Since purchasing a mac, I downloaded software from pinnacle for mac so it would open when the usb is attached to the mac. It does not read it. Does anyone know about this or know how to fix it?

  • Good questions on 10g

    i need some information on what types of questions come in 10g which a 10g person should be knowing. Any web-site or documentation will be helpful. I hope, my question is clear. Please help, in solving the doubt. regards.

  • Can't open eBook on iPad: get E_ADEPT_INTERNAL error.

    I am trying to download to my iPad an Axis360 book i borrowed from my library. I have been able to download it to my Windows 8 PC, but i'm having trouble getting on the iPad. I have Axis 360 reader installed on my iPad. If i log in to the library, i

  • How to make a dotted line starburst shape

    I am trying to make a starburst shape with dotted lines. I cannot seem to figure it out. Any ideas??