Regarding SQL performance Analyzer

Hi,
I am working on oracle 11g new feature Real application testing.I want to test the performance of DB after setting DB_BLOCK_CHECKSUM and DB_BLOCK_CHECKING parameters to TRUE(currently FALSE) by using SQL performance Analyzer. I have collected the SQL Tuning Sets from production and imported in Test server(replica of PROD), and will test the same in Test server only.
Will it be feasible to check by using SPA ? My concern is that in Test environment concurrent transaction and DML operation will not be done .
Please help me out on this .
Rgds,
At

Hi,
Look at http://download.oracle.com/docs/cd/B28359_01/server.111/e12253/dbr_intro.htm
Regards,

Similar Messages

  • Real Application Testing/Sql Performance Analyzer Docs in 10g....

    I believed that both the tools mentioned in the subject are a part of 11g and so are in the 11g docs.
    http://download.oracle.com/docs/cd/B28359_01/server.111/e12253/toc.htm
    But I was just looking at 10g book listing and I saw the same book in 10g documentation as well.
    http://download.oracle.com/docs/cd/B19306_01/server.102/e12024/toc.htm
    Now my best guess is that this is due to the backporting of 11g tools for the previous releases. Means that we can do RAT or use SPA in pre 11g databases as well so this doc book is added. Is it correct or there is some other reason?
    Cheers
    Aman....

    Real Application Testing was introduced as a new feature in Oracle Database 11g. The documentation for Real Application Testing was released in 4 phases.
    In the initial phase, the usage of Real Application Testing was documented in the Performance Tuning Guide for release 11.1.
    In the second phase, the Real Application Testing User's Guide was released for release 10.2 to document certain backported functionalities. For Database Replay, the capability to capture a database workload was backported. For SQL Performance Analyzer, the capability to capture a SQL workload into a SQL tuning set was backported. These functionalities were backported to Oracle Database 10g Release 2 (version 10.2.0.4 or higher) to support customers who want to use Real Application Testing to test database upgrades from a previous version of Oracle Database to Oracle Database 11g.
    In the third phase, the Real Application Testing Addendum was released for release 11.1 to document the added functionality to read SQL trace files from Oracle Database 9i to construct a SQL tuning set that can be used as an input source for SQL Performance Analyzer in release 11.1.0.7.
    In the final phase, all available documentation for Real Application Testing contained in the above documents were consolidated into the Real Application Testing User's Guide for release 11.1. Going forward, this guide will contain all documentation of Real Application Testing and be updated for each release.
    Regards,
    Immanuel

  • SQL Performance Analyzer Information

    Hi,
    i would use SQL Performance Analyzer to test changes between 10g and 11g database.
    I will use Parameter Change option in SQL Performance Analyzer Workflows and test the change of parameter OPTIMIZER_FEATURES_ENABLE.
    Now, if I find some query that should be optimized how can I save new profiles from the test environment and apply it after i upgrade the production environment?
    tnx

    >
    i would use SQL Performance Analyzer to test changes between 10g and 11g database.
    I will use Parameter Change option in SQL Performance Analyzer Workflows and test the change of parameter OPTIMIZER_FEATURES_ENABLE.
    Now, if I find some query that should be optimized how can I save new profiles from the test environment and apply it after i upgrade the production environment?
    >
    To me, your question translates to: 'How can I export SQL Profiles from test and import into production?'
    Answer: Use
    DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF
    DBMS_SQLTUNE.PACK_STGTAB_SQLPROF
    to create a util table on test and store SQL Profiles into.
    Then datapump util table to production and
    DBMS_SQLTUNE.UNPACK_STGTAB_SQLPROF
    there.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Ignore - SQL PERFORMANCE ANALYZER of 11g (dulpicate question)

    I am using 11g on Windows 2000, I want to run SQL PERFORMANCE ANALYZER to see the impact of init.ora parameter changes on some sql’s. Currently, I am using it in a test environment, but eventually I want to apply it to production environment.
    Let us say I want to see the effect of different values for db_file_muntilbock_readcount.
    When I run this in my database, will the values changed impact only the session where I am running sql performance analyzer, or will it impact any other sessions, which are accessing the same database instance during the analysis period. I think, it impacts only the session where SQL Performance analyzer is being run, but want to make sure that is the case? I am not making any changes to paremeters myself using alter satementsm but Oracle is changing the parameters behind the scenes as part of its analysis,
    Appreciate your feedback.
    Message was edited by:
    user632098

    Analyzer analyzes.
    When you change in init parameter you change the parameter for everybody.

  • Problems regarding to performance analyzer

    I'm trying to ultilize sun performance analyzer to analyze c codes implementing OpenMP API. I have used a virtual machine which is classified as Linux-32-bit, 2 CPUs, Debian_4.0 system. And I have met two problems:
    1. For a large simulator code sets, I could not set more than 2 threads in the code. And from the results of analyzer, it seems there were two threads, but only one cpu is binded.What's the reason for that, do i need to bind cpus to threads?
    2. For a simple OpenMP program as follows, after using collect command, in the result nothing is shown in any of the tabs except experiments tab. It does give some warnings, but i don't think that's the key problem.Because the analyzer works for our simulator.(btw. this is the example code of sun thread analyzer.For that one, i also got same kind of problems for simple testing programs i wrote.)
    commands used:cc -xopenmp -xO3 openmptest.c
    collect ./a.out | sort
    analyzer &
    Results got: Creating experiment database test.9.er ...
    Number of prime numbers between 2 and 3000 430
    WARNING: Linux-32-bit, 2 CPUs, Debian_4.0 system is not supported by the Performance tools.
    #include <stdio.h>
    #include <math.h>
    #include <omp.h>
    #define THREADS 2
    #define N 3000
    int primes[N];
    int pflag[N];
    int is_prime(int v)
         int i;
         int bound = floor(sqrt((double)v) )+1;
         for(i=2;i< bound;++i)
              if(!pflag)
              continue;
              if(v%i==0)
                   pflag[v] = 0;
                   return 0;
         return(v>1);
    int main()
         int i;
         int total = 0;
    #ifdef _OPENMP
         omp_set_num_threads(THREADS);
         omp_set_dynamic(0);
    #endif
         for(i=0;i<N;++i)
              pflag[i]=1;
         #pragma omp parallel for
         for(i=2;i<N;i++)
              if(is_prime(i)){
                   #pragma omp critical
                        primes[total]=i;
                        total++;
         printf("Number of prime numbers between 2 and %d %d\n",N,total);
         for(i=0;i<total;i++)
         printf("%d\n",primes[i]);
         return 0;

    I suspect both issues are related to the support of multiple processors in the virtual machine and the guest OS. Would you be able to try it outside a virtual machine? Or provide more details about your setup?
    Thanks.
    -- Yuan

  • 11g sql performance analyzer

    dear all,
    i am trying to use 11g new feature sql perfomance analyzer SPA to check the result of changing intialization parameter on certain sql tuning set , the problem is the enterprize manager gives me list of 106 parameter to choose one of them , which is the isses_modifiable parameters,
    my questions is can i use this feature to check the result of changing one of parameters out of this scope (db_block_size) for example,
    thanks for reading

    This is a duplicate.
    Please be courteous to others and only post your question one time and in the appropriate forum.
    Thank you.

  • 11g SQL Performance Analyzer backport to 10g?

    My Question:
    In the context of 9i -> 10g upgrade and to deal with perfomance issues, would be good to have this tool available as well. I understood it's PL/SQL so, was wondering if anybody has knowledge of it being requested for back-port or even if back-ported already?

    Given the amount of infrastructure required to support it my guess is that it isn't going to happen. But then I thought the same thing about Streams.
    What prevents you from using it in 11g while running production in 10gR2?

  • SQL Performance Analyzer - no insert statements possible ?

    Hi together
    I traced a insert-stament on 9i, made a tuning set on the 11g for run in 10g. The creation of the tunig set was succesful. But if i want to play the tuning set on 10g with same data i get an error :
    Type of SQL Statement not supported !
    Can i only trace the select ? Have you made a test with bind variables ?
    Thanks for your input.

    user626582 wrote:
    Double postingHa ha , I was going to mention exactly the same!
    Aman....

  • Sql Performance Analyzer/ RAT for 11g R2

    I have been attempting to get a download of RAT/SPA for 11g R2. Currently it is not installed on my new r2 db. looked in OTN and Oracle Support no luck...is it the same as 11g R1?

    Welcome to the forums !
    Pl see if MOS Doc 948061.1 (How to Check and Enable/Disable Oracle Binary Options) can help.
    Ensure that you have appropriate licenses :-) http://download.oracle.com/docs/cd/E11882_01/license.112/e10594/options.htm#DBLIC154
    HTH
    Srini

  • SQL PERFORMANCE SQL ANALYZER of 11g

    I am using 11g on Windows 2000, I want run SQL PERFORMANCE ANALYZER to see the impact of parameter change on some sql’s. Currently, I am using it in a test environment, but eventually I want to apply t to production environment.
    Let us say I want to see the effect of different values db_file_muntilbock_readcount.
    When I run this in my database, will the values changed impact only the session where I am running sol performance analyzer, or will it impact any other sessions, which are accessing the same database instance. I think, it impacts only the session where SQL Performance analyzer is being run, but want to make sure that is the case?
    Appreciate your feedback.

    I think, it impacts only the session where
    SQL Performance analyzer is being run, but want to
    make sure that is the case?The database instance is part of a larger 'system' which includes a fixed set of physical resources. Your session, and every other session, work within the constraints of those resources. When you change the current SQL statement, you will be moving the balance between those resources.
    For example, a disk can only respond to one access request at a time. A memory location can be used for one piece of data at a time. A DB cache buffer can only reflect one block at a time. There are a lot of 'points of serialization'.
    Although the major impact should be on the current session, there will be some impact on every other session in the system.
    BY the way, there is an 'edit' button available to you for every post you create. As a courtesy, you could edit the title of the duplicate and let us know it is indeed a duplicate - or you could edit that other thread to ask that other question you were going to ask.

  • Diff b/w Run time Analyizer(se30),Sql Trace (st05) and Performance Analyzie

    Can any one tell me the Diff b/w Run time Analyizer(se30),Sql Trace (st05) and Performance Analyzie(al21) ?

    Hi
    these all are doing t he same thing that is checking the program for better performance
    Tools for Performance Analysis
    Run time analysis transaction SE30
    SQL Trace transaction ST05
    Extended Program Check (SLIN)
    Code Inspector ( SCI)
    Run time analysis transaction SE30 :This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing. 
    SQL Trace transaction ST05: The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on a particular database table of the ABAP program would be mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Extended Program Check
    This can be called in through transaction SE38 or through transaction SLIN. This indicates possible problems that may cause performance problems.
    Code Inspector (SCI)
    You can call the Code Inspector from the ABAP Editor (SE38), the Function Builder (SE37), the Class Builder (SE24), or as a separate transaction (SCI).
    The Code Inspector indicates possible problems. However, note that, especially with performance issues: There is no rule without exception. If a program passes an inspection, it does not necessarily mean that this program will have no performance problems.
    reward if usefull

  • How to create a Matrix table using this data in SQL Query Analyzer

    Hello all,
    I have a problem while I am trying to represent my Sql Table namely table1 in Matrix form
    my table Format is
    city1 city2 Distance--------------------------------------------------------
    Mumbai Delhi 100
    Delhi Banaras 50
    Mumbai Rajasthan 70
    Banaras haryana 40
    Mumbai Mumbai 0
    784 entries
    there are 784 cities each having link to other
    Now i want my output as
    Mumbai Delhi Banaras haryana
    Mumbai 0 100 -- --
    Delhi 100 0 50 --
    Banaras
    haryana
    respective distance from one city to other should be shown
    final Matrix would be 784*784
    I am using SQL Query Analyser for this
    Please help me in this regard

    I'm pretty much certain that you don't want to do this in pure SQL. So that means that you want to do it with a reporting tool. I'm not familiar with SQL Query Analyzer, but if it is in fact a reporting tool you'll want to consult its documentation looking for the terms "pivot" or perhaps "cross tab."

  • Help needed in SQL performance - Using CASE in SQL statement versus 2 query

    Hi,
    I have a requirement to find count from a bunch of tables.
    The SQL I have gives the count of all members.
    I have created 2 queries to find count of active and inactive members.
    The key difference is only the active dates.
    Each query takes 20 seconds to execute.
    I modified the SQL to use CASE statement in the SELECT.
    So after the data is fetched the CASE statement will evaluate the active date and gives 2 counts (active and inactive)
    Is it advisable to use this approach. Will CASE improve SQL performance ? I have to justify this.
    Please let me know your thoughts.
    Thanks,
    J

    Hi,
    If it can be done in single SQL do it in single SQL.
    You said:
    Will CASE improve SQL performance There can be both cases to prove if the performance is better or worse.
    In your case you should tell us how it is.
    Regards,
    Bhushan

  • Regarding Reports performance

    Hi All,
    Now i am working in Production system.
    How can i check the performance for reports.
    How can i find the report performance is low/high?
    Please let me know the details.
    Thanks
    Vasu.

    Hi Vasu,
    Use the search on the word  "performance", you will got lot of answers which are related to queries.
    There are lot of factrors involved regarding query performance :
    1. Install BW stats and analyze the queries
    2. Option of using aggregates is a good idea to consider
    3. you can multi providers to do reporting for better query performance
    4. Query Read Mode - Read when navigating and expanding hierarchies
    5. Check if indices under ORACLE are degenerated. OSS Note 323090
    OLAP Cache OSS Note # 456068
    Also take a look to the OSS Note 567746 'Composite note BW 3.x performance: Query & Web' in which you can find all the info required...
    Assign points if helpful
    Bye
    Dinesh

  • [sql performance] inline view , group by , max, join

    Hi. everyone.
    I have a question with regard to "group by" inline view ,
    max value, join, and sql performance.
    I will give you simple table definitions in order for you
    to understand my intention.
    Table A (parent)
    C1
    C2
    C3
    Table B (child)
    C1
    C2
    C3
    C4 number type(sequence number)
    1. c1, c2, c3 are the key columns of tabla A.
    2. c1, c2, c3, c4 are the key columns of table B.
    3. table A is the parent table of Table B.
    4. c4 column of table b is the serial number.
    (c4 increases from 1 by "1" regarding every (c1,c2,c3)
    the following is the simple example of the sql query.
    select .................................
    from table_a,
    (select c1, c2, c3, max(c4)
    from table_b
    group by c1, c2, c3) table_c
    where table_a.c1 = table_c.c1
    and table_a.c2 = table_c.c2
    and table_a.c3 = table_c.c3
    The real query is not simple as above. More tables come
    after "the from clause".
    Table A and table B are big tables, which have more than
    100,000,000 rows.
    The response time of this sql is very very slow
    as everyone can expect.
    Are there any solutions or sql-tips about the late response-time?
    I am considering adding a new column into "Table B" in
    order to identify the row, which has max serial number.
    At this point, I am not sure adding a column is a good
    thing in terms of every aspect.
    I will be waiting for your advice and every response
    will be appreciated even if it is not the solution.
    Have a good day.
    HO.
    Message was edited by:
    user507290

    For such big sources check that
    1) you use full scans, hash joins or at least merge joins
    2) you scan your source data as less as possible. In the best case each necessary table only once (for example not using exists clause to effectively scan all table via index scan).
    3) how much time you are spending on sorts and hash joins (either from v$session_longops directly or some tool that visualises this info). If you are using workarea_size_policy = auto, probably you can switch to manual for this particular select and adjust sort_area_size and hash_area_size big enough to do as less as possible sorts on disk
    4) if you have enough free resources i.e. big box probably you can consider using some parallelism
    5) if your full scans are taking big time check what is your db_file_multiblock_read_count, probably increasing it for this select will give some gain.
    6) run trace and check on what are you waiting for
    7) most probably your problem is IO bound so probably you can do something from OS side to make IO faster
    8) if your query now is optimized as much as you can, disks are running as mad and you are using all RAM then probably it is the most you can get out of your box :)
    9) if nothing helps then you can start thinking about precalculations either using your idea about derived column or some materialized views.
    10) I hope you have a test box and at least point (9) do firstly on it and see whether it helps.
    Gints Plivna
    http://www.gplivna.eu

Maybe you are looking for

  • K8t neo2-FIR lock ups

    hey i'm posting for my friend who recently got a new setup for his computer antec 400W power supply 3200+ k8t neo2-FIR sapphire radeon 9600XT 512 meg major brand ram 2 80 gig harddrives onboard sound/lan i'm not too sure of the psu specs the computer

  • Error in ME23N and MIGO

    My Company is using IS-Oil related Solution with standard MM module, while dealing with IS-Oil related cases in ME23n MIGO and in some other transactions in QA and PRD environment, SAP R/3 is giving a dump that “A conversion error occurred”. Error de

  • How to use setSoTimeOut() with socket ??

    HI All! I eagerly need to know how to use setSoTimeOut() with socket (on server side). Actually the scenario is that My Server accepts connection and waits for connected client to send data to it. I WANT TO KEEP, IF CLIENT DOENS'T SENDS ANY DATA TO S

  • Chose 'Export to Shared Services' on a calc script....where did it go?

    I accidentally right-click and choose 'Export to Shared Services' on a Calc script in EAS. the help file is not much...I am curious...where did this export to in Shared Services? What is the point of this feature? Thanks JTS

  • How to transport ALEAUD to non-SAP system?

    Hello, I have R/3 system which receives documents from non-SAP system. I want to transport acknowledgements from R/3 back to non-SAP system. I want to use standard SAP ALE monitoring possibility. All needed information exists in ALEAUD IDOC which can