AWR import

Hi,
I've made AWR snapshot export from one database and want to import it to another database, but i have errors. Why?
|
begin
ERROR at line 1:
ORA-20102: user name 'awrstage' is invalid
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 370
ORA-01918: user '' does not exist
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1096
ORA-06512: at line 3
begin
ERROR at line 1:
ORA-20105: unable to move AWR data to SYS
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
ORA-44001: invalid schema
ORA-06512: at line 3
... Dropping awrstage user
End of AWR Load
Steps:
SQL> @awrload.sql
Enter value for directory_name: DATA_PUMP_DIR
Using the dump directory: DATA_PUMP_DIR
Enter value for file_name: awr_exp.txt
Loading from the file name: awr_exp.txt.dmp
Enter value for schema_name: awrstage
Using the staging schema name: awrstage
Enter value for default_tablespace: sysaux
Enter value for temporary_tablespace: temp
Using tablespace temp as the temporary tablespace for awrstage
... Creating awrstage user
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Loading the AWR data from the following
| directory/file:
| /oracle/product/10g/rdbms/log/
| awr_exp.txt.dmp.dmp
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| *** AWR Load Started ...
|
| This operation will take a few moments. The
| progress of the AWR load operation can be
| monitored in the following directory/file:
| /oracle/product/10g/rdbms/log/
| awr_exp.txt.dmp.log
|
begin
ERROR at line 1:
ORA-20102: user name 'awrstage' is invalid
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 370
ORA-01918: user '' does not exist
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1096
ORA-06512: at line 3
begin
ERROR at line 1:
ORA-20105: unable to move AWR data to SYS
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 1760
ORA-44001: invalid schema
ORA-06512: at line 3
... Dropping awrstage user
End of AWR Load

Plase check your log file.
it is mentioned as below
Enter value for file_name: awr_exp.txt
Loading from the file name: awr_exp.txt.dmp
it should be awr_exp.dmp and not awr_exp.txt.dmp
Also, try to use with default values for: schemaname, tablespace, temp tablespace etc.

Similar Messages

  • Oracle 11G - Oracle AWR export import Query Statistics.

    I have Oracle 11G, i have seen the sql statements through Historical AWR option from Top Activites in performance tab. Can i export all AWR query statistics from production machine so that i can analyze all logs after importing it.
    How can i know all statistical sql ( information ) and performace of production machine ?
    any help ?

    Hello,
    have you checked the DBA_HIST* objects to see what / how was imported?
    If the awr export dosn't get the contents of the rolling buffer, then you won't see any session statistics that are only there. If you want to get the contents of the rolling buffer you have to dump the contents of it with :
    oradebug setmypid
    oradebug dump ashdump 10
    and load it into your "test" database.
    But before doing this I suggest you read the related metalink documentation if any!!!
    Regards,
    Franky

  • Import AWR Html report into another database

    Hello,
    Im in 11gR2, is it possible to import the AWR Html report from database 1 into another database 2?
    I would like to use ADDM from another database 2 to analyze the AWR Html report of database 1.
    Thanks,

    AWR report importing on another database
    i dont think so

  • I am testing a Sony a7r, shooting RAW.  I can't seem to import the files (which are .awr) into my Lightroom 4. Anybody know what options I have?  Thanks!

    I am testing a Sony a7r, shooting RAW.  I can't seem to import the files (which are .awr) into my Lightroom 4. Anybody know what options I have?  Thanks!

    Support was added by Adobe for this camera model in LR 5.3 and ACR 8.3. see the link below.
    Camera Raw plug-in | Supported cameras
    You can download the latest trial version of LR 5 the current version is 5.7.1 and use tor 30 days.
    The other option is to download the latest Adobe DNG Converter (version 8.7.1) for free and convert the Sony .arw files to dng format and they will work fine with LR 4.
    Make sure you retain the original copies of the .arw files.  

  • Enq: TX - row lock contention in AWR reports

    Dears,
    One of my friends asked me to give him a help on analyzing a performance problem they are experimenting from time to time. First of all I am sorry to tell you that he didn’t gave me a lot of information. I will share with you all what I have been sent and would like to have your precious advice according to the available information.
    It is a third party software installed on oracle data base 10.2.0.4.0. He said that from time to time the application hangs. He sends me an AWR reports supplied by the local DBA. Unfortunately, the local DBA send only the AWR information he thinks are most important to be looked at (he did not include the load profile and the instance efficiency Percentages part in this AWR for example).
    Here below is the available information I can share with you
                                                                             Snap time                                       sessions        cursors/session
    Begin Snap        09-mars-11 08:00:03              31                     6.5
    End Snap          09-mars-11 08:39:49              41                     9.8
    Elapsed           39.77 (mins)
    DB Time           536.65(mins)
    Top 5 Timed Events
    Event                          Waits   Time(s)    Avg Wait(ms)    % Total Call Time     Wait Class
    enq: TX - row lock contention  8,468    25,344       2,993            78.7             Application
    read by other session          714,628   4,604         6               14.3             User I/O
    db file sequential read        323,264  1,977         6               6.1              User I/O
    CPU time                                 171                          .5
    db file scattered read          1,885   49           26               .2               User I/OThe AWR reports presents also the following SQL statement as the top SQL of its ‘’SQL ordered by Elapsed Time’’ part
    UPDATE xxxx.table1
       SET col1 = :1,
           col2 = :2,
           col3 = :3,
           col4 = :4,
    WHERE ID = :13
    AND colx  = :14;And the following sql at its “SQL ordered by Reads’ part
    SELECT t1.*
    FROM xxxx.table1 t1
      LEFT OUTER JOIN xxxx.table2 t2
           ON t1.id = t2.id
      LEFT OUTER JOIN xxxx.table3 t3
           ON t1.id = t3.id
      LEFT OUTER JOIN xxxx.table4 t4
           ON t1.id = t4.id
    WHERE t1.col1 = :1
    AND   t1.col2 IN (:2,:3, :4);And finally in the Segments by Row Lock Waits part of the AWR I have this:
    Owner      tablespace name    object name   object type   row lock waits   %of capture
    xxxx          xxxx          table1         TABLE          54       100    There are no bitmap indexes on this OLTP data base. There are no unindexed foreign keys and it seems that there are no selects done over a dblink.
    I am waiting to have the table table1 script and its indexes
    Given those information I think that the locking problem is due to this update on table table1 which is not followed immediately by a commit or a rollback. But, instead, several selects that might be taking a long time are done before reaching the commit that ends the lock on the table table1
    What do you think about the possible reason of this lock?
    Thanks in advance
    Mohamed Houri

    Dears,
    I did get the suspected query and asked for its several explain plans thanks to the dbms_xplan.display_awr. The most important thing to point out is that the last where clause of this query seems to be dynamically filled-up
    SELECT t1.*
    FROM xxxx.table1 t1
      LEFT OUTER JOIN xxxx.table2 t2
           ON t1.id = t2.id
      LEFT OUTER JOIN xxxx.table3 t3
           ON t1.id = t3.id
      LEFT OUTER JOIN xxxx.table4 t4
           ON t1.id = t4.id
    WHERE t1.col1 = :1
    AND   t1.col2 in (:2 , :3 , :4 , :5 , :6 , :7 , :8 )
    | Id  | Operation                      | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |             
    |   0 | SELECT STATEMENT               |                         |       |       |    14 (100)|          |             
    |   1 |  NESTED LOOPS OUTER            |                         |     1 |   280 |    14   (0)| 00:00:01 |             
    |   2 |   NESTED LOOPS OUTER           |                         |     1 |   226 |     9   (0)| 00:00:01 |             
    |   3 |    NESTED LOOPS OUTER          |                         |     1 |   216 |     6   (0)| 00:00:01 |             
    |   4 |     TABLE ACCESS BY INDEX ROWID| TABLE1                  |     1 |   141 |     4   (0)| 00:00:01 |             
    |   5 |      INDEX RANGE SCAN          | SYS_C0010893            |     1 |       |     3   (0)| 00:00:01 |             
    |   6 |     TABLE ACCESS BY INDEX ROWID| TABLE2                  |     1 |    75 |     2   (0)| 00:00:01 |             
    |   7 |      INDEX UNIQUE SCAN         | SYS_C0010774            |     1 |       |     1   (0)| 00:00:01 |             
    |   8 |    INDEX RANGE SCAN            | SYS_C0010896            |     3 |    30 |     3   (0)| 00:00:01 |             
    |   9 |   TABLE ACCESS BY INDEX ROWID  | TABLE3                  |    11 |   594 |     5   (0)| 00:00:01 |             
    |  10 |    INDEX RANGE SCAN            | SYS_C0010910            |    11 |       |     3   (0)| 00:00:01 |             
    SELECT t1.*
    FROM xxxx.table1 t1
      LEFT OUTER JOIN xxxx.table2 t2
           ON t1.id = t2.id
      LEFT OUTER JOIN xxxx.table3 t3
           ON t1.id = t3.id
      LEFT OUTER JOIN xxxx.table4 t4
           ON t1.id = t4.id
    WHERE t1.col1 = :1
    AND   t1.col2 in (:2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 ,                       
    :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 ,                        
    :33 , :34 , :35 , :36 , :37 , :38 , :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 ,                        
    :251 , :252 , :253 , :254 , :255 , :256 , :257 )  ;
    | Id  | Operation                       | Name                    | Rows  | Bytes | Cost (%CPU)| Time     |            
    |   0 | SELECT STATEMENT                |                         |       |       |  5943 (100)|          |            
    |   1 |  NESTED LOOPS OUTER             |                         |  9210 |  2536K|  5943   (1)| 00:01:12 |            
    |   2 |   NESTED LOOPS OUTER            |                         |   885 |   195K|  1784   (0)| 00:00:22 |            
    |   3 |    NESTED LOOPS OUTER           |                         |   255 | 55080 |  1019   (0)| 00:00:13 |            
    |   4 |     INLIST ITERATOR             |                         |       |       |            |          |            
    |   5 |      TABLE ACCESS BY INDEX ROWID| TABLE1                  |   255 | 35955 |   509   (0)| 00:00:07 |            
    |   6 |       INDEX UNIQUE SCAN         | SYS_C0010893            |   255 |       |   258   (0)| 00:00:04 |            
    |   7 |     TABLE ACCESS BY INDEX ROWID | TABLE2                  |     1 |    75 |     2   (0)| 00:00:01 |            
    |   8 |      INDEX UNIQUE SCAN          | SYS_C0010774            |     1 |       |     1   (0)| 00:00:01 |            
    |   9 |    INDEX RANGE SCAN             | SYS_C0010896            |     3 |    30 |     3   (0)| 00:00:01 |            
    |  10 |   TABLE ACCESS BY INDEX ROWID   | TABLE3                  |    10 |   560 |     5   (0)| 00:00:01 |            
    |  11 |    INDEX RANGE SCAN             | FK_TABLE3               |    10 |       |     3   (0)| 00:00:01 |            
    -----------------------------------------------------------------------------------------------------------   Suddenly there is an INLIST ITERATOR that pops up and which seems to be started 255 times and the ‘quick’ query which in normal situation (small in list) executes in less than 1 second starts now taking more than 1 minute to complete.
    As far as it is a third party software, they can’t change the query.
    Do you have any idea on how to solve this problem?
    Here below are the optimizer parameters
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.4
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUEThanks in advance
    Mohamed Houri

  • Awr and dba_feature_usage_statistics

    Hi Gurus.
    I found below important information about the license.
    http://download-east.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHJJBGA
    It says that to use AWR features(to access v$active_session_history, dba_hist_xxxxxxx, oracle_home/rdbms/admin/awr*.sql, etc...), we need to extra license, correct?
    after I installed enterprise edition and set up EM( not grid ) for test, I have questions
    1. I checked 'remove access' on the management pack access screen of EM's setup menu.
    but still I can find all views(dba_hist_xxx, v$active_session_history, etc..) about AWR.
    is it correct?
    2. I ran a $ORACLE_HOME/rdbms/admin/awrrpt.sql script, but still I can find that the value of column 'Currently_Used' of the name 'Automatic Workload Repository' from the view 'dba_feature_usage_statistics' is still 'FALSE'.
    is it correct?
    thanks.
    Edited by: Hangyo Jung on Sep 8, 2009 5:56 PM

    Hangyo Jung wrote:
    It says that to use AWR features(to access v$active_session_history, dba_hist_xxxxxxx, oracle_home/rdbms/admin/awr*.sql, etc...), we need to extra license, correct?Yes - ou need to license the diagnostics pack (only available for Enterprise Edition)
    >
    after I installed enterprise edition and set up EM( not grid ) for test, I have questions
    1. I checked 'remove access' on the management pack access screen of EM's setup menu.
    but still I can find all views(dba_hist_xxx, v$active_session_history, etc..) about AWR.
    is it correct?Yes. It only stops the display in EM. Since some of these views are also used for other things internally, it does not remove them. It's up to you to NOT access the views.
    >
    2. I ran a $ORACLE_HOME/rdbms/admin/awrrpt.sql script, but still I can find that the value of column 'Currently_Used' of the name 'Automatic Workload Repository' from the view 'dba_feature_usage_statistics' is still 'FALSE'.
    is it correct?My be different for different versions. Not sure - you may want to check on MOS

  • Automation of AWR report.

    Hi All,
    I want to automate for awr report generating for every 30 min. For this I am creating a script which is not working properly. Script given below.
    1. Declaring an variable
    2. Giving value to the variable by running sql query
    3. Executing dbms_workload_repository procedure.
    Please help me proper steps.
    SET SERVEROUTPUT ON
    Declare
    DBID_NUM NUMBER;
    INST_NUMBER NUMBER;
    MAX_SNAP_ID NUMBER;
    MIN_SNAP_ID NUMBER;
    DBID_NUM := select DBID into DBID_NUM from dba_hist_snapshot WHERE ROWNUM=1;
    INS_NUMBER := select INSTANCE_NUMBER into INST_NUMBER from dba_hist_snapshot WHERE ROWNUM=1;
    MAX_SNAP_ID := select MAX(SNAP_ID) into MAX_SNAP_ID from dba_hist_snapshot;
    MIN_SNAP_ID =: select MAX(SNAP_ID)-1 into MIN_SNAP_ID from dba_hist_snapshot;
    Begin
    SELECT output FROM TABLE (dbms_workload_repository.awr_report_html(DBID_NUM,INST_NUMBER,MAX_SNAP_ID,MIN_SNAP_ID));
    End;
    /

    Hi,
    I am trying to help, however it's hard because you haven't clarified your end goal. What time period do you need to generate the AWR report for? Generating an AWR report from the entire range of available snap_id's is utterly useless. It's like measuring your average body temperature from the moment of birth up to now.
    How are you planning to generate it -- into a database table, into a file, to terminal output? You didn't mention that and it's impossible to deduce it from your script.
    Most importantly, why do you need to produce all these AWR reports for each 30 mins? Every 30 days, I would understand, but every 30 mins?! Do you realize that if you want to look at some trends, it much easier to do that using AWR views directly, rather than trying to extract data from html codes? And if you want your performance history just in case -- why don't you increase your SYSAUX tablespace and AWR retention, so that you can go back and generate a retrospective AWR report when needed?
    I wrote an anonymous to autogenerate an AWR report for the last snapshot and dump it to the screen, hope this helps:
    declare
      l_dbid number;
      l_inst_id number;
      l_last_snap_id number;
      l_output clob;
    begin
      select dbid into l_dbid from v$database;
      select instance_number into l_inst_id from v$instance;
      select max(snap_id) into l_last_snap_id from dba_hist_snapshot;
      for rec in (select * from table(dbms_workload_repository.awr_report_text(l_dbid,l_inst_id, l_last_snap_id - 1, l_last_snap_id))) loop
         dbms_output.put_line(rec.output);
       end loop;
    end;
    /Best regards,
    Nikolay
    P.S. You have 17 out of 21 questions unresolved. Has the forum been really this unhelpful for you?

  • AWR REPORT AT SCHEMA LEVEL

    Hello,
    Can anybody guide me how to generate an AWR (automatic workload repository) report at schema level? Actually I have created one user name xyz and imported some 1000 objects (tables, views etc) .
    I have little doubt here , when we create one user ,is schema for that user will it create automatically …..if its true then I need to generate one AWR report for that user or schema

    I don't think this is possible: AWR only works at database/instance level and not at schema level.

  • Updating AUD$ consumes most of the time in AWR report.

    Hi All,
    It's really good to see, great people passing their help to folks like us and making our life easier. Going forward,I am investigating on of the performance issue and analyzing the AWR report. By looking AWR, I did find updating aud$ taking most of times in AWR report. Following are the information , I extracted from the database and AWR report. Please see, what can be done to take away the bottlenecks.
    Version --  11.1.0.6.0
    OS      --  HPUXX Itanium
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    enq: BF - allocation contentio        9,007       6,893    765   45.5 Other
    DB CPU                                            2,565          16.9
    db file scattered read              555,031       2,428      4   16.0 User I/O
    read by other session               288,910       1,428      5    9.4 User I/O
    PX Deq Credit: Session Stats         22,650         231     10    1.5 Other
    209fr01svbb5s
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    db file scattered read              291,023       1,973      7   61.6 User I/O
    DB CPU                                              890          27.8
    read by other session                81,495         340      4   10.6 User I/O
    log file sync                         1,210          21     17     .6 Commit
    db file sequential read              30,452          15      0     .5 User I/O
      Elapsed      CPU                  Elap per  % Total
      Time (s)   Time (s)  Executions   Exec (s)  DB Time    SQL Id
         3,134        833          118       26.6    97.9 209fr01svbb5s
    update sys.aud$ set action#=:2, returncode=:3, logoff$time=cast(SYS_EXTRACT_UTC(
    systimestamp) as date), logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logo
    ff$dead=:7, sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100     
    -------------------------- Plan from Cursor ---------------------------------------
    SQL_ID  209fr01svbb5s, child number 0
    update sys.aud$ set action#=:2, returncode=:3,
    logoff$time=cast(SYS_EXTRACT_UTC(systimestamp) as date),
    logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logoff$dead=:7,
    sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100
    Plan hash value: 1651467381
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT   |      |       |       |     2 (100)|          |
    |   1 |  UPDATE            | AUD$ |       |       |            |          |
    |*  2 |   TABLE ACCESS FULL| AUD$ |     1 |   139 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(("ENTRYID"=1 AND "ACTION#"=100 AND "SESSIONID"=:1 AND
                  ("SPARE2" IS NULL OR USERENV('ISDBA')='TRUE')))
    ++++ Last Anylzsed +++++
    TABLE_NAME                     LAST_ANAL
    AUD$                           08-NOV-07
    ++++++++ Table Size ++++++++++++++++++++++
    SQL> select sum(bytes)/1024/1024 "Audit Size" from dba_segments where segment_name='AUD$';
    Audit Size
          2469Regards

    Before purging audit data I would suggest two things. First what is the time period for the report in question? If it is for a low usage period then the audit activity as a percentage of the overall load may be a bit distorted. It may also be worth checking to see what information the audit captured as you could have a contractual or legal obligation to capture the data.
    Second and most import look to see what audit rules are in effect. By just removing a few unneeded rules such as auditing successful logins/logoffs or changing from by access to by session for specific objects you could potentially remove most of the activity being shown.
    You may also want to check to see if a purge job has been set up. See dba_scheduler_jobs and Oracle proviced package: DBMS_AUDIT_MGMT.
    HTH -- Mark D Powell --

  • How to open AWR in PSE 12 running on XP

    I am running Windows XP and understand I must use DNG converter to open AWR files in PSE 12. I have downloaded DNG converter, but still do not know how to open the AWR files. I appreciate any help. Thanks.

    The dng converter converts the files to dng copies which can then be opened in pse 12.
    For example, in the dng converter dialog, for the source folder you point to the folder with your sony rx100 images and then for destination, choose that folder or a different folder.
    Then the dng converter converts your images to dng copies, which can be imported into the pse 12 organizer or opened in the pse 12 editor.
    Another thing you could do is install the 8.3 dng converter (to install the needed profiles) and then copy the camera 8.3 plugin to
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5694
    (dng converter 8.3 windows)
    C:\Program Files\Common Files\Adobe\Plug-Ins\Elements 12\File Formats
    to replace the existing camera raw.8bi already in that folder, then you could just open the native sony rx100 files without the need for the dng converter.
    https://workspaces.acrobat.com/?d=uP7Dof8zfUMEhBu-IQsmxQ
    After you download the 8_3 Camera Raw.zip, extract the folder and copy the camera raw.8bi file to
    C:\Program Files\Common Files\Adobe\Plug-Ins\Elements 12\File Formats
    Then hopefully you should be able to open your sony files without having to use the dng converter.

  • AWR report automation

    Hello!
    I use the Oracle EM GC 11 for monitoring of databases .
    I need to form the AWR report for some of databases and send it once a day by e-mail automatically.
    How to realize it?

    Hi,
    I am trying to help, however it's hard because you haven't clarified your end goal. What time period do you need to generate the AWR report for? Generating an AWR report from the entire range of available snap_id's is utterly useless. It's like measuring your average body temperature from the moment of birth up to now.
    How are you planning to generate it -- into a database table, into a file, to terminal output? You didn't mention that and it's impossible to deduce it from your script.
    Most importantly, why do you need to produce all these AWR reports for each 30 mins? Every 30 days, I would understand, but every 30 mins?! Do you realize that if you want to look at some trends, it much easier to do that using AWR views directly, rather than trying to extract data from html codes? And if you want your performance history just in case -- why don't you increase your SYSAUX tablespace and AWR retention, so that you can go back and generate a retrospective AWR report when needed?
    I wrote an anonymous to autogenerate an AWR report for the last snapshot and dump it to the screen, hope this helps:
    declare
      l_dbid number;
      l_inst_id number;
      l_last_snap_id number;
      l_output clob;
    begin
      select dbid into l_dbid from v$database;
      select instance_number into l_inst_id from v$instance;
      select max(snap_id) into l_last_snap_id from dba_hist_snapshot;
      for rec in (select * from table(dbms_workload_repository.awr_report_text(l_dbid,l_inst_id, l_last_snap_id - 1, l_last_snap_id))) loop
         dbms_output.put_line(rec.output);
       end loop;
    end;
    /Best regards,
    Nikolay
    P.S. You have 17 out of 21 questions unresolved. Has the forum been really this unhelpful for you?

  • AWR-Avg wait(ms) and the right storage platfom

    Dears,
    I have just one question to clear relatively to a conclusion I can make or not when reading AWR. Let's take the following Top 5 Timed Events
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    CPU time                                            356          94.5
    CSS initialization                        8          13   1647    3.5      Other
    db file sequential READ               2,428           3      1    0.8   User I/O
    control file sequential READ          4,547           3      1    0.7 System I/O
    log file parallel WRITE                 333           2      6    0.5 System I/O
    ----------------------------------------------------------------------------------When looking to the 1 ms of Avg wait to read a single leaf block (from disk when not in cache), can I conclude that the machine has a very acceptable storage service that services a physical I/O very quickly?
    And when looking to the following second example (where I have deliberately exagerated the Avg Wait(ms) times)
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                Avg
                                                                wait         % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    db file sequential read             465,020       3,969    29  47.4 User I/O
    DB CPU                                              995         11.9
    db file parallel read                 2,251         322    143  3.8 User I/O
    db file scattered read               15,268         153     30  1.8 User I/O
    gc current block 2-way              108,739         116      1  Could I also "jump" to a conclusion that those average wait time for single I/O(29 ms) or multi block reads(30 ms) are serviced by a slow storage service?
    Thanks for your help
    Mohamed Houri

    Hi Randolf,
    I agree that if an AWR looks like this, it doesn't necessarily mean that the database doesn't have any performance problems. Yes, there can still be inefficient plans. But those inefficient plans in this case aren't a global problem. I.e. if the system still has free CPUs available, then tuning them won't have a global effect. Imagine that you have a database with CPU time responsible for 95% of DB time, but only 10% of the host CPU. Imagine that you find a SQL statement that is responsible for a large portion of the CPU usage within the database. There is a good chance that this statement has an inefficient plan which can be improved by tuning -- but in this case it would only make sense if that statement is important on its own. If that is not the case (e.g. the statement is a part of a batch job and no one care whether it completes within 5 minutes or 10 hours) then tuning it would be essentially a waste of time -- in the very best case you would reduce DB CPU usage from 10% to 5% or 1%, which no one will ever notice.
    This is very different from cases when DB time is dominated by I/O- or concurrency-related waits (when top-down approach works fine).
    So that's one of the reasons that I'm saying that high CPU time is not a problem. Another reason is that people often tend to perceive high CPU time % in the AWR report as an indication that the system is running out of CPU, which is generally wrong.
    Best regards,
    Nikolay

  • Import Job run very slow

    Hi ,
    we having two environment SIT1 and SIT2 on which some Sieble CRM application runs
    Database : 10.2.0.3 OS: AIX 5L Sereis
    Every weekend there are some repository import Job happening on application level which import product data into database
    On SIT1 it takes 1 hour , where as on SIT2 same job take approximetly 3.5 hours
    the server configuration and Database configuration are same on both the environment.
    We are unable to understand why it consume so much time on SIT2 environment since the amount of data import on both server is equal.
    During application import Job , no other task run on database server.
    Any suggestion to tune this , would highly appricited.
    Thanks to you all

    thanks for kind support anantha , these are not imp/exp or impdp/expd jobs.
    there are some jobs or task run at application level which insert/import product data into database.
    Unfortunetly the AWR retention had been too short and snapshot details been purged out now.
    yes, we will monitor session_wait and locks , latches if any during this repository import job this weekend.
    As this issue been assigned to me today only , couldn't doo much at the moment :-(

  • Analysing AWR report

    DB version:10gR2
    After looking at Top 5 wait events and SQL statistics, what is the next most important thing i should be looking for in an AWR report?

    This would depend on the top events that you have seen. For example, if you have seen that in the top 5 wait events, there was very high DB File Scattered Read , it means that there are statements which are predominantly going for full table access. So you should look upon for those queries. Or if there is a high Latch Contetion, for example, Shared Pool Latch Conteions ,it means that there are lots of sttement which are going for hard parse and are contending for this latch. So you should look for those sql which are having more cnstants and are not using bind varaibles.
    So its not a standard way but it is depending on what you see. Over Jonathan Lewis's blog, there is an excellent series of how to read Statspack report. I shall suggest to read it. This would make a good base to go through with AWR report also.
    HTH
    Aman....

  • Unable to import .jpg versions

    I recently purchased Lightroom 5 and have updated to 5.2.  I did my first import from a file folder to the catologue.  I noticed that all my .awr files imported and any edited .jpg imported, but the original .jpg would not import if there was a corresponding .awr file.  I'm not sure how to fix this.  I would like all my photos imported.  Any ideas?

    From the menu bar go to Edit >Preferences >General tab> Import options > Select "Treat JPEG files next to raw files as separate files".
    The next time you import files lightroom will import both. For the existing files when in the Library module use Library > "Syncronize Folder".

Maybe you are looking for

  • Spaces between words in a word document deleted

    in a word document 2010, I found all the words with spaces. Suggestions?

  • Best way to load messages - properties file or database?

    Hi Guys, I have a debate with my colleague about best way to load/keep GUI messages. As we known, all those messages are in properties file, web tier will handle the messages loading to GUI. However, my colleague suggested, we could save all the mess

  • Data for fs10n  &  fd10n

    hi, can anyone tell me  in  t-code fs10n & fd10n  data store in which table or from where get data for this t-code

  • Configuration Cisco switch 802.1x for ISE

    Hi dears, I configurated EAP_FAST authentication on Cisco ISE  from Cisco Video material. Now I need full 802.1X configuration in cisco switch  guide or video link. Please provide this. Thanks.

  • How to install downloaded forms 6i for solaris

    I downloaded from OTN 6isolaris.tar and extracted it expecting to see product.jar and such, so I can install developer6i for soalris. What I did see is, what the oracle home directory should look like post-install. Anybody know how to relink this "im