Vous êtes sur la page 1sur 46

Database Performance Diagnostic Guide

Database V11G

V11G
Database V11G Page 2 of 46

Table of Contents
Executive Summary 3
Database Overview 4
Operating System load profile 9
Application load profile 10
Services 15
Sessions 21
Segments statistics 23
Memories Advices 25
Instance Parameters 26
Cursors audit 31
Options report 45
Conclusion 46

Private and Confidential V11G


Database V11G Page 3 of 46

Executive Summary

Private and Confidential V11G


Database V11G Page 4 of 46

Database Overview

Host Name Platform Sockets Cores Memory


rcherbon-fr Microsoft Windows IA (32-bit) 1 2 3GB

Db Name Instance Name Version Startup Time Memory Target


V11G v11g 11.2.0.2.0 08/03/2011 08:34:56 369 098 752

Versions
Banner
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production

Options
Name Value
Partitioning TRUE
Deferred Segment Creation TRUE
XStream TRUE
Advanced Compression TRUE
Server Flash Cache TRUE
Active Data Guard TRUE
DICOM TRUE
Flashback Data Archive TRUE
Real Application Testing TRUE
SecureFiles Encryption TRUE
SQL Plan Management TRUE
Result Cache TRUE
Unused Block Compression TRUE
Backup Encryption TRUE
Transparent Data Encryption TRUE
Flashback Database TRUE
Flashback Table TRUE
Block Change Tracking TRUE
File Mapping TRUE
Streams Capture TRUE
Online Redefinition TRUE
Trial Recovery TRUE
Join index TRUE
Basic Compression TRUE
Oracle Data Guard TRUE
Enterprise User Security TRUE
Application Role TRUE
Fine-grained Auditing TRUE
Block Media Recovery TRUE
OLAP Window Functions TRUE
Java TRUE
Duplexed backups TRUE
Sample Scan TRUE
Fast-Start Fault Recovery TRUE
Transparent Application Failover TRUE
Export transportable tablespaces TRUE

Private and Confidential V11G


Database V11G Page 5 of 46

Name Value
Spatial TRUE
Database resource manager TRUE
Materialized view rewrite TRUE
Managed Standby TRUE
Coalesce Index TRUE
Online Index Build TRUE
Plan Stability TRUE
Change Data Capture TRUE
Proxy authentication/authorization TRUE
Fine-grained access control TRUE
Point-in-time tablespace recovery TRUE
Parallel load TRUE
Parallel execution TRUE
Parallel backup and recovery TRUE
Instead-of triggers TRUE
Incremental backup and recovery TRUE
Database queuing TRUE
Connection pooling TRUE
Connection multiplexing TRUE
Bit-mapped indexes TRUE
Advanced replication TRUE
Objects TRUE
Real Application Clusters FALSE
Automatic Storage Management FALSE
Oracle Label Security FALSE
OLAP FALSE
Data Mining FALSE
Oracle Database Vault FALSE

Parameter settings
Name Display Value
audit_file_dest D:\ORACLE\11G\ADMIN\V11G\ADUMP
audit_trail DB
compatible 11.2.0.0.0
control_files D:\ORACLE\ORADATA\V11G\CONTROL01.CTL
db_block_size 8192
db_domain
db_name V11g
diagnostic_dest D:\ORACLE\11G
dispatchers (PROTOCOL=TCP) (SERVICE=V11gXDB)
memory_target 352M
nls_language FRENCH
nls_territory FRANCE
open_cursors 300
processes 100
remote_login_passwordfile EXCLUSIVE
sessions 172
undo_tablespace UNDOTBS1

National Language parameter settings


Name Value
NLS_CALENDAR GREGORIAN
NLS_CHARACTERSET AL32UTF8
NLS_COMP BINARY
NLS_CURRENCY €
NLS_DATE_FORMAT DD/MM/YYYY HH24:MI:SS
NLS_DATE_LANGUAGE FRENCH
NLS_DUAL_CURRENCY €
NLS_ISO_CURRENCY FRANCE

Private and Confidential V11G


Database V11G Page 6 of 46

Name Value
NLS_LANGUAGE FRENCH
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS .,
NLS_SORT FRENCH
NLS_TERRITORY FRANCE
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD/MM/RR HH24:MI:SSXFF
NLS_TIMESTAMP_TZ_FORMAT DD/MM/RR HH24:MI:SSXFF TZR
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR

Resources usage
Resource Name Current Utilization Max Utilization
branches 0 0
cmtcallbk 1 3
dml_locks 4 4
enqueue_locks 33 44
enqueue_resources 21 49
gcs_resources 0 0
gcs_shadows 0 0
ges_big_msgs 0 0
ges_cache_ress 0 0
ges_locks 0 0
ges_procs 0 0
ges_reg_msgs 0 0
ges_ress 0 0
ges_rsv_msgs 0 0
k2q_locks 0 0
max_rollback_segments 15 15
max_shared_servers 1 1
parallel_max_servers 0 2
processes 45 49
sessions 52 64
sort_segment_locks 1 14
temporary_table_locks 0 0
transactions 2 2

Tips
Remarks

Database files
Control file
Name Size Mb
D:\ORACLE\ORADATA\V11G\CONTROL01.CTL 10

Redolog file
Thread Group File name Status Size Mb
1 4 D:\ORACLE\ORADATA\V11G\REDO4.LOG ONLINE 50
5 D:\ORACLE\ORADATA\V11G\REDO5.LOG ONLINE 50
6 D:\ORACLE\ORADATA\V11G\REDO6.LOG ONLINE 50

Redo Log switch by hour


Thread Hour # switch Size Mb

Private and Confidential V11G


Database V11G Page 7 of 46

Thread Hour # switch Size Mb


1 08/03/2011 09h 2 100
08/03/2011 10h 8 400

Tablespace
Tablespace Name Block Contents Extent Allocation Space Mngt. Status
Size Mngt.
SYSTEM 8192 PERMANENT LOCAL SYSTEM MANUAL ONLINE
SYSAUX 8192 PERMANENT LOCAL SYSTEM AUTO ONLINE
UNDOTBS1 8192 UNDO LOCAL SYSTEM MANUAL ONLINE
TEMP 8192 TEMPORARY LOCAL UNIFORM MANUAL ONLINE
USERS 8192 PERMANENT LOCAL SYSTEM AUTO ONLINE

Tablespace size
Name Size Mb
SYSTEM 620
SYSAUX 370
UNDOTBS1 275
TEMP 91
USERS 201
Total 1 557

Datafile
Name Enabled Status Size Mb
D:\ORACLE\ORADATA\V11G\SYSTEM01.DBF READ WRITE SYSTEM 620
D:\ORACLE\ORADATA\V11G\SYSAUX01.DBF READ WRITE ONLINE 370
D:\ORACLE\ORADATA\V11G\UNDOTBS01.DBF READ WRITE ONLINE 275
D:\ORACLE\ORADATA\V11G\TEMP01.DBF READ WRITE ONLINE 91
D:\ORACLE\ORADATA\V11G\USERS01.DBF READ WRITE ONLINE 201

Tips Des fichiers marqués « RECOVER » peuvent poser des problèmes de sauvegarde.
Remarks

Database segments
Tablespace Name Owner Segment Type Number Size Mb
SYSAUX CTXSYS INDEX 35 2
LOBINDEX 2 0
LOBSEGMENT 2 0
TABLE 16 1
DBSNMP INDEX 7 0
TABLE 8 1
EXFSYS INDEX 37 2
LOBINDEX 1 0
LOBSEGMENT 1 0
TABLE 19 1
MDSYS INDEX 70 5
LOBINDEX 135 8
LOBSEGMENT 135 18
NESTED TABLE 14 1
TABLE 37 12
ORDDATA INDEX 95 7
LOBINDEX 6 0
LOBSEGMENT 6 3
NESTED TABLE 2 0
TABLE 51 4
ORDSYS INDEX 3 0
TABLE 4 0
SYS CLUSTER 1 3

Private and Confidential V11G


Database V11G Page 8 of 46

Tablespace Name Owner Segment Type Number Size Mb


INDEX 352 49
INDEX PARTITION 54 6
LOB PARTITION 1 0
LOBINDEX 56 4
LOBSEGMENT 56 10
TABLE 296 48
TABLE PARTITION 51 8
TABLE 32 2
SUBPARTITION
SYSMAN INDEX 301 24
LOBINDEX 43 3
LOBSEGMENT 43 3
NESTED TABLE 2 0
TABLE 190 16
SYSTEM INDEX 22 1
INDEX PARTITION 52 3
LOBINDEX 8 1
LOBSEGMENT 8 4
TABLE 24 2
TABLE PARTITION 39 2
WMSYS INDEX 30 2
LOBINDEX 5 0
LOBSEGMENT 5 0
NESTED TABLE 2 0
TABLE 14 1
XDB INDEX 109 7
LOBINDEX 339 21
LOBSEGMENT 339 23
NESTED TABLE 10 1
TABLE 68 8
SYSTEM OUTLN INDEX 4 0
LOBINDEX 1 0
LOBSEGMENT 1 0
TABLE 3 0
SYS CLUSTER 9 47
INDEX 617 124
LOBINDEX 94 6
LOBSEGMENT 94 18
NESTED TABLE 10 1
ROLLBACK 1 0
TABLE 514 406
SYSTEM INDEX 133 8
LOBINDEX 12 1
LOBSEGMENT 12 1
TABLE 84 5
UNDOTBS1 SYS TYPE2 UNDO 15 73
USERS SOE INDEX 23 137
TABLE 8 54

Tips
Remarks

Private and Confidential V11G


Database V11G Page 9 of 46

Operating System load profile

Private and Confidential V11G


Database V11G Page 10 of 46

Application load profile

Private and Confidential V11G


Database V11G Page 11 of 46

Private and Confidential V11G


Database V11G Page 12 of 46

Parse activity

Parse activity

Sort activity

Private and Confidential V11G


Database V11G Page 13 of 46

Private and Confidential V11G


Database V11G Page 14 of 46

Private and Confidential V11G


Database V11G Page 15 of 46

Services
Service’s statistics

Service’s waits

DB CPU

Private and Confidential V11G


Database V11G Page 16 of 46

DB Time

Logical
reads

Private and Confidential V11G


Database V11G Page 17 of 46

Private and Confidential V11G


Database V11G Page 18 of 46

Physical
reads

Physical
writes

Private and Confidential V11G


Database V11G Page 19 of 46

I/O wait
time

SQL
execute
count

Private and Confidential V11G


Database V11G Page 20 of 46

Parse
count

Parse
count

Private and Confidential V11G


Database V11G Page 21 of 46

Sessions

Private and Confidential V11G


Database V11G Page 22 of 46

Private and Confidential V11G


Database V11G Page 23 of 46

Segments statistics

Logical Reads details


Hour Owner Tablespace Name Object Name Object Logical
Type Reads
08/03 SOE USERS CUSTOMERS TABLE 5 474 192
09:45 INVENTORIES TABLE 4 355 104
ORDER_ITEMS TABLE 4 178 800
08/03 SOE USERS CUSTOMERS TABLE 5 967 952
10:01 INVENTORIES TABLE 4 552 192
ORDER_ITEMS TABLE 4 467 024
08/03 SOE USERS CUSTOMERS TABLE 5 781 152
10:15 INVENTORIES TABLE 4 340 176
ORDER_ITEMS TABLE 4 255 952
08/03 SOE USERS CUSTOMERS TABLE 5 180 080
10:30 ORDER_ITEMS TABLE 3 864 592
INVENTORIES TABLE 3 793 120
08/03 SOE USERS CUSTOMERS TABLE 6 114 496
10:45 ORDER_ITEMS TABLE 4 506 464
INVENTORIES TABLE 4 341 984

Physical Reads details


Hour Owner Tablespace Name Object Name Object Physical
Type Reads

Private and Confidential V11G


Database V11G Page 24 of 46

Hour Owner Tablespace Name Object Name Object Physical


Type Reads
08/03 SOE USERS CUSTOMERS TABLE 1 262
09:45 ORDER_ITEMS_PK INDEX 836
ITEM_ORDER_IX INDEX 628
08/03 SOE USERS CUST_EMAIL_IX INDEX 1 016
10:01 ORDER_ITEMS_PK INDEX 924
ITEM_ORDER_IX INDEX 769
08/03 SOE USERS ORDER_ITEMS_PK INDEX 918
10:15 CUST_EMAIL_IX INDEX 893
ITEM_ORDER_IX INDEX 679
08/03 SOE USERS CUST_EMAIL_IX INDEX 995
10:30 ORDER_ITEMS_PK INDEX 785
ITEM_ORDER_IX INDEX 575
08/03 SOE USERS CUST_EMAIL_IX INDEX 1 454
10:45 ORDER_ITEMS_PK INDEX 987
ORD_ORDER_DATE_IX INDEX 844

Private and Confidential V11G


Database V11G Page 25 of 46

Memories Advices

Memory Area
Memory Target parameter settings
Name Update Date Value
memory_target 08/03/2011 09:45 369 098 752

Private and Confidential V11G


Database V11G Page 26 of 46

Instance Parameters

Automatic Managing Memory settings (memory_target ! = 0)


Parameter Name Update Date Value
memory_target 08/03/2011 09:45 369 098 752

Modified parameter settings


Parameter Name Update Date Value
audit_file_dest 08/03/2011 09:45 D:\ORACLE\11G\ADMIN\V11G\ADUMP
audit_trail 08/03/2011 09:45 DB
compatible 08/03/2011 09:45 11.2.0.0.0
control_files 08/03/2011 09:45 D:\ORACLE\ORADATA\V11G\CONTROL01.CTL
db_block_size 08/03/2011 09:45 8192
db_name 08/03/2011 09:45 V11g
diagnostic_dest 08/03/2011 09:45 D:\ORACLE\11G
dispatchers 08/03/2011 09:45 (PROTOCOL=TCP) (SERVICE=V11gXDB)
nls_language 08/03/2011 09:45 FRENCH
nls_territory 08/03/2011 09:45 FRANCE
open_cursors 08/03/2011 09:45 300
processes 08/03/2011 09:45 100
remote_login_passwordfile 08/03/2011 09:45 EXCLUSIVE
sessions 08/03/2011 09:45 172
undo_tablespace 08/03/2011 09:45 UNDOTBS1

Default parameter settings


Parameter Name Update Date Value
aq_tm_processes 08/03/2011 10:45 0
archive_lag_target 08/03/2011 10:45 0
asm_power_limit 08/03/2011 10:45 1
audit_sys_operations 08/03/2011 10:45 FALSE
background_core_dump 08/03/2011 10:45 partial
background_dump_dest 08/03/2011 10:45 D:\oracle\11g\diag\rdbms\v11g\v11g\trace
backup_tape_io_slaves 08/03/2011 10:45 FALSE
bitmap_merge_area_size 08/03/2011 10:45 1048576
blank_trimming 08/03/2011 10:45 FALSE
cell_offload_compaction 08/03/2011 10:45 ADAPTIVE
cell_offload_decryption 08/03/2011 10:45 TRUE
cell_offload_plan_display 08/03/2011 10:45 AUTO
cell_offload_processing 08/03/2011 10:45 TRUE
cluster_database 08/03/2011 10:45 FALSE
cluster_database_instances 08/03/2011 10:45 1
commit_point_strength 08/03/2011 10:45 1
control_file_record_keep_time 08/03/2011 10:45 7
control_management_pack_access 08/03/2011 10:45 DIAGNOSTIC+TUNING
core_dump_dest 08/03/2011 10:45 D:\oracle\11g\diag\rdbms\v11g\v11g\cdump
cpu_count 08/03/2011 10:45 2
create_bitmap_area_size 08/03/2011 10:45 8388608
cursor_bind_capture_destination 08/03/2011 10:45 memory+disk
cursor_sharing 08/03/2011 10:45 EXACT
cursor_space_for_time 08/03/2011 10:45 FALSE
dbwr_io_slaves 08/03/2011 10:45 0
db_block_buffers 08/03/2011 10:45 0
db_block_checking 08/03/2011 10:45 FALSE
db_block_checksum 08/03/2011 10:45 TYPICAL
db_cache_advice 08/03/2011 10:45 ON
db_files 08/03/2011 10:45 200

Private and Confidential V11G


Database V11G Page 27 of 46

Parameter Name Update Date Value


db_file_multiblock_read_count 08/03/2011 10:45 95
db_flashback_retention_target 08/03/2011 10:45 1440
db_lost_write_protect 08/03/2011 10:45 NONE
db_securefile 08/03/2011 10:45 PERMITTED
db_ultra_safe 08/03/2011 10:45 OFF
db_unique_name 08/03/2011 10:45 V11g
db_unrecoverable_scn_tracking 08/03/2011 10:45 TRUE
db_writer_processes 08/03/2011 10:45 1
ddl_lock_timeout 08/03/2011 10:45 0
deferred_segment_creation 08/03/2011 10:45 TRUE
dg_broker_config_file1 08/03/2011 10:45 D:\ORACLE\11G\DB\DATABASE\DR1V11G.DAT
dg_broker_config_file2 08/03/2011 10:45 D:\ORACLE\11G\DB\DATABASE\DR2V11G.DAT
dg_broker_start 08/03/2011 10:45 FALSE
disk_asynch_io 08/03/2011 10:45 TRUE
distributed_lock_timeout 08/03/2011 10:45 60
dml_locks 08/03/2011 10:45 756
dst_upgrade_insert_conv 08/03/2011 10:45 TRUE
enable_ddl_logging 08/03/2011 10:45 FALSE
fast_start_io_target 08/03/2011 10:45 0
fast_start_mttr_target 08/03/2011 10:45 0
fast_start_parallel_rollback 08/03/2011 10:45 LOW
file_mapping 08/03/2011 10:45 FALSE
gcs_server_processes 08/03/2011 10:45 0
global_names 08/03/2011 10:45 FALSE
global_txn_processes 08/03/2011 10:45 1
hash_area_size 08/03/2011 10:45 131072
hi_shared_memory_address 08/03/2011 10:45 0
hs_autoregister 08/03/2011 10:45 TRUE
instance_name 08/03/2011 10:45 v11g
instance_number 08/03/2011 10:45 0
instance_type 08/03/2011 10:45 RDBMS
java_jit_enabled 08/03/2011 10:45 TRUE
java_max_sessionspace_size 08/03/2011 10:45 0
java_soft_sessionspace_limit 08/03/2011 10:45 0
job_queue_processes 08/03/2011 10:45 1000
ldap_directory_access 08/03/2011 10:45 NONE
ldap_directory_sysauth 08/03/2011 10:45 no
license_max_sessions 08/03/2011 10:45 0
license_max_users 08/03/2011 10:45 0
license_sessions_warning 08/03/2011 10:45 0
lock_sga 08/03/2011 10:45 FALSE
log_archive_dest_state_1 08/03/2011 10:45 enable
log_archive_dest_state_10 08/03/2011 10:45 enable
log_archive_dest_state_11 08/03/2011 10:45 enable
log_archive_dest_state_12 08/03/2011 10:45 enable
log_archive_dest_state_13 08/03/2011 10:45 enable
log_archive_dest_state_14 08/03/2011 10:45 enable
log_archive_dest_state_15 08/03/2011 10:45 enable
log_archive_dest_state_16 08/03/2011 10:45 enable
log_archive_dest_state_17 08/03/2011 10:45 enable
log_archive_dest_state_18 08/03/2011 10:45 enable
log_archive_dest_state_19 08/03/2011 10:45 enable
log_archive_dest_state_2 08/03/2011 10:45 enable
log_archive_dest_state_20 08/03/2011 10:45 enable
log_archive_dest_state_21 08/03/2011 10:45 enable
log_archive_dest_state_22 08/03/2011 10:45 enable
log_archive_dest_state_23 08/03/2011 10:45 enable
log_archive_dest_state_24 08/03/2011 10:45 enable
log_archive_dest_state_25 08/03/2011 10:45 enable

Private and Confidential V11G


Database V11G Page 28 of 46

Parameter Name Update Date Value


log_archive_dest_state_26 08/03/2011 10:45 enable
log_archive_dest_state_27 08/03/2011 10:45 enable
log_archive_dest_state_28 08/03/2011 10:45 enable
log_archive_dest_state_29 08/03/2011 10:45 enable
log_archive_dest_state_3 08/03/2011 10:45 enable
log_archive_dest_state_30 08/03/2011 10:45 enable
log_archive_dest_state_31 08/03/2011 10:45 enable
log_archive_dest_state_4 08/03/2011 10:45 enable
log_archive_dest_state_5 08/03/2011 10:45 enable
log_archive_dest_state_6 08/03/2011 10:45 enable
log_archive_dest_state_7 08/03/2011 10:45 enable
log_archive_dest_state_8 08/03/2011 10:45 enable
log_archive_dest_state_9 08/03/2011 10:45 enable
log_archive_format 08/03/2011 10:45 ARC%S_%R.%T
log_archive_local_first 08/03/2011 10:45 TRUE
log_archive_max_processes 08/03/2011 10:45 4
log_archive_min_succeed_dest 08/03/2011 10:45 1
log_archive_start 08/03/2011 10:45 FALSE
log_archive_trace 08/03/2011 10:45 0
log_buffer 08/03/2011 10:45 5971968
log_checkpoints_to_alert 08/03/2011 10:45 FALSE
log_checkpoint_interval 08/03/2011 10:45 0
log_checkpoint_timeout 08/03/2011 10:45 1800
max_dump_file_size 08/03/2011 10:45 unlimited
max_enabled_roles 08/03/2011 10:45 150
nls_comp 08/03/2011 10:45 BINARY
nls_length_semantics 08/03/2011 10:45 BYTE
nls_nchar_conv_excp 08/03/2011 10:45 FALSE
object_cache_max_size_percent 08/03/2011 10:45 10
object_cache_optimal_size 08/03/2011 10:45 102400
open_links 08/03/2011 10:45 4
open_links_per_instance 08/03/2011 10:45 4
optimizer_capture_sql_plan_baselines 08/03/2011 10:45 FALSE
optimizer_dynamic_sampling 08/03/2011 10:45 2
optimizer_features_enable 08/03/2011 10:45 11.2.0.2
optimizer_index_caching 08/03/2011 10:45 0
optimizer_index_cost_adj 08/03/2011 10:45 100
optimizer_mode 08/03/2011 10:45 ALL_ROWS
optimizer_secure_view_merging 08/03/2011 10:45 TRUE
optimizer_use_invisible_indexes 08/03/2011 10:45 FALSE
optimizer_use_pending_statistics 08/03/2011 10:45 FALSE
optimizer_use_sql_plan_baselines 08/03/2011 10:45 TRUE
os_authent_prefix 08/03/2011 10:45 OPS$
os_roles 08/03/2011 10:45 FALSE
parallel_adaptive_multi_user 08/03/2011 10:45 TRUE
parallel_automatic_tuning 08/03/2011 10:45 FALSE
parallel_degree_limit 08/03/2011 10:45 CPU
parallel_degree_policy 08/03/2011 10:45 MANUAL
parallel_execution_message_size 08/03/2011 10:45 16384
parallel_force_local 08/03/2011 10:45 FALSE
parallel_io_cap_enabled 08/03/2011 10:45 FALSE
parallel_max_servers 08/03/2011 10:45 80
parallel_min_percent 08/03/2011 10:45 0
parallel_min_servers 08/03/2011 10:45 0
parallel_min_time_threshold 08/03/2011 10:45 AUTO
parallel_server 08/03/2011 10:45 FALSE
parallel_servers_target 08/03/2011 10:45 32
parallel_server_instances 08/03/2011 10:45 1
parallel_threads_per_cpu 08/03/2011 10:45 2

Private and Confidential V11G


Database V11G Page 29 of 46

Parameter Name Update Date Value


permit_92_wrap_format 08/03/2011 10:45 TRUE
plscope_settings 08/03/2011 10:45 IDENTIFIERS:NONE
plsql_code_type 08/03/2011 10:45 INTERPRETED
plsql_debug 08/03/2011 10:45 FALSE
plsql_optimize_level 08/03/2011 10:45 2
plsql_v2_compatibility 08/03/2011 10:45 FALSE
plsql_warnings 08/03/2011 10:45 DISABLE:ALL
pre_page_sga 08/03/2011 10:45 FALSE
query_rewrite_enabled 08/03/2011 10:45 TRUE
query_rewrite_integrity 08/03/2011 10:45 enforced
read_only_open_delayed 08/03/2011 10:45 FALSE
recovery_parallelism 08/03/2011 10:45 0
recyclebin 08/03/2011 10:45 on
remote_dependencies_mode 08/03/2011 10:45 TIMESTAMP
remote_os_authent 08/03/2011 10:45 FALSE
remote_os_roles 08/03/2011 10:45 FALSE
replication_dependency_tracking 08/03/2011 10:45 TRUE
resource_limit 08/03/2011 10:45 FALSE
resource_manager_cpu_allocation 08/03/2011 10:45 2
resource_manager_plan 08/03/2011 10:45 MIXED_WORKLOAD_PLAN
result_cache_max_result 08/03/2011 10:45 5
result_cache_mode 08/03/2011 10:45 MANUAL
result_cache_remote_expiration 08/03/2011 10:45 0
resumable_timeout 08/03/2011 10:45 0
sec_case_sensitive_logon 08/03/2011 10:45 TRUE
sec_max_failed_login_attempts 08/03/2011 10:45 10
sec_protocol_error_further_action 08/03/2011 10:45 CONTINUE
sec_protocol_error_trace_action 08/03/2011 10:45 TRACE
sec_return_server_release_banner 08/03/2011 10:45 FALSE
serial_reuse 08/03/2011 10:45 disable
service_names 08/03/2011 10:45 SOE
session_cached_cursors 08/03/2011 10:45 50
session_max_open_files 08/03/2011 10:45 10
shadow_core_dump 08/03/2011 10:45 none
shared_memory_address 08/03/2011 10:45 0
shared_servers 08/03/2011 10:45 1
skip_unusable_indexes 08/03/2011 10:45 TRUE
sort_area_retained_size 08/03/2011 10:45 0
sort_area_size 08/03/2011 10:45 65536
sqltune_category 08/03/2011 10:45 DEFAULT
sql92_security 08/03/2011 10:45 FALSE
sql_trace 08/03/2011 10:45 FALSE
standby_archive_dest 08/03/2011 10:45 %ORACLE_HOME%\RDBMS
standby_file_management 08/03/2011 10:45 MANUAL
star_transformation_enabled 08/03/2011 10:45 FALSE
statistics_level 08/03/2011 10:45 TYPICAL
tape_asynch_io 08/03/2011 10:45 TRUE
thread 08/03/2011 10:45 0
timed_os_statistics 08/03/2011 10:45 0
timed_statistics 08/03/2011 10:45 TRUE
trace_enabled 08/03/2011 10:45 TRUE
transactions 08/03/2011 10:45 189
transactions_per_rollback_segment 08/03/2011 10:45 5
undo_management 08/03/2011 10:45 AUTO
undo_retention 08/03/2011 10:45 900
user_dump_dest 08/03/2011 10:45 D:\oracle\11g\diag\rdbms\v11g\v11g\trace
use_indirect_data_buffers 08/03/2011 10:45 FALSE
use_large_pages 08/03/2011 10:45 TRUE
workarea_size_policy 08/03/2011 10:45 AUTO

Private and Confidential V11G


Database V11G Page 30 of 46

Parameter Name Update Date Value


xml_db_events 08/03/2011 10:45 enable
O7_DICTIONARY_ACCESSIBILITY 08/03/2011 10:45 FALSE
__db_cache_size 08/03/2011 10:45 92274688
__java_pool_size 08/03/2011 10:45 4194304
__large_pool_size 08/03/2011 10:45 4194304
__oracle_base 08/03/2011 10:45 D:\oracle
__pga_aggregate_target 08/03/2011 10:45 125829120
__sga_target 08/03/2011 10:45 243269632
__shared_io_pool_size 08/03/2011 10:45 0
__shared_pool_size 08/03/2011 10:45 130023424
__streams_pool_size 08/03/2011 10:45 4194304

Private and Confidential V11G


Database V11G Page 31 of 46

Cursors audit
Segments size
Owner Table # Rows Blocks Empty Chain Row Last
used blocks count length Analyze
DBSNMP AQ_MNTR_MSGS_QUEUE 0 0 0 0 0 29/01/2011
SOE CUSTOMERS 125 075 1 252 0 0 79 11/02/2011
ORDER_ITEMS 487 171 1 630 0 0 17 11/02/2011
ORDERS 147 527 874 0 0 34 05/03/2011
SYS KET$_CLIENT_CONFIG 7 5 0 0 27 29/01/2011
OBJ$ 68 339 837 0 0 84 29/01/2011
SCHEDULER$_CLASS 13 1 0 0 59 29/01/2011
SCHEDULER$_GLOBAL_ATTRIBUTE 11 1 0 0 23 07/03/2011
SCHEDULER$_JOB 15 2 0 0 708 07/03/2011
SCHEDULER$_LIGHTWEIGHT_JOB 0 0 0 0 0 29/01/2011
SCHEDULER$_PROGRAM 19 2 0 0 617 29/01/2011
SCHEDULER$_WINDOW 9 1 0 0 195 07/03/2011
SCHEDULER$_WINDOW_GROUP 4 1 0 0 35 29/01/2011
SQLOBJ$AUXDATA 0 0 0 0 0 29/01/2011
WRH$_EVENT_HISTOGRAM 7 669 35 0 0 27 07/03/2011
WRH$_SQLTEXT 561 95 0 0 115 07/03/2011
WRI$_ADV_ADDM_TASKS 73 5 0 0 99 07/03/2011
WRI$_ADV_DEF_PARAMETERS 509 5 0 0 39 29/01/2011
WRI$_ADV_EXECUTIONS 85 5 0 0 54 07/03/2011
WRI$_ADV_OBJECTS 294 13 0 0 127 06/03/2011
WRI$_ADV_PARAMETERS 4 952 43 0 0 34 07/03/2011
WRI$_ADV_RATIONALE 1 380 58 0 0 130 05/03/2011
WRI$_ADV_RECOMMENDATIONS 122 5 0 0 47 06/03/2011
WRI$_ADV_TASKS 77 5 0 0 173 07/03/2011
WRM$_BASELINE 1 5 0 0 56 30/01/2011

Optimizer parameters
Name Value Isdefault Default Value
active_instance_count 1 YES 1
bitmap_merge_area_size 1048576 YES 1048576
cell_offload_compaction ADAPTIVE YES ADAPTIVE
cell_offload_plan_display AUTO YES AUTO
cell_offload_processing true YES true
cpu_count 2 YES 2
cursor_sharing exact YES exact
db_file_multiblock_read_count 95 YES 95
dst_upgrade_insert_conv true YES true
hash_area_size 131072 YES 131072
is_recur_flags 0 YES 0
optimizer_capture_sql_plan_baseli false YES false
nes
optimizer_dynamic_sampling 2 YES 2
optimizer_features_enable 11.2.0.2 YES 11.2.0.2
optimizer_index_caching 0 YES 0
optimizer_index_cost_adj 100 YES 100
optimizer_mode all_rows YES all_rows
optimizer_secure_view_merging true YES true
optimizer_use_invisible_indexes false YES false
optimizer_use_pending_statistics false YES false
optimizer_use_sql_plan_baselines true YES true
parallel_autodop 0 YES 0
parallel_ddldml 0 YES 0
parallel_ddl_mode enabled YES enabled

Private and Confidential V11G


Database V11G Page 32 of 46

Name Value Isdefault Default Value


parallel_degree 0 YES 0
parallel_degree_limit 65535 YES 65535
parallel_degree_policy manual YES manual
parallel_dml_mode disabled YES disabled
parallel_execution_enabled true YES true
parallel_force_local false YES false
parallel_max_degree 4 YES 4
parallel_min_time_threshold 10 YES 10
parallel_query_default_dop 0 YES 0
parallel_query_mode enabled YES enabled
parallel_threads_per_cpu 2 YES 2
pga_aggregate_target 147456 KB YES 147456 KB
query_rewrite_enabled true YES true
query_rewrite_integrity enforced YES enforced
result_cache_mode MANUAL YES MANUAL
skip_unusable_indexes true YES true
_smm_max_size 24576 KB NO 29491 KB
_smm_min_size 128 KB NO 147 KB
_smm_px_max_size 61440 KB NO 73728 KB
sort_area_retained_size 0 YES 0
sort_area_size 65536 YES 65536
star_transformation_enabled false YES false
statistics_level typical YES typical
total_cpu_count 2 YES 2
transaction_isolation_level read_commited YES read_commited
workarea_size_policy auto YES auto

Last Analyze dates


Owner Object Type Analyze date #
APPQOSSYS TABLE 29/01/2011 4
CTXSYS INDEX None 2
29/01/2011 59
TABLE 29/01/2011 49
DBSNMP INDEX None 2
07/03/2011 3
11/02/2011 1
29/01/2011 7
TABLE None 3
07/03/2011 2
11/02/2011 2
29/01/2011 18
EXFSYS INDEX None 3
29/01/2011 38
TABLE None 2
29/01/2011 45
MDSYS INDEX None 149
29/01/2011 88
TABLE None 9
29/01/2011 48
ORDDATA INDEX None 39
29/01/2011 99
TABLE None 19
29/01/2011 54
ORDSYS INDEX 29/01/2011 4
TABLE 29/01/2011 5
OUTLN INDEX None 1
29/01/2011 4
TABLE 29/01/2011 3
SOE INDEX 02/02/2011 6

Private and Confidential V11G


Database V11G Page 33 of 46

Owner Object Type Analyze date #


05/03/2011 8
11/02/2011 9
TABLE 02/02/2011 3
05/03/2011 2
11/02/2011 3
SYS FIXED TABLE None 928
INDEX None 179
02/02/2011 1
03/02/2011 3
05/03/2011 21
06/03/2011 25
07/03/2011 124
11/02/2011 1
12/02/2011 4
23/02/2011 2
29/01/2011 763
30/01/2011 35
INDEX PARTITION None 1
11/02/2011 21
29/01/2011 1
30/01/2011 31
PARTITION 11/02/2011 20
29/01/2011 2
30/01/2011 30
SUBPARTITION None 32
TABLE None 55
02/02/2011 2
03/02/2011 4
05/03/2011 18
06/03/2011 17
07/03/2011 100
11/02/2011 10
12/02/2011 4
23/02/2011 1
29/01/2011 713
30/01/2011 36
SYSMAN INDEX None 96
29/01/2011 933
TABLE None 14
29/01/2011 715
SYSTEM INDEX None 28
11/02/2011 2
29/01/2011 202
INDEX PARTITION 29/01/2011 52
PARTITION 29/01/2011 39
TABLE None 9
11/02/2011 2
29/01/2011 143
WMSYS INDEX None 10
29/01/2011 59
TABLE None 2
29/01/2011 41
XDB INDEX None 340
29/01/2011 109
TABLE None 1
29/01/2011 30

Private and Confidential V11G


Database V11G Page 34 of 46

Top ten Elapsed Time


Sql Id Time/exec Extract
dh8buznb17u3c 51 BEGIN dbms_workload_repository.drop_snapshot_range(123,143); END;
62jd0x1sdk42m 19 /* OracleOEM */ DECLARE rept varchar2(4000); rref varchar2(4000); key_enabl
89dhu8bb05uvn 11 /* OracleOEM */ declare lv_sql_stmt varchar2(10000); finalQry varchar2(2048
0yup10cbf4spf 9 SELECT /*+ leading(oe f r l) */ /* STN_REPT_TOP_PROF */ xmlelement( "top_pr
6ajkhukk78nsr 7 begin prvt_hdm.auto_execute( :dbid, :inst_num , :end_snap_id ); end;
bunssq950snhf 2 insert into wrh$_sga_target_advice (snap_id, dbid, instance_number, SGA_SIZ
cxt1cbqk1jrkp 2 SELECT DECODE(COUNT(*), 0, 'DISABLED', 'ENABLED') STATUS FROM
DBA_AUTOTASK_
ab3swhv5g138y 2 select OBJOID, CLSOID, RUNTIME, PRI, JOBTYPE, SCHLIM, WT, INST, RUNNOW, ENQ
99sq41jpv7dv6 2 SELECT * FROM AQ_MNTR_MSGS_QUEUE where rownum <=1
5d6v1u6v0awdx 2 SELECT O.* FROM DBA_ADVISOR_OBJECTS O, DBA_ADVISOR_PARAMETERS P
WHERE P.TAS

Top ten Buffer Gets


Sql Id Gets/exec Extract
dh8buznb17u3c 335 276 BEGIN dbms_workload_repository.drop_snapshot_range(123,143); END;
5bvk329b8qz3p 25 898 delete from WRH$_EVENT_HISTOGRAM tab where (:beg_snap <= tab.snap_id and tab.sna
6ajkhukk78nsr 12 316 begin prvt_hdm.auto_execute( :dbid, :inst_num , :end_snap_id ); end;
62jd0x1sdk42m 8 219 /* OracleOEM */ DECLARE rept varchar2(4000); rref varchar2(4000); key_enabl
5v8hhf9y67bvc 3 569 BEGIN :1 := orderentry.processorders(:2,:3); END;
3jbwa65aqmkvm 3 533 SELECT O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY,
ORDER_MODE, O
ab3swhv5g138y 1 692 select OBJOID, CLSOID, RUNTIME, PRI, JOBTYPE, SCHLIM, WT, INST, RUNNOW,
ENQ_SCHL
0yup10cbf4spf 1 479 SELECT /*+ leading(oe f r l) */ /* STN_REPT_TOP_PROF */ xmlelement( "top_profile
1xxksrhwtz3zf 1 254 BEGIN :1 := orderentry.neworder(:2,:3,:4); END;
04td0fvwdyqwt 966 insert into WRH$_PERSISTENT_SUBSCRIBERS (snap_id, dbid, instance_number, queue_s

Top ten Disk Reads


Sql Id Reads/exec Extract
dh8buznb17u3c 3 308 BEGIN dbms_workload_repository.drop_snapshot_range(123,143); END;
62jd0x1sdk42m 686 /* OracleOEM */ DECLARE rept varchar2(4000); rref varchar2(4000); key_enabl
ab3swhv5g138y 684 select OBJOID, CLSOID, RUNTIME, PRI, JOBTYPE, SCHLIM, WT, INST, RUNNOW,
ENQ_SCHL
6ajkhukk78nsr 520 begin prvt_hdm.auto_execute( :dbid, :inst_num , :end_snap_id ); end;
0yup10cbf4spf 126 SELECT /*+ leading(oe f r l) */ /* STN_REPT_TOP_PROF */ xmlelement( "top_profile
5bvk329b8qz3p 92 delete from WRH$_EVENT_HISTOGRAM tab where (:beg_snap <= tab.snap_id and tab.sna
cxt1cbqk1jrkp 86 SELECT DECODE(COUNT(*), 0, 'DISABLED', 'ENABLED') STATUS FROM
DBA_AUTOTASK_WINDO
04td0fvwdyqwt 71 insert into WRH$_PERSISTENT_SUBSCRIBERS (snap_id, dbid, instance_number, queue_s
89dhu8bb05uvn 67 /* OracleOEM */ declare lv_sql_stmt varchar2(10000); finalQry varchar2(2048); fr
8b5vzx9k2t7s9 53 /* OracleOEM */ DECLARE TYPE data_cursor_type IS REF CURSOR; data_cursor data_cu
Top ten Executions
Sql Id Exec Extract
5raw2bzx227wp 15 193 INSERT INTO LOGON VALUES (:B2 , :B1 )
75621g9y3xmvd 15 193 SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LAN
8z3542ffmp562 13 244 SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTOR
0yas01u2p9ch4 12 867 INSERT INTO ORDER_ITEMS(ORDER_ID, LINE_ITEM_ID, PRODUCT_ID,
21wygrskjv4sq 11 875 SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTIO
dw2zgaapax1sg 11 696 SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTIO
3jbwa65aqmkvm 3 845 SELECT O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUA
f3y38zthh270n 3 845 UPDATE ORDERS SET ORDER_STATUS = FLOOR(DBMS_RANDOM.VALUE(:B3
0bzhqhhj9mpaa 3 802 INSERT INTO CUSTOMERS(CUSTOMER_ID ,CUST_FIRST_NAME ,CUST_LAS
gvgdv2v90wfa7 3 787 INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES

Private and Confidential V11G


Database V11G Page 35 of 46

SQL Code
Sql Id Text
ab3swhv5g138y select OBJOID, CLSOID, RUNTIME, PRI, JOBTYPE, SCHLIM, WT, INST, RUNNOW, ENQ_SCHLIM from (
select a.obj# OBJOID, a.class_oid CLSOID, decode(bitand(a.flags, 16384), 0, a.next_run_date,
a.last_enabled_time) RUNTIME, (2*a.priority + decode(bitand(a.job_status, 4), 0, 0, decode(a.running_instance,
:1, -1, 1))) PRI, 1 JOBTYPE, decode(a.schedule_limit, NULL, decode(bitand(a.flags, 4194304), 4194304,
p.schedule_limit, NULL), a.schedule_limit) SCHLIM, a.job_weight WT, decode(a.running_instance, NULL, 0,
a.running_instance) INST, decode(bitand(a.flags, 16384), 0, 0, 1) RUNNOW, decode(bitand(a.job_status,
8388608), 0, 0, 1) ENQ_SCHLIM from sys.scheduler$_job a, sys.scheduler$_program p, v$database v, v$instance
i where a.program_oid = p.obj#(+) and bitand(a.job_status, 515) = 1 and bitand(a.flags, 1048576) = 0 and
((bitand(a.flags, 134217728 + 268435456) = 0) or (bitand(a.job_status, 1024) <> 0)) and bitand(a.flags, 4096) = 0
and (a.next_run_date <= :2 or bitand(a.flags, 16384) <> 0) and a.instance_id is null and (a.class_oid is null or
(a.class_oid is not null and a.class_oid in (select b.obj# from sys.scheduler$_class b where b.affinity is null))) and
(a.database_role = v.database_role or (a.database_role is null and v.database_role = 'PRIMARY')) and ( i.logins =
'ALLOWED' or bitand(a.flags, 17179869184) <> 0 ) union all select l.obj#, l.class_oid, decode(bitand(l.flags,
16384), 0, l.next_run_date, l.last_enabled_time), (2*decode(bitand(l.flags, 8589934592), 0, q.priority, pj.priority)
+ decode(bitand(l.job_status, 4), 0, 0, decode(l.running_instance, :3, -1, 1))), 1, decode(bitand(l.flags,
8589934592), 0, q.schedule_limit, decode(pj.schedule_limit, NULL, q.schedule_limit, pj.schedule_limit)),
decode(bitand(l.flags, 8589934592), 0, q.job_weight, pj.job_weigh
bunssq950snhf insert into wrh$_sga_target_advice (snap_id, dbid, instance_number, SGA_SIZE, SGA_SIZE_FACTOR,
ESTD_DB_TIME, ESTD_PHYSICAL_READS) select :snap_id, :dbid, :instance_number, SGA_SIZE,
SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_READS from v$sga_target_advice
cxt1cbqk1jrkp SELECT DECODE(COUNT(*), 0, 'DISABLED', 'ENABLED') STATUS FROM
DBA_AUTOTASK_WINDOW_CLIENTS WHERE SQL_TUNE_ADVISOR = 'ENABLED' AND
AUTOTASK_STATUS = 'ENABLED'
dh8buznb17u3c BEGIN dbms_workload_repository.drop_snapshot_range(123,143); END;
dw2zgaapax1sg SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID,
WEIGHT_CLASS, WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE,
MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE
PRODUCTS.CATEGORY_ID = :B1 AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID
ORDER BY INVENTORIES.WAREHOUSE_ID
f3y38zthh270n UPDATE ORDERS SET ORDER_STATUS = FLOOR(DBMS_RANDOM.VALUE(:B3 + 1, :B2 )) WHERE
ORDER_ID = :B1
gvgdv2v90wfa7 INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES
(ORDERS_SEQ.NEXTVAL , SYSTIMESTAMP , :B1 ) RETURNING ORDER_ID INTO :O0
0bzhqhhj9mpaa INSERT INTO CUSTOMERS(CUSTOMER_ID ,CUST_FIRST_NAME ,CUST_LAST_NAME
,NLS_LANGUAGE ,NLS_TERRITORY ,CREDIT_LIMIT ,CUST_EMAIL ,ACCOUNT_MGR_ID ) VALUES
(:B9 , :B4 , :B3 , :B8 , :B7 , FLOOR(DBMS_RANDOM.VALUE(:B6 , :B5 )), :B4 ||'.'||:B3 ||'@'||'oracle.com',
FLOOR(DBMS_RANDOM.VALUE(:B2 , :B1 )))
0yas01u2p9ch4 INSERT INTO ORDER_ITEMS(ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY)
VALUES (:B4 , :B3 , :B2 , :B1 , 1)
0yup10cbf4spf SELECT /*+ leading(oe f r l) */ /* STN_REPT_TOP_PROF */ xmlelement( "top_profiles",
xmlagg(xmlelement("obj_id", object_id))) FROM (SELECT task_id, exec_name, exec_id, exec_start, object_id,
sql_id, parsing_schema, phv, obj_attr8 FROM (SELECT /*+ cardinality(o 148) leading(e o) */ e.task_id task_id,
e.execution_name exec_name, e.execution_id exec_id, e.execution_start exec_start, o.id object_id, o.attr1 sql_id,
o.attr3 parsing_schema, to_number(nvl(o.attr5, '0')) phv, nvl(o.attr8,0) obj_attr8, row_number() over (partition by
o.attr1 order by bitand(o.attr7, 32) asc, e.execution_start desc) rn FROM (SELECT e.task_id, e.name
execution_name, e.id execution_id, e.exec_start execution_start, e.status status# FROM (SELECT task_id,
min(execution_name) keep (dense_rank first order by execution_start) bename, max(execution_name) keep
(dense_rank last order by execution_start) eename, min(execution_start) bestart, max(execution_start) eestart
FROM (SELECT task_id, name execution_name, exec_start execution_start FROM wri$_adv_executions
WHERE task_id = :tid and name in (:bename, :eename)) GROUP BY task_id) r, wri$_adv_executions e
04td0fvwdyqwt insert into WRH$_PERSISTENT_SUBSCRIBERS (snap_id, dbid, instance_number, queue_schema,
queue_name, subscriber_id, subscriber_name, subscriber_address, subscriber_type, first_activity_time,
enqueued_msgs, dequeued_msgs, avg_msg_age, browsed_msgs, expired_msgs, dequeued_msg_latency,
last_enqueue_time, last_dequeue_time, elapsed_dequeue_time, dequeue_cpu_time, dequeue_transactions,
execution_count) select * from (select :snap_id, :dbid, :instance_number, ss.queue_schema, ss.queue_name,
ss.subscriber_id, ss.subscriber_name, ss.subscriber_address, ss.subscriber_type, ss.first_activity_time,
ss.enqueued_msgs, ss.dequeued_msgs, ss.avg_msg_age, ss.browsed_msgs, ss.expired_msgs,
ss.dequeued_msg_latency, ss.last_enqueue_time, ss.last_dequeue_time , elapsed_dequeue_time,

Private and Confidential V11G


Database V11G Page 36 of 46

Sql Id Text
ss.dequeue_cpu_time, ss.dequeue_transactions, ss.execution_count from v$persistent_subscribers ss where
subscriber_id <> 0 order by ss.enqueued_msgs desc) where rownum <= 25
1xxksrhwtz3zf BEGIN :1 := orderentry.neworder(:2,:3,:4); END;
21wygrskjv4sq SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID,
WEIGHT_CLASS, WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE,
MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE
PRODUCTS.PRODUCT_ID = :B1 AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID
3jbwa65aqmkvm SELECT O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY, ORDER_MODE,
ORDER_STATUS, ORDER_TOTAL, SALES_REP_ID, PROMOTION_ID, C.CUSTOMER_ID,
CUST_FIRST_NAME, CUST_LAST_NAME, CREDIT_LIMIT, CUST_EMAIL, ORDER_DATE FROM
ORDERS O , ORDER_ITEMS OI, CUSTOMERS C WHERE O.ORDER_ID = OI.ORDER_ID AND
O.CUSTOMER_ID = C.CUSTOMER_ID AND O.ORDER_STATUS <= 4
5bvk329b8qz3p delete from WRH$_EVENT_HISTOGRAM tab where (:beg_snap <= tab.snap_id and tab.snap_id <= :end_snap
and dbid = :dbid) and not exists (select 1 from WRM$_BASELINE b where (tab.dbid = b.dbid) and (tab.snap_id >=
b.start_snap_id) and (tab.snap_id <= b.end_snap_id))
5d6v1u6v0awdx SELECT O.* FROM DBA_ADVISOR_OBJECTS O, DBA_ADVISOR_PARAMETERS P WHERE P.TASK_ID
= O.TASK_ID AND P.TASK_ID = :B1 AND P.PARAMETER_NAME = 'TARGET_OBJECTS' AND
TO_CHAR(O.OBJECT_ID) = P.PARAMETER_VALUE
5raw2bzx227wp INSERT INTO LOGON VALUES (:B2 , :B1 )
5v8hhf9y67bvc BEGIN :1 := orderentry.processorders(:2,:3); END;
6ajkhukk78nsr begin prvt_hdm.auto_execute( :dbid, :inst_num , :end_snap_id ); end;
62jd0x1sdk42m /* OracleOEM */ DECLARE rept varchar2(4000); rref varchar2(4000); key_enable varchar2(20); autoimpl_enable
varchar2(20); key_count number; TYPE data_cursor_type IS REF CURSOR; data_cursor data_cursor_type;
BEGIN rref := dbms_report.build_report_reference_varg( 'sqltune', 'auto_summary', 'section', 'task_stats',
'validate', 'n'); rept := dbms_report.get_report(rref); WITH data AS (select xmltype(rept) rept_xml FROM dual)
SELECT extractvalue(rept_xml, '/report/summary/statistics/task_stats/info_group/info[position()=1]'),
extractvalue(rept_xml,'/report/summary/statistics/task_stats/info_group/info[position()=2]') INTO
key_enable,autoimpl_enable FROM data; SELECT count(*) INTO key_count FROM
table(xmlsequence(xmltype(rept).extract('//obj_id'))); OPEN data_cursor FOR SELECT key_count,
key_enable,autoimpl_enable FROM dual; :1 := data_cursor; END;
75621g9y3xmvd SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LANGUAGE,
NLS_TERRITORY, CREDIT_LIMIT, CUST_EMAIL, ACCOUNT_MGR_ID FROM CUSTOMERS WHERE
CUSTOMER_ID = :B1
8b5vzx9k2t7s9 /* OracleOEM */ DECLARE TYPE data_cursor_type IS REF CURSOR; data_cursor data_cursor_type; x clob :=
null; pos1 INTEGER := 1; pos2 INTEGER := 4000; statData clob := null; sizeData clob := null; objectsData clob :=
null; tmp VARCHAR2(4000); partitionName VARCHAR2(4000); jobName VARCHAR2(500); idx_name
VARCHAR2(4000); part_name VARCHAR2(4000); tmp_str VARCHAR2(4000); guid RAW(16); idx_guid
RAW(16); cursor idx_cur IS select owner,job_name,comments from dba_scheduler_jobs where job_name like
'EM_IDX_STAT_JOB%' and upper(owner) = 'DBSNMP'; idx_rec idx_cur%ROWTYPE; BEGIN OPEN idx_cur;
FETCH idx_cur into idx_rec; guid := :1; IF idx_cur%FOUND THEN dbms_lob.createtemporary(statData,false);
dbms_lob.createtemporary(sizeData,false); dbms_lob.createtemporary(objectsData,false); idx_name :=
substr(idx_rec.comments,1,instr(idx_rec.comments,'|')-1); tmp_str :=
substr(idx_rec.comments,instr(idx_rec.comments,'|')+1); part_name := substr(tmp_str,1,instr(tmp_str,'|')-1);
idx_guid := substr(tmp_str,instr(tmp_str,'|')+1); if guid = idx_guid THEN if part_name != 'null' then partitionName
:= part_name; end if; ctx_report.index_stats(idx_name,x,partitionName,true,5); pos1 := dbms_lob.instr(x,'indexed
documents:'); IF pos1 > 0 THEN pos2 := dbms_lob.instr(x,chr(10),pos1); tmp :=
dbms_lob.substr(x,pos2-pos1,pos1); tmp := tmp || '|'; dbms_lob.writeappend(statData,pos2-pos1+1,tmp); END IF;
pos1 := dbms_lob.instr(x,'allocated docids:'); IF pos1 > 0 THEN pos2 := dbms_lob.instr(x,chr(10),pos1); tmp :=
dbms_lob.substr(x,pos2-pos1,pos1); tmp := tmp || '|'; dbms_lob.writeappend(statData,pos2-pos1+1,tmp); END IF;
pos1 := dbms_lob.instr(x,'$I rows:'); IF pos1 > 0 THEN pos2 := dbms_lob.instr(x,chr(10),pos1); tmp :=
dbms_lob.substr(x,pos2-pos1,pos1); tmp := tmp || '|';
8z3542ffmp562 SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTORIES I WHERE
I.PRODUCT_ID = :B2 AND I.PRODUCT_ID = P.PRODUCT_ID AND I.WAREHOUSE_ID = :B1
89dhu8bb05uvn /* OracleOEM */ declare lv_sql_stmt varchar2(10000); finalQry varchar2(2048); fromClause varchar2(512);
lc_var1 varchar2(1000); lc_var2 number; lc_var3 number; fullQName varchar2(512); avg_msg_age number;
TYPE data_cursor_type IS REF CURSOR; data_cursor data_cursor_type; test_cursor sys_refcursor; v_error_code
number; v_error_message varchar2(255); receivedB number := 0; processedB number := 0; receivedP number := 0;
processedP number := 0; totalReceived number := 0; totalProcessed number := 0; finalPerc number := 0; begin
begin begin EXECUTE IMMEDIATE 'SELECT * FROM AQ_MNTR_MSGS_QUEUE where rownum <=1';
exception WHEN OTHERS THEN v_error_code := SQLCODE; v_error_message := SQLERRM;
DBMS_OUTPUT.PUT_LINE(v_error_code); DBMS_OUTPUT.PUT_LINE(v_error_message); -- If table does

Private and Confidential V11G


Database V11G Page 37 of 46

Sql Id Text
not exist before then create it IF v_error_code = -942 THEN -- ORA-00942: table or view does not exist EXECUTE
IMMEDIATE 'CREATE TABLE AQ_MNTR_MSGS_QUEUE (FULL_QUEUE_NAME varchar2(256) NOT
NULL PRIMARY KEY, schema varchar2(256), queue_name varchar2(256), average_msg_age number,
totalProcessed number, totalReceived number, proc_perc number)'; END IF; end; --If no exception means table
exists already. Clean it up before reusing EXECUTE IMMEDIATE 'DELETE FROM
AQ_MNTR_MSGS_QUEUE'; exception WHEN OTHERS THEN null; end; commit; -- Review comment => Do
not include sys/system/sysman/dbsnmp schema as these might contain system queues for rec in (select owner,
name, queue_table from dba_queues where owner not in ('SYS', 'SYSTEM', 'SYSMAN', 'DBSNMP') ) LOOP
dbms_output.put_line('+++++ Begin Processing for: ' ||rec.owner||' , '||rec.name|| ', '||rec.qu
99sq41jpv7dv6 SELECT * FROM AQ_MNTR_MSGS_QUEUE where rownum <=1

Private and Confidential V11G


Database V11G Page 38 of 46

ab3swhv5g138y
Plan Hash Value Lines In Plan Cost Last Usage day
600618463 120 523 08/03/2011 11:00

bunssq950snhf
Plan Hash Value Lines In Plan Cost Last Usage day
2694099131 5 1 08/03/2011 10:45

cxt1cbqk1jrkp
Plan Hash Value Lines In Plan Cost Last Usage day
3121887881 44 20 08/03/2011 11:00

0yup10cbf4spf
Plan Hash Value Lines In Plan Cost Last Usage day
3001928536 35 17 08/03/2011 11:00

04td0fvwdyqwt
Plan Hash Value Lines In Plan Cost Last Usage day
3134853868 8 2 08/03/2011 10:15

3jbwa65aqmkvm
Plan Hash Value Lines In Plan Cost Last Usage day
2131368964 6 387 08/03/2011 11:00

5bvk329b8qz3p
Plan Hash Value Lines In Plan Cost Last Usage day
3791306298 8 16 08/03/2011 10:01

5d6v1u6v0awdx
Plan Hash Value Lines In Plan Cost Last Usage day
1874866346 21 8 08/03/2011 11:00

99sq41jpv7dv6
Plan Hash Value Lines In Plan Cost Last Usage day
3552985846 3 2 08/03/2011 11:00

Plan Hash Value Lines In Plan Cost Last Usage day



















Private and Confidential V11G


Database V11G Page 39 of 46

Plan Hash Value Lines In Plan Cost Last Usage day



Private and Confidential V11G


Database V11G Page 40 of 46

ab3swhv5g138y 600618463
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 523
1 SORT ORDER BY 4 846 494 292 523 7
2 VIEW 4 846 494 292 406 5
3 UNION-ALL � � �
4 CONCATENATION � � �
5 FILTER � � �
6 MERGE JOIN CARTESIAN 1 183 3 1
7 MERGE JOIN CARTESIAN 1 183 3 1
8 NESTED LOOPS 1 183 3 1
9 MERGE JOIN CARTESIAN 1 157 3 1
10 NESTED LOOPS OUTER 1 123 3 1
11 MERGE JOIN CARTESIAN 1 117 2 1
12 FIXED TABLE FULL X$KCCDI 1 39 0
13 BUFFER SORT 1 78 2 1
14 TABLE ACCESS FULL SCHEDULER$_JOB 1 78 2 1
15 TABLE ACCESS BY INDEX ROWID SCHEDULER$_PROGRAM 1 6 1 1
16 INDEX UNIQUE SCAN SCHEDULER$_PROGRAM_PK 1 � 0
17 BUFFER SORT 1 34 2 1
18 FIXED TABLE FULL X$KVIT 1 34 0
19 FIXED TABLE FULL X$KSUXSINST 1 26 0
20 BUFFER SORT 100 � 3 1
21 FIXED TABLE FULL X$QUIESCE 100 � 0
22 BUFFER SORT 100 � 3 1
23 FIXED TABLE FULL X$KCCDI2 100 � 0
24 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS 1 39 1 1
25 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK 1 � 0
26 FILTER � � �
27 HASH JOIN RIGHT OUTER 96 649 17 686 767 11 1
28 TABLE ACCESS FULL SCHEDULER$_PROGRAM 19 114 2 1
29 HASH JOIN 96 649 17 106 873 8 1
30 TABLE ACCESS FULL SCHEDULER$_JOB 10 780 2 1
31 MERGE JOIN CARTESIAN 10 000 990 000 4 1
32 MERGE JOIN CARTESIAN 100 9 900 0
33 MERGE JOIN CARTESIAN 1 99 0
34 MERGE JOIN CARTESIAN 1 65 0
35 FIXED TABLE FULL X$KCCDI 1 39 0
36 BUFFER SORT 1 26 0
37 FIXED TABLE FULL X$KSUXSINST 1 26 0
38 BUFFER SORT 1 34 0
39 FIXED TABLE FULL X$KVIT 1 34 0
40 BUFFER SORT 100 � 0
41 FIXED TABLE FULL X$KCCDI2 100 � 0
42 BUFFER SORT 100 � 4 1
43 FIXED TABLE FULL X$QUIESCE 100 � 0
44 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS 1 39 1 1
45 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK 1 � 0
46 FILTER � � �
47 MERGE JOIN CARTESIAN 1 259 3 1
48 MERGE JOIN CARTESIAN 1 259 3 1
49 NESTED LOOPS 1 225 3 1
50 NESTED LOOPS OUTER 1 199 3 1
51 NESTED LOOPS 1 187 2 1
52 VIEW 1 79 2 1
53 NESTED LOOPS OUTER 1 54 2 1
54 TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB 1 39 2 1
55 TABLE ACCESS BY INDEX ROWID SCHEDULER$_JOB 1 15 0
56 INDEX UNIQUE SCAN SCHEDULER$_JOB_PK 1 � 0
57 TABLE ACCESS BY INDEX ROWID SCHEDULER$_LIGHTWEIGHT_JOB 1 108 0
58 INDEX UNIQUE SCAN SCHEDULER$_LWJOB_PK 1 � 0
59 TABLE ACCESS BY INDEX ROWID SCHEDULER$_PROGRAM 1 12 1 1
60 INDEX UNIQUE SCAN SCHEDULER$_PROGRAM_PK 1 � 0
61 FIXED TABLE FULL X$KSUXSINST 1 26 0
62 BUFFER SORT 1 34 3 1
63 FIXED TABLE FULL X$KVIT 1 34 0
64 BUFFER SORT 100 � 3 1
65 FIXED TABLE FULL X$QUIESCE 100 � 0

Private and Confidential V11G


Database V11G Page 41 of 46

Id Operation Rows Bytes Cost Time


66 TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS 1 39 1 1
67 INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK 1 � 0
68 MERGE JOIN CARTESIAN 5 520 2 1
69 MERGE JOIN CARTESIAN 1 60 0
70 MERGE JOIN CARTESIAN 1 26 0
71 FIXED TABLE FULL X$KSUXSINST 1 26 0
72 BUFFER SORT 100 � 0
73 FIXED TABLE FULL X$QUIESCE 100 � 0
74 BUFFER SORT 1 34 0
75 FIXED TABLE FULL X$KVIT 1 34 0
76 BUFFER SORT 5 220 2 1
77 TABLE ACCESS FULL SCHEDULER$_WINDOW 5 220 2 1
78 MERGE JOIN CARTESIAN 5 520 2 1
79 MERGE JOIN CARTESIAN 1 60 0
80 MERGE JOIN CARTESIAN 1 26 0
81 FIXED TABLE FULL X$KSUXSINST 1 26 0
82 BUFFER SORT 100 � 0
83 FIXED TABLE FULL X$QUIESCE 100 � 0
84 BUFFER SORT 1 34 0
85 FIXED TABLE FULL X$KVIT 1 34 0
86 BUFFER SORT 5 220 2 1
87 TABLE ACCESS FULL SCHEDULER$_WINDOW 5 220 2 1
88 MERGE JOIN CARTESIAN 1 140 192 3
89 NESTED LOOPS � � �
90 NESTED LOOPS 1 140 192 3
91 HASH JOIN 1 110 190 3
92 MERGE JOIN CARTESIAN 1 94 188 3
93 MERGE JOIN CARTESIAN 1 60 0
94 FIXED TABLE FULL X$KSUXSINST 1 26 0
95 BUFFER SORT 1 34 0
96 FIXED TABLE FULL X$KVIT 1 34 0
97 BUFFER SORT 6 204 188 3
98 INDEX FAST FULL SCAN I_OBJ2 6 204 188 3
99 TABLE ACCESS FULL SCHEDULER$_GLOBAL_ATTRIBUTE 1 16 2 1
100 INDEX RANGE SCAN I_OBJ1 1 � 1 1
101 TABLE ACCESS BY INDEX ROWID OBJ$ 1 30 2 1
102 BUFFER SORT 100 � 190 3
103 FIXED TABLE FULL X$QUIESCE 100 � 0
104 MERGE JOIN CARTESIAN 1 140 192 3
105 NESTED LOOPS � � �
106 NESTED LOOPS 1 140 192 3
107 HASH JOIN 1 110 190 3
108 MERGE JOIN CARTESIAN 1 94 188 3
109 MERGE JOIN CARTESIAN 1 60 0
110 FIXED TABLE FULL X$KSUXSINST 1 26 0
111 BUFFER SORT 1 34 0
112 FIXED TABLE FULL X$KVIT 1 34 0
113 BUFFER SORT 6 204 188 3
114 INDEX FAST FULL SCAN I_OBJ2 6 204 188 3
115 TABLE ACCESS FULL SCHEDULER$_GLOBAL_ATTRIBUTE 1 16 2 1
116 INDEX RANGE SCAN I_OBJ1 1 � 1 1
117 TABLE ACCESS BY INDEX ROWID OBJ$ 1 30 2 1
118 BUFFER SORT 100 � 190 3
119 FIXED TABLE FULL X$QUIESCE 100 � 0
bunssq950snhf 2694099131
Id Operation Rows Bytes Cost Time
0 INSERT STATEMENT � � 1
1 LOAD TABLE CONVENTIONAL � � �
2 VIEW GV$SGA_TARGET_ADVICE 1 65 1 1
3 SORT ORDER BY 1 117 1 1
4 FIXED TABLE FULL X$KMGSBSADV 1 117 0
cxt1cbqk1jrkp 3121887881
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 20
1 SORT AGGREGATE 1 12 �
2 SORT AGGREGATE 1 30 �
3 VIEW 1 30 2 1
4 TABLE ACCESS FULL SYS_TEMP_0FD9D6610_37B0F6A8 1 38 2 1

Private and Confidential V11G


Database V11G Page 42 of 46

Id Operation Rows Bytes Cost Time


5 SORT AGGREGATE 1 30 �
6 VIEW 1 30 2 1
7 TABLE ACCESS FULL SYS_TEMP_0FD9D6610_37B0F6A8 1 38 2 1
8 VIEW 1 12 20 1
9 TEMP TABLE TRANSFORMATION � � �
10 LOAD AS SELECT � � �
11 NESTED LOOPS � � �
12 NESTED LOOPS 1 150 9 1
13 NESTED LOOPS 1 120 7 1
14 HASH JOIN 1 112 6 1
15 NESTED LOOPS � � �
16 NESTED LOOPS 1 52 5 1
17 NESTED LOOPS 1 18 3 1
18 TABLE ACCESS FULL SCHEDULER$_WINDOW_GROUP 1 8 2 1
19 INDEX RANGE SCAN SCHEDULER$_WINGRP_MEMBER_UQ 7 70 1 1
20 INDEX RANGE SCAN I_OBJ1 1 � 1 1
21 TABLE ACCESS BY INDEX ROWID OBJ$ 1 34 2 1
22 FIXED TABLE FULL X$KETCL 1 60 0
23 TABLE ACCESS BY INDEX ROWID KET$_CLIENT_CONFIG 1 8 1 1
24 INDEX UNIQUE SCAN KET$_CL_PK 1 � 0
25 INDEX RANGE SCAN I_OBJ1 1 � 1 1
26 TABLE ACCESS BY INDEX ROWID OBJ$ 1 30 2 1
27 NESTED LOOPS � � �
28 NESTED LOOPS 1 121 11 1
29 NESTED LOOPS 1 91 9 1
30 NESTED LOOPS 1 57 7 1
31 MERGE JOIN CARTESIAN 1 47 6 1
32 NESTED LOOPS � � �
33 NESTED LOOPS 1 39 4 1
34 TABLE ACCESS FULL SCHEDULER$_WINDOW 1 9 2 1
35 INDEX RANGE SCAN I_OBJ1 1 � 1 1
36 TABLE ACCESS BY INDEX ROWID OBJ$ 1 30 2 1
37 BUFFER SORT 1 8 4 1
38 TABLE ACCESS FULL SCHEDULER$_WINDOW_GROUP 1 8 2 1
39 INDEX RANGE SCAN SCHEDULER$_WINGRP_MEMBER_UQ 7 70 1 1
40 TABLE ACCESS BY INDEX ROWID OBJ$ 1 34 2 1
41 INDEX RANGE SCAN I_OBJ1 1 � 1 1
42 INDEX RANGE SCAN I_OBJ1 1 � 1 1
43 TABLE ACCESS BY INDEX ROWID OBJ$ 1 30 2 1
0yup10cbf4spf 3001928536
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 17
1 SORT AGGREGATE 1 114 �
2 NESTED LOOPS ANTI 1 114 17 1
3 NESTED LOOPS 1 114 17 1
4 NESTED LOOPS 1 83 10 1
5 NESTED LOOPS 1 48 8 1
6 VIEW 1 28 7 1
7 WINDOW SORT PUSHED RANK 1 114 7 1
8 NESTED LOOPS � � �
9 NESTED LOOPS 1 114 6 1
10 NESTED LOOPS 1 80 4 1
11 VIEW 1 56 2 1
12 SORT GROUP BY 1 21 2 1
13 TABLE ACCESS BY INDEX ROWID WRI$_ADV_EXECUTIONS 1 21 2 1
14 INDEX RANGE SCAN WRI$_ADV_EXECS_PK 1 � 1 1
15 TABLE ACCESS BY INDEX ROWID WRI$_ADV_EXECUTIONS 1 24 2 1
16 INDEX RANGE SCAN WRI$_ADV_EXECS_IDX_03 1 � 1 1
17 INDEX RANGE SCAN WRI$_ADV_OBJECTS_IDX_01 1 � 1 1
18 TABLE ACCESS BY INDEX ROWID WRI$_ADV_OBJECTS 2 68 2 1
19 INDEX RANGE SCAN WRI$_ADV_FINDINGS_IDX_02 1 20 1 1
20 TABLE ACCESS BY INDEX ROWID WRI$_ADV_RECOMMENDATIONS 1 35 2 1
21 INDEX RANGE SCAN WRI$_ADV_RECS_IDX_02 1 � 1 1
22 TABLE ACCESS BY INDEX ROWID WRI$_ADV_RATIONALE 1 31 7 1
23 INDEX RANGE SCAN WRI$_ADV_RATIONALE_PK 115 � 1 1
24 VIEW PUSHED PREDICATE VW_SQ_1 1 � 0
25 NESTED LOOPS 1 181 0
26 MERGE JOIN CARTESIAN 1 138 0

Private and Confidential V11G


Database V11G Page 43 of 46

Id Operation Rows Bytes Cost Time


27 MERGE JOIN CARTESIAN 1 125 0
28 INDEX FULL SCAN I_SQL$TEXT_PKEY 1 13 0
29 BUFFER SORT 1 112 0
30 TABLE ACCESS BY INDEX ROWID SQLOBJ$AUXDATA 1 112 0
31 INDEX RANGE SCAN I_SQLOBJ$AUXDATA_TASK 1 � 0
32 BUFFER SORT 1 13 0
33 INDEX FULL SCAN I_SQL$_PKEY 1 13 0
34 INDEX RANGE SCAN SQLOBJ$_PKEY 1 43 0
04td0fvwdyqwt 3134853868
Id Operation Rows Bytes Cost Time
0 INSERT STATEMENT � � 2
1 LOAD TABLE CONVENTIONAL � � �
2 COUNT STOPKEY � � �
3 VIEW 1 830 2 1
4 SORT ORDER BY STOPKEY 1 843 2 1
5 HASH JOIN 1 843 1 1
6 FIXED TABLE FULL X$PERSISTENT_SUBSCRIBERS 1 783 0
7 FIXED TABLE FULL X$PERSISTENT_QUEUES 1 60 0
3jbwa65aqmkvm 2131368964
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 387
1 HASH JOIN 14 467 1 403 299 387 5
2 HASH JOIN 4 174 333 920 209 3
3 TABLE ACCESS FULL ORDERS 4 174 125 220 104 2
4 TABLE ACCESS FULL CUSTOMERS 39 315 1 965 750 104 2
5 TABLE ACCESS FULL ORDER_ITEMS 186 384 3 168 528 175 3
5bvk329b8qz3p 3791306298
Id Operation Rows Bytes Cost Time
0 DELETE STATEMENT � � 16
1 DELETE WRH$_EVENT_HISTOGRAM � � �
2 FILTER � � �
3 HASH JOIN RIGHT ANTI 10 768 613 776 16 1
4 TABLE ACCESS BY INDEX ROWID WRM$_BASELINE 1 33 2 1
5 INDEX RANGE SCAN WRM$_BASELINE_PK 1 � 1 1
6 PARTITION RANGE ITERATOR 10 768 258 432 14 1
7 TABLE ACCESS FULL WRH$_EVENT_HISTOGRAM 10 768 258 432 14 1
5d6v1u6v0awdx 1874866346
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 8
1 NESTED LOOPS OUTER 1 119 2 1
2 TABLE ACCESS BY INDEX ROWID WRI$_ADV_ADDM_TASKS 1 11 1 1
3 INDEX UNIQUE SCAN SYS_C001810 1 � 0
4 TABLE ACCESS BY INDEX ROWID WRH$_SQLTEXT 1 108 1 1
5 INDEX UNIQUE SCAN WRH$_SQLTEXT_PK 1 � 0
6 NESTED LOOPS 1 269 8 1
7 NESTED LOOPS 1 222 8 1
8 NESTED LOOPS 1 198 5 1
9 NESTED LOOPS 1 71 3 1
10 NESTED LOOPS 1 38 2 1
11 TABLE ACCESS BY INDEX ROWID WRI$_ADV_TASKS 1 10 1 1
12 INDEX UNIQUE SCAN WRI$_ADV_TASKS_PK 1 � 0
13 TABLE ACCESS BY INDEX ROWID WRI$_ADV_PARAMETERS 1 28 1 1
14 INDEX UNIQUE SCAN WRI$_ADV_PARAMETERS_PK 1 � 0
15 TABLE ACCESS BY INDEX ROWID WRI$_ADV_TASKS 1 33 1 1
16 INDEX UNIQUE SCAN WRI$_ADV_TASKS_PK 1 � 0
17 TABLE ACCESS BY INDEX ROWID WRI$_ADV_OBJECTS 1 127 2 1
18 INDEX RANGE SCAN WRI$_ADV_OBJECTS_PK 1 � 1 1
19 TABLE ACCESS FULL WRI$_ADV_DEF_PARAMETERS 1 24 3 1
20 FIXED TABLE FIXED INDEX X$KEAOBJT (ind:2) 17 799 0
99sq41jpv7dv6 3552985846
Id Operation Rows Bytes Cost Time
0 SELECT STATEMENT � � 2
1 COUNT STOPKEY � � �
2 TABLE ACCESS FULL AQ_MNTR_MSGS_QUEUE 1 442 2 1

Private and Confidential V11G


Database V11G Page 44 of 46

Private and Confidential V11G


Database V11G Page 45 of 46

Options report
Java Virtual Machine

Xml DataBase

Parallel Query Option

Resource Manager

Streams

Private and Confidential V11G


Database V11G Page 46 of 46

Conclusion

Private and Confidential V11G