Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

AWR Report - no data!!

rsar001May 12 2011 — edited Jun 21 2012
Oracle Version: 11.1.0.7 64x
OS Version: Windows 2008 Server 64x

Hi There,
We're just trying to generate a awr report for one of our databases and the report is coming out with no data.

statistics_level parameter is set to "TYPICAL"; any idea to what's going on please?


Thanks
SQL>
SQL> @?/rdbms/admin/awrrpt.sql

Current Instance
~~~~~~~~~~~~~~~~

   DB Id    DB Name      Inst Num Instance
----------- ------------ -------- ------------
 1391811405 WEBTST              1 webtst


Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text

Type Specified:  text


Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   DB Id     Inst Num DB Name      Instance     Host
------------ -------- ------------ ------------ ------------
* 1391811405        1 WEBTST       webtst       WEBDBTST

Using 1391811405 for database Id
Using          1 for instance number


Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed.  Pressing <return> without
specifying a number lists all completed snapshots.


Enter value for num_days: 1

Listing the last day's Completed Snapshots

                                                        Snap
Instance     DB Name        Snap Id    Snap Started    Level
------------ ------------ --------- ------------------ -----
webtst       WEBTST           43973 12 May 2011 00:00      1
                              43974 12 May 2011 01:00      1
                              43975 12 May 2011 02:00      1
                              43976 12 May 2011 03:00      1
                              43977 12 May 2011 04:00      1
                              43978 12 May 2011 05:00      1
                              43979 12 May 2011 06:00      1
                              43980 12 May 2011 07:00      1
                              43981 12 May 2011 08:00      1
                              43982 12 May 2011 09:00      1
                              43983 12 May 2011 10:00      1
                              43984 12 May 2011 11:00      1
                              43985 12 May 2011 11:02      1



Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 43984
Begin Snapshot Id specified: 43984

Enter value for end_snap: 43985
End   Snapshot Id specified: 43985



Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_43984_43985.txt.  To use this name,
press <return> to continue, otherwise enter an alternative.

Enter value for report_name:

Using the report name awrrpt_1_43984_43985.txt

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: parse time elapsed

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: DB CPU

WARNING (-20016)
ORA-20016: Missing value for SGASTAT: free memory

WARNING (-20016)
ORA-20016: Missing value for SGASTAT: free memory

WARNING (-20009)
ORA-20009: Missing System Statistic logons current

WARNING (-20009)
ORA-20009: Missing System Statistic logons current

WARNING (-20009)
ORA-20009: Missing System Statistic opened cursors current

WARNING (-20009)
ORA-20009: Missing System Statistic opened cursors current

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: sql execute elapsed

WARNING (-20008)
ORA-20008: Missing Init.ora parameter undo_management

WARNING (-20008)
ORA-20008: Missing Init.ora parameter db_block_size

WARNING (-20016)
ORA-20016: Missing value for SGASTAT: log_buffer

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: DB time

WARNING (-20008)
ORA-20008: Missing Init.ora parameter timed_statistics

WARNING (-20008)
ORA-20008: Missing Init.ora parameter timed_statistics

WARNING (-20008)
ORA-20008: Missing Init.ora parameter statistics_level

WARNING (-20008)
ORA-20008: Missing Init.ora parameter statistics_level

WARNING (-20008)
ORA-20008: Missing Init.ora parameter sga_target

WARNING (-20008)
ORA-20008: Missing Init.ora parameter pga_aggregate_target

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: background cpu time

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: background elapsed

WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: connection manageme

WARNING (-20016)
ORA-20016: Missing value for SGASTAT: buffer_cache

WARNING (-20016)
ORA-20016: Missing value for SGASTAT: buffer_cache

WARNING: Since the DB Time is less than one second, there was
         minimal foreground activity in the snapshot period.
         Some of the percentage values will be invalid.

WORKLOAD REPOSITORY report for

DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
------------ ----------- ------------ -------- --------------- ----------- ---
WEBTST        1391811405 webtst              1 29-Apr-11 04:50 11.1.0.7.0  NO

Host Name        Platform                         CPUs Cores Sockets Memory(GB)
---------------- -------------------------------- ---- ----- ------- ----------
WEBDBTST         Microsoft Windows x86 64-bit                           .00

              Snap Id      Snap Time      Sessions Curs/Sess
            --------- ------------------- -------- ---------
Begin Snap:     43984 12-May-11 11:00:01
  End Snap:     43985 12-May-11 11:02:00
   Elapsed:                1.98 (mins)
   DB Time:                0.00 (mins)

Cache Sizes                       Begin        End
~~~~~~~~~~~                  ---------- ----------
               Buffer Cache:MM  Std Block Size:K
           Shared Pool Size:         0M         0M      Log Buffer:K

ORA-01403: no data found

Error encountered in Report Summary

Continuing to Report Sections


Time Model Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Operating System Statistics         DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Operating System Statistics - DetailDB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Foreground Wait Class               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
-> s  - second, ms - millisecond -    1000th of a second
-> ordered by wait time desc, waits desc
-> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
-> Captured Time accounts for %  of Total DB time            .00 (s)
-> Total FG Wait Time:    (s)  DB CPU time:            .00 (s)

                                                                  Avg
                                      %Time       Total Wait     wait
Wait Class                      Waits -outs         Time (s)     (ms)  %DB time
-------------------- ---------------- ----- ---------------- -------- ---------
DB CPU                                                     0              100.0
          -------------------------------------------------------------

Foreground Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Background Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Wait Event Histogram               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Service Statistics                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Service Wait Class Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Elapsed Time        DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by CPU Time            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Gets                DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Reads               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Executions          DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Parse Calls         DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Sharable Memory     DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SQL ordered by Version Count       DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Instance Activity Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Instance Activity Stats - Absolute ValuesDB/Inst: WEBTST/webtst  Snaps: 43984

                  No data exists for this section of the report.
          -------------------------------------------------------------

Instance Activity Stats - Thread ActivityDB/Inst: WEBTST/webtst  Snaps: 43984-

                  No data exists for this section of the report.
          -------------------------------------------------------------

Tablespace IO Stats                DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

File IO Stats                      DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Buffer Pool Statistics             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Instance Recovery Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Buffer Pool Advisory                       DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

PGA Aggr Summary                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

PGA Aggr Target Stats               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

PGA Aggr Target Histogram           DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

PGA Memory Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Shared Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

SGA Target Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Streams Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Java Pool Advisory                         DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Buffer Wait Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Enqueue Activity                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Undo Segment Summary               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Undo Segment Stats                  DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Latch Activity                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Latch Sleep Breakdown              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Latch Miss Sources                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Mutex Sleep Summary                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Parent Latch Statistics            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Child Latch Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

...
...
...
...

Segments by Row Lock Waits         DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Segments by ITL Waits               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Segments by Buffer Busy Waits       DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Dictionary Cache Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Library Cache Activity              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Memory Dynamic Components          DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Memory Resize Operations Summary    DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Memory Resize Ops                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Process Memory Summary             DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

                               -------------------
sum
          -------------------------------------------------------------

SGA breakdown difference            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Streams CPU/IO Usage               DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Streams Capture                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Streams Apply                       DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Buffered Queues                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Buffered Subscribers                DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Rule Set                            DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Persistent Queues                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Persistent Subscribers              DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

Resource Limit Stats                      DB/Inst: WEBTST/webtst  Snap: 43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

init.ora Parameters                DB/Inst: WEBTST/webtst  Snaps: 43984-43985

                  No data exists for this section of the report.
          -------------------------------------------------------------

End of Report

Comments

BalazsT

Hi,

I have the same issue but only when I try to add an instance to my existing cluster, I have already an SR open with Oracle let's see what they reply.

If you have access to the Oracle Support site you will be able find a document how to setup an InnoDB Cluster from scratch.

Basically you can create 3 empty databases, make sure that no transactions are running or logged:

SET sql_log_bin = OFF;

CREATE USER clusteradmin@'%' IDENTIFIED BY 'xxx';

GRANT ALL PRIVILEGES ON mysql_innodb_cluster_metadata.* TO clusteradmin@'%' WITH GRANT OPTION;

GRANT SELECT, RELOAD, SHUTDOWN, PROCESS, FILE, SUPER, REPLICATION SLAVE, REPLICATION CLIENT, CREATE USER ON *.* TO clusteradmin@'%' WITH GRANT OPTION;

GRANT INSERT, UPDATE, DELETE ON mysql.* TO clusteradmin@'%' WITH GRANT OPTION;

SET sql_log_bin = ON;

RESET MASTER;

SELECT @@global.gtid_executed;   --this must return no rows

Then you can use mysqlsh to setup the cluster.

Alexandre Almeida

Hi there,

Could you share all the config/option files? (my.cnf)

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 19 2012
Added on May 12 2011
6 comments
8,412 views