Need a tool to investigate SQL performance

If anyone can share a tool to study the SQL performance?

Hello

I don't know if this is a good place but you can opt for Quest Toad, which is one of the most common SQL configuration tool.  However, if you are interesting in SQL performance specifically to your DB, then you can consider SQL tuning packs that come with DB Oracle enterprise edition (careful if you use the standard edition).

In addition, Oracle has a very nice set of scripts allow you to download... but you must have an account to the Oracle support:

SQL Tuning-health check Script (SQLHC) (Doc ID 1366133.1)

Tags: Database

Similar Questions

  • SQL performance monitor

    Hello..

    I'm new to sql performance monitor and I need help...

    When I try to create a sql tuning set it asks for a schema to create the tuning series.

    1. what should I use for this?
    2. a particular schema will contain all the sql statements required by the database?
    3.i have multiple schemas in the database... do I do to get all the sql statements for the performance of the database?


    Thank you

    djgeo.

    Hello
    You can select a user database (no application) for the creation of sets of tunng sql

    Salman

  • How export/import the database from the Tools menu in sql developer.

    Hello

    I need to export the database to a server and import it on another server db using the export function of database under the Tools menu in SQL developer. How to import it? This is for Oracle database 10g.

    Thank you

    Hello

    You can do it, but I do not recommend because sqldeveloper could eat all the memory of the system to analyze the script. Now the question is do you have also opted for storage option when you export, if yes make sure that similar tablespace exists or available in env b. Also if you want to use the generated sqldeveloper file you can run this file from sqlplus session

    sqlplus newuser/password
    sqlplus > @myexport.sql

    But my advice or suggestion or recommendation to be, you should consider using export/import or datapump but the decision is yours. Hope this helps

    Concerning

  • Need a tool to identify the most cpu consuming thread.

    I have the database Oracle running on Windows 2008 server edition.

    Recently the oracle process has begun to consume 100% cpu it is not the particular moment where it happens.
    This is why I need a tool to check the particular thread in oracle.exe process consuming more cpu which would help find most cpu of your session in the oracle database.
    Thank you

    Hello

    The Microsoft Answers community focuses on issues and problems related to the consumer environment. Please reach out to the community of professional support in the TechNet below:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • You should know about optimizing SQL performance

    Hi gurus

    I want to know/learn some SQL performance settings, can you please guide me how to I achieve this? Thanks in advance

    Shuumail wrote:

    Can thanks for the reply, you offer me any specific book in your mentioned link?

    The subject itself is not my strong suite, but here are some observations:

    I recently bought the book of Kevin Meade. It is self-published and self published, is not as polished as a lot, but the content seems to be very good.  It establishes a methodical approach with a solid knowledge of the subject.

    Over the years, I've become less enamored of what whether by Burleson.  I was a little surprised to see that one of the books was written by him and Tim Hall.  I do not rely on the website of Mr. Hall for a bunch of stuff 'how to set up'.  On the other hand, if I see a google search show site of Burleson, I usually just pass.

    Whatever it is published by Oracle Press will probably be as solid than anything either, although not totally without error (no book is).  Rich Niemiec is unquestionably one of the top experts on the workings of the oracle, so I expect his book to be very authoritarian.

    I've never been disappointed in a book published by O'Reilly.  They are easy readings and so probably would make a good book "start here."

  • How to investigate DB performance problems?

    How to investigate DB performance problems?

    You can refer to the oracle support doc: Doc ID 1362329.1

    In case you have difficulties to access the Oracle support, I copied some of these inline content:

    K.

  • upgrade 9i Sql performance problems, 10 g

    I've heard several times sql performance problem if db upgrade, what is his fix, this problem SQLs appear in ADDM report with Advisor tunning/access sql to run & its suggestions bugs?

    PL see MOS Doc 466181.1 (10 g companion Upgrade) - this topic is covered in this document

    HTH
    Srini

  • Bad SQL performance, need to advise

    I'm having a problem with the following query:

    SELECT SHIPMENT_NUM
    SHIPPED_DATE
    FROM_ORGANIZATION_ID
    FROM_ORGANIZATION_NAME
    WAYBILL_AIRBILL_NUM
    EXPECTED_RECEIPT_DATE
    RECEIPT_NUM
    EMPLOYE_ID
    BILL_OF_LADING
    FREIGHT_CARRIER_CODE
    PACKING_SLIP
    SHIP_TO_LOCATION_ID
    SHIP_TO_LOCATION
    NUM_OF_CONTAINERS
    COMMENTS
    SHIPMENT_HEADER_ID
    LAST_UPDATED_BY
    LAST_UPDATE_DATE
    LAST_UPDATE_LOGIN
    CREATED_BY
    CREATION_DATE,
    PROGRAM_APPLICATION_ID
    PROGRAM_ID
    PROGRAM_UPDATE_DATE
    REQUEST_ID
    USSGL_TRANSACTION_CODE
    GOVERNMENT_CONTEXT
    RECEIPT_SOURCE_CODE
    ASN_TYPE
    VENDOR_SITE
    $VENDOR_NAME
    ATTRIBUTE_CATEGORY
    ATTRIBUTE1
    ATTRIBUT2
    ATTRIBUT3
    ATTRIBUTE4
    ATTRIBUTE5
    ATTRIBUTE6
    ATTRIBUTE7
    ATTRIBUTE8
    ATTRIBUTE9
    ATTRIBUTE10
    ATTRIBUTE11
    ATTRIBUTE12
    ATTRIBUTE13
    ATTRIBUTE14
    ATTRIBUTE15
    ROW_ID
    OF RCV_MSH_V
    WHERE rcv_msh_v.ship_to_org_id =: 1
    and (rcv_msh_v.shipment_header_id in (select rsl.shipment_header_id
    of rcv_shipment_lines rsl
    where item_id =: 2)) order of shipment_num, expected_receipt_date, shipped_date, shipment_header_id
    --------------------------------

    I looked on occasion and have add some tips to force the CBO to use vice complete sweep of the index table index scans. I also think that there is a problem with the UNION statement. The following view:

    CREATE or REPLACE VIEW FORCE rcv_msh_v (row_id
    shipment_header_id,
    last_updated_by,
    last_update_date,
    last_update_login,
    created_by,
    CREATION_DATE,
    program_application_id,
    PROGRAM_ID,
    program_update_date,
    request_id,
    ussgl_transaction_code,
    government_context,
    Comments,
    bill_of_lading,
    expected_receipt_date,
    freight_carrier_code,
    from_organization_name,
    num_of_containers,
    from_organization_id,
    $VENDOR_NAME,
    vendor_site,
    packing_slip,
    employe_id,
    receipt_num,
    receipt_source_code,
    shipment_num,
    shipped_date,
    ship_to_location,
    ship_to_location_id,
    waybill_airbill_num,
    asn_type,
    attribute_category,
    attribute1,
    attribut2,
    attribut3,
    attribute4,
    attribute5,
    attribute6,
    attribute7,
    attribute8,
    attribute9,
    attribute10,
    attribute11,
    attribute12,
    attribute13,
    attribute14,
    Attribute15,
    vendor_id,
    ship_to_org_id,
    vendor_site_id
    )
    AS
    SELECT rsh. Row_id ROWID, rsh.shipment_header_id, rsh.last_updated_by,
    RSH.last_update_date, rsh.last_update_login, rsh.created_by,
    RSH. CREATION_DATE, rsh.program_application_id, rsh.program_id,
    RSH.program_update_date, rsh.request_id, rsh.ussgl_transaction_code,
    RSH.government_context, rsh.comments, rsh.bill_of_lading,
    RSH.expected_receipt_date, rsh.freight_carrier_code,
    org.ORGANIZATION_NAME from_organization_name, rsh.num_of_containers,.
    RSH.organization_id from_organization_id, NULL, NULL,
    RSH.packing_slip, rsh.employee_id, rsh.receipt_num,
    RSH.receipt_source_code, rsh.shipment_num, rsh.shipped_date,
    HR.location_code ship_to_location, rsh.ship_to_location_id,.
    RSH.waybill_airbill_num, rsh.asn_type, rsh.attribute_category,
    RSH.attribute1, rsh.attribute2, rsh.attribute3, rsh.attribute4,
    RSH.attribute5, rsh.attribute6, rsh.attribute7, rsh.attribute8,
    RSH.attribute9, rsh.attribute10, rsh.attribute11, rsh.attribute12,
    RSH.attribute13, rsh.attribute14, rsh.attribute15, rsh.vendor_id,
    RSH.ship_to_org_id, TO_NUMBER (NULL)
    OF rcv_shipment_headers rsh.
    hr_locations_all_tl RH,
    org_organization_definitions org
    WHERE receipt_source_code IN ('INVENTORY', 'ORDER INTERNAL')
    AND hr.location_id (+) = rsh.ship_to_location_id
    AND human resources. LANGUAGE (+) = USERENV ("LANG")
    AND org.organization_id (+) = rsh.organization_id
    UNION ALL
    SELECT / * + index (top PO_VENDORS_U1) index (rsh RCV_SHIPMENT_HEADERS_N3) * /.
    RSH. Row_id ROWID, rsh.shipment_header_id, rsh.last_updated_by,
    RSH.last_update_date, rsh.last_update_login, rsh.created_by,
    RSH. CREATION_DATE, rsh.program_application_id, rsh.program_id,
    RSH.program_update_date, rsh.request_id, rsh.ussgl_transaction_code,
    RSH.government_context, rsh.comments, rsh.bill_of_lading,
    RSH.expected_receipt_date, rsh.freight_carrier_code, NULL,
    RSH.num_of_containers, TO_NUMBER (NULL),
    POV. $vendor_name $vendor_name, povs.vendor_site_code vendor_site,
    RSH.packing_slip, rsh.employee_id, rsh.receipt_num,
    RSH.receipt_source_code, rsh.shipment_num, rsh.shipped_date,
    HR.location_code ship_to_location, rsh.ship_to_location_id,.
    RSH.waybill_airbill_num, rsh.asn_type, rsh.attribute_category,
    RSH.attribute1, rsh.attribute2, rsh.attribute3, rsh.attribute4,
    RSH.attribute5, rsh.attribute6, rsh.attribute7, rsh.attribute8,
    RSH.attribute9, rsh.attribute10, rsh.attribute11, rsh.attribute12,
    RSH.attribute13, rsh.attribute14, rsh.attribute15, pov.vendor_id,
    RSH.ship_to_org_id, rsh.vendor_site_id
    OF rcv_shipment_headers rsh.
    hr_locations_all_tl RH,
    po_vendors pov,
    POVs po_vendor_sites
    WHERE (receipt_source_code = 'SELLER' AND rsh.asn_type IN ('CRASH', "ASBN")
    )
    AND hr.location_id (+) = rsh.ship_to_location_id
    AND human resources. LANGUAGE (+) = USERENV ("LANG")
    AND pov.vendor_id = rsh.vendor_id
    AND povs.vendor_site_id (+) = rsh.vendor_site_id
    - AND (EXISTS)
    AND (1 (IN)
    SELECT 1
    OF rcv_shipment_lines rsl
    WHERE rsl.shipment_header_id = rsh.shipment_header_id
    AND IN rsl.shipment_line_status_code
    ("EXPECTED", "PARTIALLY RECEIVED", "FULLY RECEIVED")
    AND NOT EXISTS)
    SELECT 1
    BY rcv_transactions_interface rti
    WHERE rti.shipment_line_id =
    RSL.shipment_line_id))
    );

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

    Any help/advice would be greatly appreciated.

    Greg

    Published by: user3581064 on August 4, 2010 09:47

    Please read these:

    When your query takes too long
    When your query takes too long...

    How to post a SQL tuning request
    HOW to: Validate a query of SQL statement tuning - model showing

  • 6210XS SQL Performance Benchmarking

    Our company has recently acquired some new berries for a new ERP system. I am the senior analyst programmer on the project and I'm a beginner-intermediate level on the SAN storage, virtualization and optimization of the performance of SQL. I need to get the speed and at the head of what to expect from this new equipment and best practices to test and manage. Our current ERP is on HP - UX and Informix battery is alien technology in relation to where we are.

    We have a network services division, which was responsible for managing the side home with ESX and EqualLogic 6500 non - ERP. This team is more known in the general management of this equipment, but less time to devote to this new ERP project so I spend to help everyone to get more confidence in the train and educate me about it. Phew. To obtain meat now.

    Setup: dedicated network 10 GB iSCSI with frames enabled. No set MPIO. Dedicated to storage pools for the 6210xs, 6210 (10 K SAS) and 6510 (7200 K). All about the 10 GB.

    I use a tool called MS SQLIO to test the OPS are / s of the 6210XS. I used one of the focus of test by default example of the doc "using SQLIO.

    brief: 6 minutes test, sequential I / O, 2 queries of suspense, of the size of e/s/o requires 256 bytes and a 15 GB test file. The results were:

    H:\SQLIO>SQLIO - kR-s360-fsequential-o2-b256 - LS - Fparam.txt
    SQLIO v1.5.SG
    using meter system for the timings of the latency, 2343750 counts per second
    file settings used: param.txt
    file h:\testfile.dat with 16 (0-15) son using mask 0 x 0 (0)
    16 son of reading for 360 seconds of file h:\testfile.dat
    using 256 KB sequential IOs
    activation of several i/o per thread with 2 exceptional
    the indicated use size: 15000 MB for the file: h:\testfile.dat
    initialization done
    AGGREGATED DATA:
    flow measurements:
    IOs/sec: 133,93
    MBs/s: 33.48
    latency settings:
    Min_Latency (MS): 61
    Avg_Latency (MS): 238
    Max_Latency (MS): 1269

    I made a new test using different settings and had very different results:

    H:\SQLIO>SQLIO - kW - s10 - frandom-o8-b8 - LS - Fparam.txt
    SQLIO v1.5.SG
    using meter system for the timings of the latency, 2343750 counts per second
    file settings used: param.txt
    file h:\testfile.dat with 8 wires (0-7) using mask 0 x 0 (0)
    8 son writing for 10 seconds in the file h:\testfile.dat
    using random 8 KB IOs
    activation of several i/o per thread with 8 exceptional
    the indicated use size: 102400 MB for the file: h:\testfile.dat
    initialization done
    AGGREGATED DATA:
    flow measurements:
    IOs/s: 24122.61
    MBs/s: 188.45
    latency settings:
    Min_Latency (MS): 0
    Avg_Latency (MS): 2
    Max_Latency (MS): 25

    Novice question - this is obviously not a good result, but I need to figure out why my test is configured incorrectly or why the table struggled to perform under these test conditions. Thank you for taking the time to read and respond.

    Usually performance problems are caused by not having is not the SAN (server, switches, table) set up by best practices and in some cases FW drivers and/or obsolete equipment.

    With ESX generally 99% performance problems are solved with:

    Delayed ACK disabled

    People with disabilities large Offload received

    Ensure using Round Robin of VMware (with e / s through changed to 3), or use the EQL MEM (version the most recent is 1.2) Multipathing

    If you use multiple VMDK (or ROW), in the virtual machine, each should have its own virtual SCSI adapter

    Upgrade to the latest build ESX, switch, and server updates

    Take a look at the links listed here first.  See also the Firmware of Array Release notes.

    Best practices for ESX

    en.Community.Dell.com/.../20434601.aspx

    Configuration Guide for EqualLigic

    en.Community.Dell.com/.../2639.EqualLogic-Configuration-Guide.aspx

    Quick Configuration portal (start Grand Place)

    en.Community.Dell.com/.../3615.Rapid-EqualLogic-configuration-Portal-by-SIS.aspx

    Best practices white papers, look for SQL and ESX

    en.Community.Dell.com/.../2632.Storage-Infrastructure-and-solutions-Team-publications.aspx

    Compatibility matrix

    en.Community.Dell.com/.../20438558

    -Joe

  • Add the new column to Admin tool, including the SQL Code

    Hi all

    I am new to OBIEE and I already searched here in the forum but have not found an exact answer which could help me.
    I have a table in the warehouse where to get information on employees. It's employe_id, manager_id and name.
    Example:
    Employe_id Manager_ID name
    1 Mueller
    2 1 Meier

    Now, I would like to create a new column in the Mapping BI Admin tool business layer and add a SQL where to select the name of the Manager.
    Is this possible? And how can we do it? It will work with a new logical column? Where we add the SQL Code?

    I hope someone can answer my question!
    Thank you very much!

    Kind regards
    David

    OK, I think I got it - the name of Manager is on a separate table (or a search to return to the current table) and your thinking that you want to label your SQL in the report to find the name of Manager based on Director ID, you have?

    If so, import the table with the names of Manager in the physical layer. If this is the same table that you already have (but want to search him in the current table) then you need to create an alias for the current table.

    For each new table in the Phy layer, or an alias - define the join (current_table.manager_id = manager_table_or_aliased_current_table.employee_id)

    Once completed, we will on the source of the logic table in the MDB for this dimension, edit, on the general tab, "Add" and select the table / alias that you created in the phy layer. Click OK - it combines now two tables attached as a source - you can then map the name of the Manager search in your column 'name '.

    Kind regards
    Alastair

  • Need Toshiba tools and utilities for my Satellite A660-149

    Hi friends

    I formatted my Toshiba Satellite A660-149 and I didn't create recovery CD/DVDs.
    I installed Windows 7 but now the thing is that I have Toshiba offers NVIDIA graphics controller as eco utility, HDD, face recognition, protection.

    Please suggest me what should I do now... & where I can get this software.

    Hi friend ;)

    All the necessary drivers and tools specific to Toshiba and utilities that you can find on Toshiba support page under http://eu.computers.toshiba-europe.com > support & downloads Support homepage.
    At the bottom of this page, you will see Driver download option.

    Go ahead, choose your model laptop and you will find everything you need.
    Of course, you will find tips for the OS version supported only.

    Good luck

  • Need to tool-installation-HW for Tecra M1

    Hello

    I bought a Toshiba Tecra M1 3 years on ebay, everything works fine, but I miss the installation cd/dvd.
    What I need is Toshiba HW - Setup Utility for the Tecra M1 series. I can't find unter downloads...

    can someone help me find this tool?

    Thank you very much!

    Hey Buddy,

    I'm sitting in front of a Tecra M1 and I wonder if you didn t looked at properly.

    You must download the toshiba console to get HW configuration. And please make sure that you have installed all the drivers/tools available for this machine since it s absolutely necessary that everything is installed.

    When to go to the download site and choosing M1, then choose XP as operating system and then go to the following site (accessible by clicking on "Next" at the bottom of the site). There you should find the "toshiba console" version 3.01.09)

    Download it, install it and be happy. :)

    Welcome them

  • I have a problem with my USB and I need a tool to monitor and diagnose the USB to know what is the problem?

    I have a problem with my USB (after a long time of continuous working it stop working and I need to unplug and re-plug the device), I want a tool to diagnose and remedy?

    You can run this tool:

    http://support.Microsoft.com/mats/Windows_USB_diagnostics/

  • Need to call the PL/SQL Package in the group dynamics of approval class that implements IDynamicApprovalGroup

    Hi all

    This is regarding the approval of invoice AP I need in my project where the user selects the users/people approval when creating the invoice based on logic. There may be any number of users who could be part of the approval group.

    Approval users information is stored in a table with a single Bill.

    When the user initiates invoice approval, approval of the Bill should go to all the people/users selected in the invoice.

    I created the dynamic of approval group which is the result of a java class. This java class implements IDynamicApprovalGroup. (what is the oracle Developer Guide).

    I called PL/SQL to java class package to get all the details of users of custom for the current invoice table.

    I used the DriverManager.getConnection method by hard coding (JDBC URL, Username, Pwd) connection details that works perfectly fine.

    But I don't want to hard-code the connection details because it will change in bodies SIT/UAT/PROD.

    Please ask you to guide me if there is no solution for the information of connection without hard coding it.

    Following code used to get the connection details

    try {}

    Class.forName ("oracle.jdbc.driver.OracleDriver");

    System.out.println ("= class loaded");

    }

    catch (ClassNotFoundException ex) {}

    System.out.println ("= class loading error");

    ex.printStackTrace ();

    }

    Fitting out = null;

    CallableStatement cstmt = null;

    Try

    {

    connection = DriverManager.getConnection ("jdbc:oracle:thin:@xxhostname:1521/SID", "FUSION", "*");

    Connection = GetConnection ();

    System.out.println ("= connection =" + connection);

    prepare the call

    cstmt = connection.prepareCall ("{call XX_AP_INV_DYN_APPROVAL_PKG. {GET_GROUP_PARTICIPANTS (?,?)} ») ;

    cstmt.setString (1, '12345');   ID on invoice

    Exit of the register

    cstmt.registerOutParameter (2, java.sql.Types.VARCHAR);

    Call the stored procedure

    cstmt. Execute();

    System.out.println ("= procedure being executed");

    approvalGroupMembers = cstmt.getString (2).split("#");

    System.out.println ("= output:" + cstmt.getString (2));

    }

    catch (Exception ex) {}

    ex.printStackTrace ();

    }

    Finally

    {

    Try

    {

    If (cstmt! = null)

    close the callable statement

    {

    cstmt. Close();

    cstmt = null;

    }

    System.out.println ("= stmt closed");

    }

    catch (SQLException ex)

    {

    System.out.println ("= stmt close err");

    ex.printStackTrace ();

    }

    Try

    {

    If (connection! = null)

    close the connection

    {

    Connection.Close;

    connection = null;

    }

    System.out.println ("= closed conn");

    }

    catch (SQLException ex)

    {

    System.out.println ("= Close conn err");

    ex.printStackTrace ();

    }

    }

    Thank you

    Dipak.

    HI Dembélé - you should be able to call the provider database from the java class. Documentation is here. However, you need to specify the name of the data provider that is the same in all environments. Do you know what it is? If it's not I'll take a look and get back to you.

    __

    Peter Maurer

    Relationship with the developers of Applications in fusion

    https://blogs.Oracle.com/fadevrel/

  • Need to PROFILE options in SQL query

    SELECT ffvs.FLEX_VALUE_SET_NAME
    , ffvs.FLEX_VALUE_SET_ID
    , ffv.FLEX_VALUE_ID
    , ffv.FLEX_VALUE
    FROM fnd_flex_value_sets ffvs
    , fnd_flex_values ffv
    WHERE 1=1
    AND ffvs.FLEX_VALUE_SET_ID=ffv.FLEX_VALUE_SET_ID
    AND ffvs.FLEX_VALUE_SET_ID=1012493  -- SCHEME_GL_OPTION
    AND ffvs.FLEX_VALUE_SET_ID IN (select FLEX_VALUE_SET_ID from FND_FLEX_VALUE_RULE_LINES 
    where 
    FLEX_VALUE_RULE_ID 
    in 
    (select FLEX_VALUE_RULE_ID from FND_FLEX_VALUE_RULES where FLEX_VALUE_RULE_NAME='MDS ZA Option' ))
    

    I try to run the particular qyery of SQL to create the VIEW.

    Concern:-he will return all columns of values associated with all the rules and count GL

    -> I want to filter by running the or by using the PROFILE option so that he returned for a single RESP_ID.

    It is anyway to use in creating in the QUERY view to pick up the only RESP_ID.

    flex.png

    Hope I made clear in my question.

    I agree with you people.

    This table, I used fnd_flex_value_rule_usages to join the fnd_flex_values for responsibility according to the users want by passing the value.

    No need to use the PROFILE option.

    Thanks to all of you guyz.

Maybe you are looking for

  • Unknown error when you try to configure Firefox Sync

    I'm trying to set up Firefox Sync, but I fill my email address on the first line I first the message 'invalid email account' (or similar), but then when I continue to fill with [email protected] he says just "unknown error." I tried several different e-mai

  • Re: Qosmio X 870 and Win8 - unable connect iPhone 4S or update of iTune

    On my Qosmio X 13 870 q with windows 8, I can not connect my iTune iPhone 4S or upgrade. The analysis gives me this result: existing problem with the driver for the USB - IF x HCI Host Controller (in french: there is a problem at the level of the USB

  • Bought the audio book on iPad but not displayed on the iphone

    I bought an audio book of iTunes on my iPad and he listened. I searched to download on my iPhone to listen to him out there, but is not display purchased. In fact, he wanted to charge me again for download. Any ideas please?

  • Toshiba has released WXP driver pack for Satellite A200 - 14 d (PSAECE)

    Just go to their download page and download jiggy with it.ATM their download servers are quite slow, so do notexpect appropriate download speeds. But, nevertheless, weFinally won. Thanks Toshiba.Hawg Even so, no drivers NVIDIA again, Intel only. grrr

  • comunication between lego - pc

    HelloI had a BT program that runs on the NXT to read a gyroscope.But now I want to do another program on the computer, in which I need to know the values of the gyroscope.So I want that the NXT somehow sent the data to the pc values.I don't know whic