• 当我们把一条sql送到数据库去执行的时候,我们要知道,什么时候用到cpu,什么时候用到内存,什么时候用到io 

        在看性能指标的时候,心里先要明白,数据库出现性能问题,一般都在三个地方,io,内存,cpu,这三个又是息息相关的(ps:我们先假设这个三个地方都没有物理上的故障),当io负载增大时,肯定需要更多的内存来存放,同时也需要cpu花费更多的时间来过滤这些数据,相反,cpu时间花费多的话,有可能是解析sql语句,也可能是过滤太多的数据,到不一定是和io或内存有关系了 。      

  1. cpu:

  解析sql语句,尝试多个执行计划,最后生成一个数据库认为是比较好的执行计划,不一定是最优的,因为关联表太多的时候,数据库并不会穷举所有的执行计划,这会消耗太多的时间,oracle怎么就知道这条数据时你要,另一个就不是你要的呢,这是需要cpu来过滤的 

      2. 内存:

  sql语句和执行计划都需要在内存保留一段时间,还有取到的数据,根据lru算法也会尽量在内存中保留,在执行sql语句过程中,各种表之间的连接,排序等操作也要占用内存

  3. io:

  如果需要的数据在内存中没有,则需要到磁盘中去取,就会用到物理io了,还有表之间的连接数据太多,以及排序等操作内存放不下的时候,也需要用到临时表空间,也就用到物理io了
    这里有一点说明的是,虽然oracle占用了8G的内存,但pga一般只占8G的20%,对于专用服务器模式,每次执行sql语句,表数据的运算等操作,都在pga中进行的,也就是说只能用1.6G左右的内存,如果多个用户都执行 多表关联,而且表数据又多,再加上关联不当的话,内存就成为瓶颈了,所有优化sql很重要的一点就是,减少逻辑读和物理读。

 二,生成AWR报告

  01 AWR的数据主要有两部分组成:

  1)保存在内存中的系统负载和性能统计数据,主要通过v$视图查询 ;
  2)mmon进程定期以快照(snapshot)的方式将内存中的AWR数据保存到SYSAUX表空间中,主要通过DBA_*视图访问。

  02. AWR快照的生成

    默认情况下,每隔一小时自动产生一个快照,保存最近7天的信息,可以通过以下语句查询:

SQL> select SNAP_INTERVAL,RETENTION from dba_hist_wr_control;

SNAP_INTERVAL
---------------------------------------------------------------------------
RETENTION
---------------------------------------------------------------------------
+00000 01:00:00.0
+00008 00:00:00.0

  可以通过以下语句修改时间间隔和保存时间(以分钟为单位):

exec dbms_workload_repository.modify_snapshot_settings(interval => 30, retention = > 10*24*60);

也可以根据需要随时手动生成快照:

exec dbms_workload_repository.create_snapshot;

  03. AWR报告的生成

    以sysdba运行如下命令:

    @?/rdbms/admin/awrrpt.sql
[oracle@node12c01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Wed Apr 17 02:20:31 2019

Copyright (c) 1982, 2016, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production

SQL> @?/rdbms/admin/awrrpt.sql  --执行生成报表

Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
AWR reports can be generated in the following formats.    Please enter the
name of the format at the prompt.  Default value is 'html'.

'html'        HTML format (default)
'text'        Text format
'active-html'    Includes Performance Hub active report

Enter value for report_type: html            --选择你要生成的类型,类型有上显示
old   1: select 'Type Specified: ',lower(nvl('&&report_type','html')) report_type from dual
new   1: select 'Type Specified: ',lower(nvl('html','html')) report_type from dual

Type Specified:  html             

old   1: select '&&report_type' report_type_def from dual
new   1: select 'html' report_type_def from dual



old   1: select '&&view_loc' view_loc_def from dual
new   1: select 'AWR_PDB' view_loc_def from dual



Current Instance
~~~~~~~~~~~~~~~~
DB Id           DB Name          Inst Num         Instance        Container Name
-------------- -------------- -------------- -------------- --------------
 1532278336    ORCL                1 orcl         CDB$ROOT











Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  DB Id      Inst Num    DB Name      Instance      Host
------------ ---------- ---------    ----------   ------
* 1532278336     1    ORCL         orcl      node12c01

Using 1532278336 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: 7    --选择时间范围

Listing the last 7 days of Completed Snapshots
Instance     DB Name      Snap Id    Snap Started    Snap Level
------------ ------------ ---------- ------------------ ----------

orcl         ORCL        213  11 Apr 2019 00:00      1
                214  11 Apr 2019 01:00      1
                215  11 Apr 2019 02:00      1
                216  11 Apr 2019 03:00      1
                217  11 Apr 2019 04:00      1
                218  11 Apr 2019 05:00      1
                219  11 Apr 2019 06:00      1
                220  11 Apr 2019 07:00      1
                221  11 Apr 2019 08:00      1
                222  11 Apr 2019 09:00      1
                223  11 Apr 2019 10:00      1
                224  11 Apr 2019 11:00      1
                225  11 Apr 2019 12:00      1
                226  11 Apr 2019 13:00      1
                227  11 Apr 2019 14:00      1
                228  11 Apr 2019 15:00      1
                229  11 Apr 2019 16:00      1
                230  11 Apr 2019 17:00      1
                231  11 Apr 2019 18:00      1
                232  11 Apr 2019 19:00      1
                233  11 Apr 2019 20:00      1
                234  11 Apr 2019 21:00      1
                235  11 Apr 2019 22:00      1
                236  11 Apr 2019 23:00      1
                237  12 Apr 2019 00:00      1
                238  12 Apr 2019 01:00      1
                239  12 Apr 2019 02:00      1
                240  12 Apr 2019 03:00      1
                241  12 Apr 2019 04:00      1
                242  12 Apr 2019 05:00      1
                243  12 Apr 2019 06:00      1
                244  12 Apr 2019 07:00      1
                245  12 Apr 2019 08:00      1
                246  12 Apr 2019 09:00      1
                247  12 Apr 2019 10:00      1
                248  12 Apr 2019 11:00      1
                249  12 Apr 2019 12:00      1
                250  12 Apr 2019 13:00      1
                251  12 Apr 2019 14:00      1
                252  12 Apr 2019 15:00      1
                253  12 Apr 2019 16:00      1
                254  12 Apr 2019 17:00      1
                255  12 Apr 2019 18:00      1
                256  12 Apr 2019 19:00      1
                257  12 Apr 2019 20:00      1
                258  12 Apr 2019 21:00      1
                259  12 Apr 2019 22:00      1
                260  12 Apr 2019 23:00      1
                261  13 Apr 2019 00:00      1
                262  13 Apr 2019 01:00      1
                263  13 Apr 2019 02:00      1
                264  13 Apr 2019 03:00      1
                265  13 Apr 2019 04:00      1
                266  13 Apr 2019 05:00      1
                267  13 Apr 2019 06:00      1
                268  13 Apr 2019 07:00      1
Instance     DB Name      Snap Id    Snap Started    Snap Level
------------ ------------ ---------- ------------------ ----------

orcl         ORCL        269  13 Apr 2019 08:00      1
                270  13 Apr 2019 09:00      1
                271  13 Apr 2019 10:00      1
                272  13 Apr 2019 11:00      1
                273  13 Apr 2019 12:00      1
                274  13 Apr 2019 13:00      1
                275  13 Apr 2019 14:00      1
                276  13 Apr 2019 15:00      1
                277  13 Apr 2019 16:00      1
                278  13 Apr 2019 17:00      1
                279  13 Apr 2019 18:00      1
                280  13 Apr 2019 19:00      1
                281  13 Apr 2019 20:00      1
                282  13 Apr 2019 21:00      1
                283  13 Apr 2019 22:00      1
                284  13 Apr 2019 23:00      1
                285  14 Apr 2019 00:00      1
                286  14 Apr 2019 01:00      1
                287  14 Apr 2019 02:00      1
                288  14 Apr 2019 03:00      1
                289  14 Apr 2019 04:00      1
                290  14 Apr 2019 05:00      1
                291  14 Apr 2019 06:00      1
                292  14 Apr 2019 07:00      1
                293  14 Apr 2019 08:00      1
                294  14 Apr 2019 09:00      1
                295  14 Apr 2019 10:00      1
                296  14 Apr 2019 11:00      1
                297  14 Apr 2019 12:00      1
                298  14 Apr 2019 13:00      1
                299  14 Apr 2019 14:00      1
                300  14 Apr 2019 15:00      1
                301  14 Apr 2019 16:00      1
                302  14 Apr 2019 17:00      1
                303  14 Apr 2019 18:00      1
                304  14 Apr 2019 19:00      1
                305  14 Apr 2019 20:00      1
                306  14 Apr 2019 21:00      1
                307  14 Apr 2019 22:00      1
                308  14 Apr 2019 23:00      1
                309  15 Apr 2019 00:00      1
                310  15 Apr 2019 01:00      1
                311  15 Apr 2019 02:00      1
                312  15 Apr 2019 03:00      1
                313  15 Apr 2019 04:00      1
                314  15 Apr 2019 05:00      1
                315  15 Apr 2019 06:00      1
                316  15 Apr 2019 07:00      1
                317  15 Apr 2019 08:00      1
                318  15 Apr 2019 09:00      1
                319  15 Apr 2019 10:00      1
                320  15 Apr 2019 11:00      1
                321  15 Apr 2019 12:00      1
                322  15 Apr 2019 13:00      1
                323  15 Apr 2019 14:00      1
                324  15 Apr 2019 15:00      1
Instance     DB Name      Snap Id    Snap Started    Snap Level
------------ ------------ ---------- ------------------ ----------

orcl         ORCL        325  15 Apr 2019 16:00      1
                326  15 Apr 2019 17:00      1
                327  15 Apr 2019 18:00      1
                328  15 Apr 2019 19:00      1
                329  15 Apr 2019 20:00      1
                330  15 Apr 2019 21:00      1
                331  15 Apr 2019 22:00      1
                332  15 Apr 2019 23:00      1
                333  16 Apr 2019 00:00      1
                334  16 Apr 2019 01:00      1
                335  16 Apr 2019 02:00      1
                336  16 Apr 2019 03:00      1
                337  16 Apr 2019 04:00      1
                338  16 Apr 2019 05:00      1
                339  16 Apr 2019 06:00      1
                340  16 Apr 2019 07:00      1
                341  16 Apr 2019 08:00      1
                342  16 Apr 2019 09:00      1
                343  16 Apr 2019 10:00      1
                344  16 Apr 2019 11:00      1
                345  16 Apr 2019 12:00      1
                346  16 Apr 2019 13:00      1
                347  16 Apr 2019 14:00      1
                348  16 Apr 2019 15:00      1
                349  16 Apr 2019 16:00      1
                350  16 Apr 2019 17:00      1
                351  16 Apr 2019 18:00      1
                352  16 Apr 2019 19:00      1
                353  16 Apr 2019 20:00      1
                354  16 Apr 2019 21:00      1
                355  16 Apr 2019 22:00      1
                356  16 Apr 2019 23:00      1
                357  17 Apr 2019 00:00      1
                358  17 Apr 2019 01:00      1
                359  17 Apr 2019 02:00      1


Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 213     --生成开始的id
Begin Snapshot Id specified: 213

Enter value for end_snap: 359        --生成结束的id
End   Snapshot Id specified: 359



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

Enter value for report_name:   选择自己的名字

Using the report name awrrpt_1_213_359.html

具体操作:

  1 [oracle@node12c01 ~]$ sqlplus / as sysdba
  2 
  3 SQL*Plus: Release 12.2.0.1.0 Production on Wed Apr 17 02:20:31 2019
  4 
  5 Copyright (c) 1982, 2016, Oracle.  All rights reserved.
  6 
  7 
  8 Connected to:
  9 Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
 10 
 11 SQL> @?/rdbms/admin/awrrpt.sql  --执行生成报表
 12 
 13 Specify the Report Type
 14 ~~~~~~~~~~~~~~~~~~~~~~~
 15 AWR reports can be generated in the following formats.    Please enter the
 16 name of the format at the prompt.  Default value is 'html'.
 17 
 18 'html'        HTML format (default)
 19 'text'        Text format
 20 'active-html'    Includes Performance Hub active report
 21 
 22 Enter value for report_type: html            --选择你要生成的类型,类型有上显示
 23 old   1: select 'Type Specified: ',lower(nvl('&&report_type','html')) report_type from dual
 24 new   1: select 'Type Specified: ',lower(nvl('html','html')) report_type from dual
 25 
 26 Type Specified:  html             
 27 
 28 old   1: select '&&report_type' report_type_def from dual
 29 new   1: select 'html' report_type_def from dual
 30 
 31 
 32 
 33 old   1: select '&&view_loc' view_loc_def from dual
 34 new   1: select 'AWR_PDB' view_loc_def from dual
 35 
 36 
 37 
 38 Current Instance
 39 ~~~~~~~~~~~~~~~~
 40 DB Id           DB Name          Inst Num         Instance        Container Name
 41 -------------- -------------- -------------- -------------- --------------
 42  1532278336    ORCL                1 orcl         CDB$ROOT
 43 
 44 
 45 
 46 
 47 
 48 
 49 
 50 
 51 
 52 
 53 
 54 Instances in this Workload Repository schema
 55 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 56   DB Id      Inst Num    DB Name      Instance      Host
 57 ------------ ---------- ---------    ----------   ------
 58 * 1532278336     1    ORCL         orcl      node12c01
 59 
 60 Using 1532278336 for database Id
 61 Using           1 for instance number
 62 
 63 
 64 Specify the number of days of snapshots to choose from
 65 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 66 Entering the number of days (n) will result in the most recent
 67 (n) days of snapshots being listed.  Pressing <return> without
 68 specifying a number lists all completed snapshots.
 69 
 70 
 71 Enter value for num_days: 7    --选择时间范围
 72 
 73 Listing the last 7 days of Completed Snapshots
 74 Instance     DB Name      Snap Id    Snap Started    Snap Level
 75 ------------ ------------ ---------- ------------------ ----------
 76 
 77 orcl         ORCL        213  11 Apr 2019 00:00      1
 78                 214  11 Apr 2019 01:00      1
 79                 215  11 Apr 2019 02:00      1
 80                 216  11 Apr 2019 03:00      1
 81                 217  11 Apr 2019 04:00      1
 82                 218  11 Apr 2019 05:00      1
 83                 219  11 Apr 2019 06:00      1
 84                 220  11 Apr 2019 07:00      1
 85                 221  11 Apr 2019 08:00      1
 86                 222  11 Apr 2019 09:00      1
 87                 223  11 Apr 2019 10:00      1
 88                 224  11 Apr 2019 11:00      1
 89                 225  11 Apr 2019 12:00      1
 90                 226  11 Apr 2019 13:00      1
 91                 227  11 Apr 2019 14:00      1
 92                 228  11 Apr 2019 15:00      1
 93                 229  11 Apr 2019 16:00      1
 94                 230  11 Apr 2019 17:00      1
 95                 231  11 Apr 2019 18:00      1
 96                 232  11 Apr 2019 19:00      1
 97                 233  11 Apr 2019 20:00      1
 98                 234  11 Apr 2019 21:00      1
 99                 235  11 Apr 2019 22:00      1
100                 236  11 Apr 2019 23:00      1
101                 237  12 Apr 2019 00:00      1
102                 238  12 Apr 2019 01:00      1
103                 239  12 Apr 2019 02:00      1
104                 240  12 Apr 2019 03:00      1
105                 241  12 Apr 2019 04:00      1
106                 242  12 Apr 2019 05:00      1
107                 243  12 Apr 2019 06:00      1
108                 244  12 Apr 2019 07:00      1
109                 245  12 Apr 2019 08:00      1
110                 246  12 Apr 2019 09:00      1
111                 247  12 Apr 2019 10:00      1
112                 248  12 Apr 2019 11:00      1
113                 249  12 Apr 2019 12:00      1
114                 250  12 Apr 2019 13:00      1
115                 251  12 Apr 2019 14:00      1
116                 252  12 Apr 2019 15:00      1
117                 253  12 Apr 2019 16:00      1
118                 254  12 Apr 2019 17:00      1
119                 255  12 Apr 2019 18:00      1
120                 256  12 Apr 2019 19:00      1
121                 257  12 Apr 2019 20:00      1
122                 258  12 Apr 2019 21:00      1
123                 259  12 Apr 2019 22:00      1
124                 260  12 Apr 2019 23:00      1
125                 261  13 Apr 2019 00:00      1
126                 262  13 Apr 2019 01:00      1
127                 263  13 Apr 2019 02:00      1
128                 264  13 Apr 2019 03:00      1
129                 265  13 Apr 2019 04:00      1
130                 266  13 Apr 2019 05:00      1
131                 267  13 Apr 2019 06:00      1
132                 268  13 Apr 2019 07:00      1
133 Instance     DB Name      Snap Id    Snap Started    Snap Level
134 ------------ ------------ ---------- ------------------ ----------
135 
136 orcl         ORCL        269  13 Apr 2019 08:00      1
137                 270  13 Apr 2019 09:00      1
138                 271  13 Apr 2019 10:00      1
139                 272  13 Apr 2019 11:00      1
140                 273  13 Apr 2019 12:00      1
141                 274  13 Apr 2019 13:00      1
142                 275  13 Apr 2019 14:00      1
143                 276  13 Apr 2019 15:00      1
144                 277  13 Apr 2019 16:00      1
145                 278  13 Apr 2019 17:00      1
146                 279  13 Apr 2019 18:00      1
147                 280  13 Apr 2019 19:00      1
148                 281  13 Apr 2019 20:00      1
149                 282  13 Apr 2019 21:00      1
150                 283  13 Apr 2019 22:00      1
151                 284  13 Apr 2019 23:00      1
152                 285  14 Apr 2019 00:00      1
153                 286  14 Apr 2019 01:00      1
154                 287  14 Apr 2019 02:00      1
155                 288  14 Apr 2019 03:00      1
156                 289  14 Apr 2019 04:00      1
157                 290  14 Apr 2019 05:00      1
158                 291  14 Apr 2019 06:00      1
159                 292  14 Apr 2019 07:00      1
160                 293  14 Apr 2019 08:00      1
161                 294  14 Apr 2019 09:00      1
162                 295  14 Apr 2019 10:00      1
163                 296  14 Apr 2019 11:00      1
164                 297  14 Apr 2019 12:00      1
165                 298  14 Apr 2019 13:00      1
166                 299  14 Apr 2019 14:00      1
167                 300  14 Apr 2019 15:00      1
168                 301  14 Apr 2019 16:00      1
169                 302  14 Apr 2019 17:00      1
170                 303  14 Apr 2019 18:00      1
171                 304  14 Apr 2019 19:00      1
172                 305  14 Apr 2019 20:00      1
173                 306  14 Apr 2019 21:00      1
174                 307  14 Apr 2019 22:00      1
175                 308  14 Apr 2019 23:00      1
176                 309  15 Apr 2019 00:00      1
177                 310  15 Apr 2019 01:00      1
178                 311  15 Apr 2019 02:00      1
179                 312  15 Apr 2019 03:00      1
180                 313  15 Apr 2019 04:00      1
181                 314  15 Apr 2019 05:00      1
182                 315  15 Apr 2019 06:00      1
183                 316  15 Apr 2019 07:00      1
184                 317  15 Apr 2019 08:00      1
185                 318  15 Apr 2019 09:00      1
186                 319  15 Apr 2019 10:00      1
187                 320  15 Apr 2019 11:00      1
188                 321  15 Apr 2019 12:00      1
189                 322  15 Apr 2019 13:00      1
190                 323  15 Apr 2019 14:00      1
191                 324  15 Apr 2019 15:00      1
192 Instance     DB Name      Snap Id    Snap Started    Snap Level
193 ------------ ------------ ---------- ------------------ ----------
194 
195 orcl         ORCL        325  15 Apr 2019 16:00      1
196                 326  15 Apr 2019 17:00      1
197                 327  15 Apr 2019 18:00      1
198                 328  15 Apr 2019 19:00      1
199                 329  15 Apr 2019 20:00      1
200                 330  15 Apr 2019 21:00      1
201                 331  15 Apr 2019 22:00      1
202                 332  15 Apr 2019 23:00      1
203                 333  16 Apr 2019 00:00      1
204                 334  16 Apr 2019 01:00      1
205                 335  16 Apr 2019 02:00      1
206                 336  16 Apr 2019 03:00      1
207                 337  16 Apr 2019 04:00      1
208                 338  16 Apr 2019 05:00      1
209                 339  16 Apr 2019 06:00      1
210                 340  16 Apr 2019 07:00      1
211                 341  16 Apr 2019 08:00      1
212                 342  16 Apr 2019 09:00      1
213                 343  16 Apr 2019 10:00      1
214                 344  16 Apr 2019 11:00      1
215                 345  16 Apr 2019 12:00      1
216                 346  16 Apr 2019 13:00      1
217                 347  16 Apr 2019 14:00      1
218                 348  16 Apr 2019 15:00      1
219                 349  16 Apr 2019 16:00      1
220                 350  16 Apr 2019 17:00      1
221                 351  16 Apr 2019 18:00      1
222                 352  16 Apr 2019 19:00      1
223                 353  16 Apr 2019 20:00      1
224                 354  16 Apr 2019 21:00      1
225                 355  16 Apr 2019 22:00      1
226                 356  16 Apr 2019 23:00      1
227                 357  17 Apr 2019 00:00      1
228                 358  17 Apr 2019 01:00      1
229                 359  17 Apr 2019 02:00      1
230 
231 
232 Specify the Begin and End Snapshot Ids
233 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 Enter value for begin_snap: 213     --生成开始的id
235 Begin Snapshot Id specified: 213
236 
237 Enter value for end_snap: 359        --生成结束的id
238 End   Snapshot Id specified: 359
239 
240 
241 
242 Specify the Report Name
243 ~~~~~~~~~~~~~~~~~~~~~~~
244 The default report file name is awrrpt_1_213_359.html.    To use this name,
245 press <return> to continue, otherwise enter an alternative.
246 
247 Enter value for report_name:   选择自己的名字
248 
249 Using the report name awrrpt_1_213_359.html
250 
251 .........................................
252 
253 <td class='awrnc'>
254 CDB$ROOT
255 </td></tr>
256 </table><p />
257 <hr align="left" width="20%" /><p />
258 <a class="awr" href="#36">Back to init.ora Parameters</a>
259 <br /><a class="awr" href="#top">Back to Top</a><p />
260 <p />
261 <a class="awr" name="99995"></a>
262 <h2>ADDM Task ADDM:1532278336_1_282</h2>
263 <pre>
264       ADDM Report for Task &apos;ADDM:1532278336_1_282&apos;
265       --------------------------------------------
266 
267 Analysis Period
268 ---------------
269 AWR snapshot range from 281 to 282.
270 Time period starts at 13-APR-19 08.00.39 PM
271 Time period ends at 13-APR-19 09.00.44 PM
272 
273 Analysis Target
274 ---------------
275 Database &apos;ORCL&apos; with DB ID 1532278336.
276 Database version 12.2.0.1.0.
277 ADDM performed an analysis of instance orcl, numbered 1 and hosted at
278 node12c01.
279 
280 Activity During the Analysis Period
281 -----------------------------------
282 Total database time was 191 seconds.
283 The average number of active sessions was .05.
284 
285 
286 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288 
289 There are no findings to report.
290 
291 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 
294       Additional Information
295       ----------------------
296 
297 Miscellaneous Information
298 -------------------------
299 There was no significant database activity to run the ADDM.
300 
301 The database&apos;s maintenance windows were active during 99% of the analysis
302 period.
303 
304 </pre>
305 <h2>ADDM Task ADDM:1532278336_1_306</h2>
306 <pre>
307       ADDM Report for Task &apos;ADDM:1532278336_1_306&apos;
308       --------------------------------------------
309 
310 Analysis Period
311 ---------------
312 AWR snapshot range from 305 to 306.
313 Time period starts at 14-APR-19 08.00.33 PM
314 Time period ends at 14-APR-19 09.00.38 PM
315 
316 Analysis Target
317 ---------------
318 Database &apos;ORCL&apos; with DB ID 1532278336.
319 Database version 12.2.0.1.0.
320 ADDM performed an analysis of instance orcl, numbered 1 and hosted at
321 node12c01.
322 
323 Activity During the Analysis Period
324 -----------------------------------
325 Total database time was 180 seconds.
326 The average number of active sessions was .05.
327 
328 
329 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 
332 There are no findings to report.
333 
334 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 
337       Additional Information
338       ----------------------
339 
340 Miscellaneous Information
341 -------------------------
342 There was no significant database activity to run the ADDM.
343 
344 The database&apos;s maintenance windows were active during 100% of the analysis
345 period.
346 
347 </pre>
348 <h2>ADDM Task ADDM:1532278336_1_305</h2>
349 <pre>
350       ADDM Report for Task &apos;ADDM:1532278336_1_305&apos;
351       --------------------------------------------
352 
353 Analysis Period
354 ---------------
355 AWR snapshot range from 304 to 305.
356 Time period starts at 14-APR-19 07.00.28 PM
357 Time period ends at 14-APR-19 08.00.33 PM
358 
359 Analysis Target
360 ---------------
361 Database &apos;ORCL&apos; with DB ID 1532278336.
362 Database version 12.2.0.1.0.
363 ADDM performed an analysis of instance orcl, numbered 1 and hosted at
364 node12c01.
365 
366 Activity During the Analysis Period
367 -----------------------------------
368 Total database time was 168 seconds.
369 The average number of active sessions was .05.
370 
371 
372 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
373 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 
375 There are no findings to report.
376 
377 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 
380       Additional Information
381       ----------------------
382 
383 Miscellaneous Information
384 -------------------------
385 There was no significant database activity to run the ADDM.
386 
387 The database&apos;s maintenance windows were active during 99% of the analysis
388 period.
389 
390 </pre>
391 <br /><a class="awr" href="#top">Back to Top</a><p />
392 <p />
393 <p />
394 <p />
395 <p />
396 <p />
397 <p />
398 <p />
399 <p />
400 <p />
401 End of Report
402 </body></html>
View Code

相关文章: