这篇文章介绍一下通过10046 10053事件抓取语句计划的具体方法

问:10046事件和10053事件有什么区别

答:10046事件只包含语句的进行过程,解析,取数据,进行。在这个过程的等待事件,cpu消耗,每一步的消耗时间

10053时间包括对优化器的trace

10046 10053事件中的level按照收集信息内容,可以分成4个级别:
Level 1: 等同于SQL_TRACE 的功能
Level 4: 在Level 1的基础上增加收集绑定变量的信息
Level 8: 在Level 1 的基础上增加等待事件的信息
Level 12:等同于Level 4+Level 8, 即同时收集绑定变量信息和等待事件信息。
 
对当前session 使用10046事件
1.alter session set events '10046 trace name context forever, level 12'; --启动10046事件
2.执行相关事务
3.alter session set events ‘10046 trace name context off’; -- 关闭10046事件

对当前实例使用10046事件
1.alter session set events '10046 trace name context forever, level 12'; --启动10046事件
2.执行相关事务
3.alter session set events ‘10046 trace name context off’; -- 关闭10046事件

对当前session 使用10053事件
1.alter session set events '10053 trace name context forever, level 12'; --启动10053事件
2.执行相关事务
3.alter session set events ‘10053 trace name context off’; -- 关闭10053事件

对当前实例使用10053事件
1.alter session set events '10053 trace name context forever, level 12'; --启动10053事件
2.执行相关事务
3.alter session set events ‘10053 trace name context off’; -- 关闭10053事件

查看trace路径

set linesize 160
column "trace file name" for a120
select pr.value || '/' || i.instance_name || '_ora_' || to_char(ps.spid) ||
'.trc' as "trace file name"
from gv$session s, gv$process ps, gv$diag_info pr, v$instance i
where s.paddr = ps.addr
and s.inst_id=pr.inst_id
and s.inst_id=1
and pr.name = 'Diag Trace'
and s.sid = 120;

10046 trace和10053 trace的区别

开启10046 trace

SQL> alter session set events '10046 trace name context forever, level 12';Session altered.

进行测试语句

SQL> select object_id from xl.test;OBJECT_ID
----------204628152932541544026

关闭10046trace

SQL> alter session set events '10046 trace name context off';Session altered.

查看当前trace文件位置

SQL> set linesize 160
column "trace file name" for a120
SQL> SQL> select pr.value || '/' || i.instance_name || '_ora_' || to_char(ps.spid) ||
'.trc' as "trace file name"
from gv$session s, gv$process ps, gv$diag_info pr, v$instance i
where s.paddr = ps.addr
and s.inst_id=pr.inst_id
and s.inst_id=1
and pr.name = 'Diag Trace'
and s.sid = 1;  2    3    4    5    6    7    8trace file name
----------------------------------------------------------------------
/u01/app/oracle/diag/rdbms/orcl11g/orcl11g/trace/orcl11g_ora_7938.trc

10046 trace内容

=====================
PARSING IN CURSOR #1 len=29 dep=0 uid=0 oct=3 lid=0 tim=1667319152802403 hv=2882163949 ad='89714cc0' sqlid='9af0k1ypwnp7d'
select object_id from xl.test
END OF STMT
PARSE #1:c=1000,e=686,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=1357081020,tim=1667319152802402
EXEC #1:c=0,e=16,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1357081020,tim=1667319152802499
WAIT #1: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152802513
WAIT #1: nam='Disk file operations I/O' ela= 40 FileOperation=2 fileno=4 filetype=2 obj#=-1 tim=1667319152802590
FETCH #1:c=0,e=92,p=0,cr=3,cu=0,mis=0,r=1,dep=0,og=1,plh=1357081020,tim=1667319152802618
WAIT #1: nam='SQL*Net message from client' ela= 133 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152802772
WAIT #1: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152802795
FETCH #1:c=0,e=13,p=0,cr=1,cu=0,mis=0,r=15,dep=0,og=1,plh=1357081020,tim=1667319152802803
WAIT #1: nam='SQL*Net message from client' ela= 3967 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152806780
WAIT #1: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152806843
FETCH #1:c=0,e=23,p=0,cr=1,cu=0,mis=0,r=15,dep=0,og=1,plh=1357081020,tim=1667319152806852
WAIT #1: nam='SQL*Net message from client' ela= 3850 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152810722
WAIT #1: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152810788
FETCH #1:c=0,e=24,p=0,cr=1,cu=0,mis=0,r=15,dep=0,og=1,plh=1357081020,tim=1667319152810798
WAIT #1: nam='SQL*Net message from client' ela= 4080 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152814898
WAIT #1: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319152814954
FETCH #1:c=0,e=25,p=0,cr=1,cu=0,mis=0,r=3,dep=0,og=1,plh=1357081020,tim=1667319152814966
STAT #1 id=1 cnt=49 pid=0 pos=1 obj=73425 op='TABLE ACCESS FULL TEST (cr=7 pr=0 pw=0 time=0 us cost=3 size=147 card=49)'*** 2022-11-02 00:12:42.618
WAIT #1: nam='SQL*Net message from client' ela= 9803971 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1667319162618984
CLOSE #1:c=0,e=13,dep=0,type=0,tim=1667319162619090
=====================
PARSING IN CURSOR #3 len=55 dep=0 uid=0 oct=42 lid=0 tim=1667319162619120 hv=2217940283 ad='0' sqlid='06nvwn223659v'
alter session set events '10046 trace name context off'
END OF STMT
PARSE #3:c=0,e=7,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=0,tim=1667319162619119
EXEC #3:c=0,e=287,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=0,tim=1667319162619639

10053 trace中的计划部分

SQL> alter session set events '10053 trace name context forever, level 12';Session altered.

进行语句

SQL> select object_id from xl.test;OBJECT_ID
----------204628152932541544026

关闭10053 trace

SQL> alter session set events '10053 trace name context off';Session altered.

10053 trace内容

*******************************************
Peeked values of the binds in SQL statement
*******************************************Final query after transformations:******* UNPARSED QUERY IS *******
SELECT "TEST"."OBJECT_ID" "OBJECT_ID" FROM "XL"."TEST" "TEST"
kkoqbc: optimizing query block SEL$1 (#0):call(in-use=1008, alloc=16344), compile(in-use=54256, alloc=55296), execution(in-use=2432, alloc=4032)kkoqbc-subheap (create addr=0x2b3e6b12fb08)
****************
QUERY BLOCK TEXT
****************
select object_id from xl.test
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (optimizer): qb_name=SEL$1 nbfros=1 flg=0fro(0): flg=0 objn=73425 hint_alias="TEST"@"SEL$1"-----------------------------
SYSTEM STATISTICS INFORMATION
-----------------------------Using NOWORKLOAD StatsCPUSPEEDNW: 2657 millions instructions/sec (default is 100)IOTFRSPEED: 4096 bytes per millisecond (default is 4096)IOSEEKTIM: 10 milliseconds (default is 10)MBRC: -1 blocks (default is 8)***************************************
BASE STATISTICAL INFORMATION
***********************
Table Stats::Table: TEST  Alias: TEST#Rows: 49  #Blks:  4  AvgRowLen:  75.00
Access path analysis for TEST
***************************************
SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for TEST[TEST] Table: TEST  Alias: TESTCard: Original: 49.000000  Rounded: 49  Computed: 49.00  Non Adjusted: 49.00Access Path: TableScanCost:  3.00  Resp: 3.00  Degree: 0Cost_io: 3.00  Cost_cpu: 38776Resp_io: 3.00  Resp_cpu: 38776Best:: AccessPath: TableScanCost: 3.00  Degree: 1  Resp: 3.00  Card: 49.00  Bytes: 0***************************************OPTIMIZER STATISTICS AND COMPUTATIONS
***************************************
GENERAL PLANS
***************************************
Considering cardinality-based initial join order.
Permutations for Starting Table :0
Join order[1]:  TEST[TEST]#0
***********************
Best so far:  Table#: 0  cost: 3.0012  card: 49.0000  bytes: 147
***********************
(newjo-stop-1) k:0, spcnt:0, perm:1, maxperm:2000*********************************
Number of join permutations tried: 1
*********************************
Trying or-Expansion on query block SEL$1 (#0)
Transfer Optimizer annotations for query block SEL$1 (#0)
Final cost for query block SEL$1 (#0) - All Rows Plan:Best join order: 1Cost: 3.0012  Degree: 1  Card: 49.0000  Bytes: 147Resc: 3.0012  Resc_io: 3.0000  Resc_cpu: 38776Resp: 3.0012  Resp_io: 3.0000  Resc_cpu: 38776
kkoqbc-subheap (delete addr=0x2b3e6b12fb08, in-use=11112, alloc=14424)
kkoqbc-end::call(in-use=7104, alloc=32712), compile(in-use=54840, alloc=55296), execution(in-use=2432, alloc=4032)kkoqbc: finish optimizing query block SEL$1 (#0)
apadrv-end:call(in-use=7104, alloc=32712), compile(in-use=55752, alloc=59440), execution(in-use=2432, alloc=4032)Starting SQL statement dumpuser_id=0 user_name=SYS module=sqlplus@primary (TNS V1-V3) action=
sql_id=9af0k1ypwnp7d plan_hash_value=1357081020 problem_type=3
----- Current SQL Statement for this session (sql_id=9af0k1ypwnp7d) -----
select object_id from xl.test
sql_text_length=30
sql=select object_id from xl.test
----- Explain Plan Dump -----
----- Plan Table -----============
Plan Table
============
-------------------------------------+-----------------------------------+
| Id  | Operation          | Name    | Rows  | Bytes | Cost  | Time      |
-------------------------------------+-----------------------------------+
| 0   | SELECT STATEMENT   |         |       |       |     3 |           |
| 1   |  TABLE ACCESS FULL | TEST    |    49 |   147 |     3 |  00:00:01 |
-------------------------------------+-----------------------------------+
Predicate Information:
----------------------Content of other_xml column
===========================db_version     : 11.2.0.1parse_schema   : SYSplan_hash      : 1357081020plan_hash_2    : 2545673168Outline Data:/*+BEGIN_OUTLINE_DATAIGNORE_OPTIM_EMBEDDED_HINTSOPTIMIZER_FEATURES_ENABLE('11.2.0.1')DB_VERSION('11.2.0.1')ALL_ROWSOUTLINE_LEAF(@"SEL$1")FULL(@"SEL$1" "TEST"@"SEL$1")END_OUTLINE_DATA*/

optimizer state dump

Optimizer state dump:
Compilation Environment Dump
optimizer_mode_hinted               = false
optimizer_features_hinted           = 0.0.0
parallel_execution_enabled          = true
parallel_query_forced_dop           = 0
parallel_dml_forced_dop             = 0
parallel_ddl_forced_degree          = 0
parallel_ddl_forced_instances       = 0
_query_rewrite_fudge                = 90
optimizer_features_enable           = 11.2.0.1
_optimizer_search_limit             = 5
cpu_count                           = 1
active_instance_count               = 1
parallel_threads_per_cpu            = 2
hash_area_size                      = 131072
bitmap_merge_area_size              = 1048576
sort_area_size                      = 65536
sort_area_retained_size             = 0
_sort_elimination_cost_ratio        = 0
_optimizer_block_size               = 8192
_sort_multiblock_read_count         = 2
_hash_multiblock_io_count           = 0
_db_file_optimizer_read_count       = 8
_optimizer_max_permutations         = 2000
pga_aggregate_target                = 307200 KB
_pga_max_size                       = 204800 KB
_query_rewrite_maxdisjunct          = 257
_smm_auto_min_io_size               = 56 KB
_smm_auto_max_io_size               = 248 KB
_smm_min_size                       = 307 KB
_smm_max_size                       = 61440 KB
_smm_px_max_size                    = 153600 KB
_cpu_to_io                          = 0
_optimizer_undo_cost_change         = 11.2.0.1
parallel_query_mode                 = enabled
parallel_dml_mode                   = disabled
parallel_ddl_mode                   = enabled
optimizer_mode                      = all_rows
sqlstat_enabled                     = false
_optimizer_percent_parallel         = 101
_always_anti_join                   = choose
_always_semi_join                   = choose
_optimizer_mode_force               = true
_partition_view_enabled             = true
_always_star_transformation         = false
_query_rewrite_or_error             = false
_hash_join_enabled                  = true
cursor_sharing                      = exact
_b_tree_bitmap_plans                = true
star_transformation_enabled         = false
_optimizer_cost_model               = choose
_new_sort_cost_estimate             = true
_complex_view_merging               = true
_unnest_subquery                    = true
_eliminate_common_subexpr           = true
_pred_move_around                   = true
_convert_set_to_join                = false
_push_join_predicate                = true
_push_join_union_view               = true
_fast_full_scan_enabled             = true
_optim_enhance_nnull_detection      = true
_parallel_broadcast_enabled         = true
_px_broadcast_fudge_factor          = 100
_ordered_nested_loop                = true
_no_or_expansion                    = false
optimizer_index_cost_adj            = 100
optimizer_index_caching             = 0
_system_index_caching               = 0
_disable_datalayer_sampling         = false
query_rewrite_enabled               = true
query_rewrite_integrity             = enforced
_query_cost_rewrite                 = true
_query_rewrite_2                    = true
_query_rewrite_1                    = true
_query_rewrite_expression           = true
_query_rewrite_jgmigrate            = true
_query_rewrite_fpc                  = true
_query_rewrite_drj                  = true
_full_pwise_join_enabled            = true
_partial_pwise_join_enabled         = true
_left_nested_loops_random           = true
_improved_row_length_enabled        = true
_index_join_enabled                 = true
_enable_type_dep_selectivity        = true
_improved_outerjoin_card            = true
_optimizer_adjust_for_nulls         = true
_optimizer_degree                   = 0
_use_column_stats_for_function      = true
_subquery_pruning_enabled           = true
_subquery_pruning_mv_enabled        = false
_or_expand_nvl_predicate            = true
_like_with_bind_as_equality         = false
_table_scan_cost_plus_one           = true
_cost_equality_semi_join            = true
_default_non_equality_sel_check     = true
_new_initial_join_orders            = true
_oneside_colstat_for_equijoins      = true
_optim_peek_user_binds              = true
_minimal_stats_aggregation          = true
_force_temptables_for_gsets         = false
workarea_size_policy                = auto
_smm_auto_cost_enabled              = true
_gs_anti_semi_join_allowed          = true
_optim_new_default_join_sel         = true
optimizer_dynamic_sampling          = 2
_pre_rewrite_push_pred              = true
_optimizer_new_join_card_computation = true
_union_rewrite_for_gs               = yes_gset_mvs
_generalized_pruning_enabled        = true
_optim_adjust_for_part_skews        = true
_force_datefold_trunc               = false
statistics_level                    = typical
_optimizer_system_stats_usage       = true
skip_unusable_indexes               = true
_remove_aggr_subquery               = true
_optimizer_push_down_distinct       = 0
_dml_monitoring_enabled             = true
_optimizer_undo_changes             = false
_predicate_elimination_enabled      = true
_nested_loop_fudge                  = 100
_project_view_columns               = true
_local_communication_costing_enabled = true
_local_communication_ratio          = 50
_query_rewrite_vop_cleanup          = true
_slave_mapping_enabled              = true
_optimizer_cost_based_transformation = linear
_optimizer_mjc_enabled              = true
_right_outer_hash_enable            = true
_spr_push_pred_refspr               = true
_optimizer_cache_stats              = false
_optimizer_cbqt_factor              = 50
_optimizer_squ_bottomup             = true
_fic_area_size                      = 131072
_optimizer_skip_scan_enabled        = true
_optimizer_cost_filter_pred         = false
_optimizer_sortmerge_join_enabled   = true
_optimizer_join_sel_sanity_check    = true
_mmv_query_rewrite_enabled          = true
_bt_mmv_query_rewrite_enabled       = true
_add_stale_mv_to_dependency_list    = true
_distinct_view_unnesting            = false
_optimizer_dim_subq_join_sel        = true
_optimizer_disable_strans_sanity_checks = 0
_optimizer_compute_index_stats      = true
_push_join_union_view2              = true
_optimizer_ignore_hints             = false
_optimizer_random_plan              = 0
_query_rewrite_setopgrw_enable      = true
_optimizer_correct_sq_selectivity   = true
_disable_function_based_index       = false
_optimizer_join_order_control       = 3
_optimizer_cartesian_enabled        = true
_optimizer_starplan_enabled         = true
_extended_pruning_enabled           = true
_optimizer_push_pred_cost_based     = true
_optimizer_null_aware_antijoin      = true
_optimizer_extend_jppd_view_types   = true
_sql_model_unfold_forloops          = run_time
_enable_dml_lock_escalation         = false
_bloom_filter_enabled               = true
_update_bji_ipdml_enabled           = 0
_optimizer_extended_cursor_sharing  = udo
_dm_max_shared_pool_pct             = 1
_optimizer_cost_hjsmj_multimatch    = true
_optimizer_transitivity_retain      = true
_px_pwg_enabled                     = true
optimizer_secure_view_merging       = true
_optimizer_join_elimination_enabled = true
flashback_table_rpi                 = non_fbt
_optimizer_cbqt_no_size_restriction = true
_optimizer_enhanced_filter_push     = true
_optimizer_filter_pred_pullup       = true
_rowsrc_trace_level                 = 0
_simple_view_merging                = true
_optimizer_rownum_pred_based_fkr    = true
_optimizer_better_inlist_costing    = all
_optimizer_self_induced_cache_cost  = false
_optimizer_min_cache_blocks         = 10
_optimizer_or_expansion             = depth
_optimizer_order_by_elimination_enabled = true
_optimizer_outer_to_anti_enabled    = true
_selfjoin_mv_duplicates             = true
_dimension_skip_null                = true
_force_rewrite_enable               = false
_optimizer_star_tran_in_with_clause = true
_optimizer_complex_pred_selectivity = true
_optimizer_connect_by_cost_based    = true
_gby_hash_aggregation_enabled       = true
_globalindex_pnum_filter_enabled    = true
_px_minus_intersect                 = true
_fix_control_key                    = 0
_force_slave_mapping_intra_part_loads = false
_force_tmp_segment_loads            = false
_query_mmvrewrite_maxpreds          = 10
_query_mmvrewrite_maxintervals      = 5
_query_mmvrewrite_maxinlists        = 5
_query_mmvrewrite_maxdmaps          = 10
_query_mmvrewrite_maxcmaps          = 20
_query_mmvrewrite_maxregperm        = 512
_query_mmvrewrite_maxmergedcmaps    = 50
_query_mmvrewrite_maxqryinlistvals  = 500
_disable_parallel_conventional_load = false
_trace_virtual_columns              = false
_replace_virtual_columns            = true
_virtual_column_overload_allowed    = true
_kdt_buffering                      = true
_first_k_rows_dynamic_proration     = true
_optimizer_sortmerge_join_inequality = true
_optimizer_aw_stats_enabled         = true
_bloom_pruning_enabled              = true
result_cache_mode                   = MANUAL
_px_ual_serial_input                = true
_optimizer_skip_scan_guess          = false
_enable_row_shipping                = true
_row_shipping_threshold             = 80
_row_shipping_explain               = false
transaction_isolation_level         = read_commited
_optimizer_distinct_elimination     = true
_optimizer_multi_level_push_pred    = true
_optimizer_group_by_placement       = true
_optimizer_rownum_bind_default      = 10
_enable_query_rewrite_on_remote_objs = true
_optimizer_extended_cursor_sharing_rel = simple
_optimizer_adaptive_cursor_sharing  = true
_direct_path_insert_features        = 0
_optimizer_improve_selectivity      = true
optimizer_use_pending_statistics    = false
_optimizer_enable_density_improvements = true
_optimizer_aw_join_push_enabled     = true
_optimizer_connect_by_combine_sw    = true
_enable_pmo_ctas                    = 0
_optimizer_native_full_outer_join   = force
_bloom_predicate_enabled            = true
_optimizer_enable_extended_stats    = true
_is_lock_table_for_ddl_wait_lock    = 0
_pivot_implementation_method        = choose
optimizer_capture_sql_plan_baselines = false
optimizer_use_sql_plan_baselines    = true
_optimizer_star_trans_min_cost      = 0
_optimizer_star_trans_min_ratio     = 0
_with_subquery                      = OPTIMIZER
_optimizer_fkr_index_cost_bias      = 10
_optimizer_use_subheap              = true
parallel_degree_policy              = manual
parallel_degree                     = 0
parallel_min_time_threshold         = 10
_parallel_time_unit                 = 10
_optimizer_or_expansion_subheap     = true
_optimizer_free_transformation_heap = true
_optimizer_reuse_cost_annotations   = true
_result_cache_auto_size_threshold   = 100
_result_cache_auto_time_threshold   = 1000
_optimizer_nested_rollup_for_gset   = 100
_nlj_batching_enabled               = 1
parallel_query_default_dop          = 0
is_recur_flags                      = 0
optimizer_use_invisible_indexes     = false
flashback_data_archive_internal_cursor = 0
_optimizer_extended_stats_usage_control = 224
_parallel_syspls_obey_force         = true
cell_offload_processing             = true
_rdbms_internal_fplib_enabled       = false
db_file_multiblock_read_count       = 128
_bloom_folding_enabled              = true
_mv_generalized_oj_refresh_opt      = true
cell_offload_compaction             = ADAPTIVE
parallel_degree_limit               = 65535
parallel_force_local                = false
parallel_max_degree                 = 2
total_cpu_count                     = 1
cell_offload_plan_display           = AUTO
_optimizer_coalesce_subqueries      = true
_optimizer_fast_pred_transitivity   = true
_optimizer_fast_access_pred_analysis = true
_optimizer_unnest_disjunctive_subq  = true
_optimizer_unnest_corr_set_subq     = true
_optimizer_distinct_agg_transform   = true
_aggregation_optimization_settings  = 0
_optimizer_connect_by_elim_dups     = true
_optimizer_eliminate_filtering_join = true
_connect_by_use_union_all           = true
dst_upgrade_insert_conv             = true
advanced_queuing_internal_cursor    = 0
_optimizer_unnest_all_subqueries    = true
_bloom_predicate_pushdown_to_storage = true
_bloom_vector_elements              = 0
_bloom_pushing_max                  = 524288
parallel_autodop                    = 0
parallel_ddldml                     = 0
_parallel_cluster_cache_policy      = adaptive
_parallel_scalability               = 50
iot_internal_cursor                 = 0
_optimizer_instance_count           = 0
_optimizer_connect_by_cb_whr_only   = false
_suppress_scn_chk_for_cqn           = nosuppress_1466
_optimizer_join_factorization       = true
_optimizer_use_cbqt_star_transformation = true
_optimizer_table_expansion          = true
_and_pruning_enabled                = true
_deferred_constant_folding_mode     = DEFAULT
_optimizer_distinct_placement       = true
partition_pruning_internal_cursor   = 0
parallel_hinted                     = none
_sql_compatibility                  = 0
_optimizer_use_feedback             = true
_optimizer_try_st_before_jppd       = true
Bug Fix Control Environmentfix  3834770 = 1       fix  3746511 = enabledfix  4519016 = enabledfix  3118776 = enabledfix  4488689 = enabledfix  2194204 = disabledfix  2660592 = enabledfix  2320291 = enabledfix  2324795 = enabledfix  4308414 = enabledfix  3499674 = disabledfix  4569940 = enabledfix  4631959 = enabledfix  4519340 = enabledfix  4550003 = enabledfix  1403283 = enabledfix  4554846 = enabledfix  4602374 = enabledfix  4584065 = enabledfix  4545833 = enabledfix  4611850 = enabledfix  4663698 = enabledfix  4663804 = enabledfix  4666174 = enabledfix  4567767 = enabledfix  4556762 = 15      fix  4728348 = enabledfix  4708389 = enabledfix  4175830 = enabledfix  4752814 = enabledfix  4583239 = enabledfix  4386734 = enabledfix  4887636 = enabledfix  4483240 = enabledfix  4872602 = disabledfix  4711525 = enabledfix  4545802 = enabledfix  4605810 = enabledfix  4704779 = enabledfix  4900129 = enabledfix  4924149 = enabledfix  4663702 = enabledfix  4878299 = enabledfix  4658342 = enabledfix  4881533 = enabledfix  4676955 = enabledfix  4273361 = enabledfix  4967068 = enabledfix  4969880 = disabledfix  5005866 = enabledfix  5015557 = enabledfix  4705343 = enabledfix  4904838 = enabledfix  4716096 = enabledfix  4483286 = disabledfix  4722900 = enabledfix  4615392 = enabledfix  5096560 = enabledfix  5029464 = enabledfix  4134994 = enabledfix  4904890 = enabledfix  5104624 = enabledfix  5014836 = enabledfix  4768040 = enabledfix  4600710 = enabledfix  5129233 = enabledfix  4595987 = enabledfix  4908162 = enabledfix  5139520 = enabledfix  5084239 = enabledfix  5143477 = disabledfix  2663857 = enabledfix  4717546 = enabledfix  5240264 = disabledfix  5099909 = enabledfix  5240607 = enabledfix  5195882 = enabledfix  5220356 = enabledfix  5263572 = enabledfix  5385629 = enabledfix  5302124 = enabledfix  5391942 = enabledfix  5384335 = enabledfix  5482831 = enabledfix  4158812 = enabledfix  5387148 = enabledfix  5383891 = enabledfix  5466973 = enabledfix  5396162 = enabledfix  5394888 = enabledfix  5395291 = enabledfix  5236908 = enabledfix  5509293 = enabledfix  5449488 = enabledfix  5567933 = enabledfix  5570494 = enabledfix  5288623 = enabledfix  5505995 = enabledfix  5505157 = enabledfix  5112460 = enabledfix  5554865 = enabledfix  5112260 = enabledfix  5112352 = enabledfix  5547058 = enabledfix  5618040 = enabledfix  5585313 = enabledfix  5547895 = enabledfix  5634346 = enabledfix  5620485 = enabledfix  5483301 = enabledfix  5657044 = enabledfix  5694984 = enabledfix  5868490 = enabledfix  5650477 = enabledfix  5611962 = enabledfix  4279274 = enabledfix  5741121 = enabledfix  5714944 = enabledfix  5391505 = enabledfix  5762598 = enabledfix  5578791 = enabledfix  5259048 = enabledfix  5882954 = enabledfix  2492766 = enabledfix  5707608 = enabledfix  5891471 = enabledfix  5884780 = enabledfix  5680702 = enabledfix  5371452 = enabledfix  5838613 = enabledfix  5949981 = enabledfix  5624216 = enabledfix  5741044 = enabledfix  5976822 = enabledfix  6006457 = enabledfix  5872956 = enabledfix  5923644 = enabledfix  5943234 = enabledfix  5844495 = enabledfix  4168080 = enabledfix  6020579 = enabledfix  5842686 = disabledfix  5996801 = enabledfix  5593639 = enabledfix  6133948 = enabledfix  3151991 = enabledfix  6146906 = enabledfix  6239909 = enabledfix  6267621 = enabledfix  5909305 = enabledfix  6279918 = enabledfix  6141818 = enabledfix  6151963 = enabledfix  6251917 = enabledfix  6282093 = enabledfix  6119510 = enabledfix  6119382 = enabledfix  3801750 = enabledfix  5705630 = disabledfix  5944076 = enabledfix  5406763 = enabledfix  6070954 = enabledfix  6282944 = enabledfix  6138746 = enabledfix  6082745 = enabledfix  3426050 = enabledfix   599680 = enabledfix  6062266 = enabledfix  6087237 = enabledfix  6122894 = enabledfix  6377505 = enabledfix  5893768 = enabledfix  6163564 = enabledfix  6073325 = enabledfix  6188881 = enabledfix  6007259 = enabledfix  6239971 = enabledfix  5284200 = disabledfix  6042205 = enabledfix  6051211 = enabledfix  6434668 = enabledfix  6438752 = enabledfix  5936366 = enabledfix  6439032 = enabledfix  6438892 = enabledfix  6006300 = enabledfix  5947231 = enabledfix  5416118 = 1       fix  6365442 = 1       fix  6239039 = enabledfix  6502845 = enabledfix  6913094 = enabledfix  6029469 = enabledfix  5919513 = enabledfix  6057611 = enabledfix  6469667 = enabledfix  6608941 = disabledfix  6368066 = enabledfix  6329318 = enabledfix  6656356 = enabledfix  4507997 = enabledfix  6671155 = enabledfix  6694548 = enabledfix  6688200 = enabledfix  6612471 = enabledfix  6708183 = disabledfix  6326934 = enabledfix  6520717 = disabledfix  6714199 = enabledfix  6681545 = enabledfix  6748058 = enabledfix  6167716 = enabledfix  6674254 = enabledfix  6468287 = enabledfix  6503543 = enabledfix  6808773 = disabledfix  6766962 = enabledfix  6120483 = enabledfix  6670551 = enabledfix  6771838 = enabledfix  6626018 = disabledfix  6530596 = enabledfix  6778642 = enabledfix  6699059 = enabledfix  6376551 = enabledfix  6429113 = enabledfix  6782437 = enabledfix  6776808 = enabledfix  6765823 = enabledfix  6768660 = enabledfix  6782665 = enabledfix  6610822 = enabledfix  6514189 = enabledfix  6818410 = enabledfix  6827696 = enabledfix  6773613 = enabledfix  5902962 = enabledfix  6956212 = enabledfix  3056297 = enabledfix  6440977 = disabledfix  6972291 = disabledfix  6904146 = enabledfix  6221403 = enabledfix  5475051 = enabledfix  6845871 = enabledfix  5468809 = enabledfix  6917633 = enabledfix  4444536 = disabledfix  6955210 = enabledfix  6994194 = enabledfix  6399597 = disabledfix  6951776 = enabledfix  5648287 = 3       fix  6987082 = disabledfix  7132036 = enabledfix  6980350 = enabledfix  5199213 = enabledfix  7138405 = enabledfix  7148689 = enabledfix  6820988 = enabledfix  7032684 = enabledfix  6617866 = enabledfix  7155968 = enabledfix  7127980 = enabledfix  6982954 = enabledfix  7241819 = enabledfix  6897034 = enabledfix  7236148 = enabledfix  7298570 = enabledfix  7249095 = enabledfix  7314499 = enabledfix  7324224 = enabledfix  7289023 = enabledfix  7237571 = enabledfix  7116357 = enabledfix  7345484 = enabledfix  7375179 = enabledfix  6430500 = disabledfix  5897486 = enabledfix  6774209 = enabledfix  7306637 = enabledfix  6451322 = enabledfix  7208131 = enabledfix  7388652 = enabledfix  7127530 = enabledfix  6751206 = enabledfix  6669103 = enabledfix  7430474 = enabledfix  6990305 = enabledfix  7043307 = enabledfix  6921505 = enabledfix  7388457 = enabledfix  3120429 = enabledfix  7452823 = disabledfix  6838105 = enabledfix  6769711 = enabledfix  7170213 = enabledfix  6528872 = enabledfix  7295298 = enabledfix  5922070 = enabledfix  7259468 = enabledfix  6418552 = enabledfix  4619997 = enabledfix  7524366 = enabledfix  6942476 = enabledfix  6418771 = enabledfix  7375077 = enabledfix  5400639 = enabledfix  4570921 = enabledfix  7426911 = enabledfix  5099019 = disabledfix  7528216 = enabledfix  7521266 = enabledfix  7385140 = enabledfix  7576516 = enabledfix  7573526 = enabledfix  7576476 = enabledfix  7165898 = enabledfix  7263214 = enabledfix  3320140 = enabledfix  7555510 = enabledfix  7613118 = enabledfix  7597059 = enabledfix  7558911 = enabledfix  5520732 = enabledfix  7679490 = disabledfix  7449971 = enabledfix  3628118 = enabledfix  4370840 = enabledfix  7281191 = enabledfix  7519687 = enabledfix  5029592 = 3       fix  6012093 = 1       fix  6053861 = disabledfix  6941515 = disabledfix  7696414 = enabledfix  7272039 = enabledfix  7834811 = enabledfix  7640597 = enabledfix  7341616 = enabledfix  7168184 = enabledfix   399198 = enabledfix  7831070 = enabledfix  7676897 = disabledfix  7414637 = enabledfix  7585456 = enabledfix  8202421 = enabledfix  7658097 = disabledfix  8251486 = enabledfix  7132684 = enabledfix  7512227 = enabledfix  6972987 = enabledfix  7199035 = enabledfix  8243446 = enabledfix  7650462 = enabledfix  6720701 = enabledfix  7592673 = enabledfix  7718694 = enabledfix  7534027 = enabledfix  7708267 = enabledfix  5716785 = enabledfix  7356191 = enabledfix  7679161 = enabledfix  7597159 = enabledfix  7499258 = enabledfix  8328363 = enabledfix  7452863 = enabledfix  8284930 = enabledfix  7298626 = enabledfix  7657126 = enabledfix  8371884 = enabledfix  8318020 = enabledfix  8255423 = enabledfix  7135745 = enabledfix  8356253 = enabledfix  7534257 = enabledfix  8323407 = enabledfix  7539815 = enabledfix  8289316 = enabledfix  8447850 = enabledfix  7675944 = enabledfix  8355120 = enabledfix  7176746 = enabledfix  8442891 = enabledfix  8373261 = enabledfix  7679164 = enabledfix  7670533 = enabledfix  8408665 = enabledfix  8491399 = enabledfix  8348392 = enabledfix  8348585 = enabledfix  8508056 = enabledfix  8335178 = enabledfix  8515269 = enabledfix  8247017 = enabledfix  7325597 = enabledfix  8531490 = enabledfix  6163600 = enabledfix  8589278 = disabledfix  8557992 = enabledfix  7556098 = enabledfix  8580883 = enabledfix  5892599 = disabledfix  8609714 = enabledfix  8514561 = enabledfix  8619631 = disabledQuery Block Registry:
SEL$1 0x6b126a38 (PARSER) [FINAL]:call(in-use=9376, alloc=32712), compile(in-use=81240, alloc=145232), execution(in-use=4600, alloc=8088)End of Optimizer State Dump
Dumping Hints
=============
====================== END SQL Statement Dump ======================

ORACLE 10046 10053 EVENT相关推荐

  1. Oracle 10046 trace追踪脚本

    Oracle 10046 trace追踪 一.查找当前session的10046跟踪日志 1.alter session set tracefile_identifier='kay10046';(可选 ...

  2. oracle 10046

    oracle 10046 在当前session中激活10046事件,会在user_dump_dest目录下生成"实例名_ora_当前session的spid.trc文件" 在当前s ...

  3. oracle 怎么使用跟踪,Oracle 10046跟踪事件使用方法

    1.开启10046跟踪事件 alter session set events '10046 trace name context forever, level 12'; 如果想更容易标识trace文件 ...

  4. oracle enq ta,【案例】Oracle等待事件event enq: KO - fast object checkpoint解决办法

    [案例]Oracle等待事件event enq: KO - fast object checkpoint解决办法 时间:2016-11-03 10:11   来源:Oracle研究中心   作者:HT ...

  5. oracle 10046事件详解

    10046事件详解 一.10046事件概述 10046是一个Oracle的内部事件(event),通过设置这个事件可以得到Oracle内部执行系统解析.调用.等待.绑定变量等详细的trace信息,即帮 ...

  6. oracle 10046 看锁,Maclean教你读Oracle 10046 SQL TRACE

    有同学一直向Maclean反应希望做一期10046 SQL trace的教程, 正好这几天有空 我们就理一理. 为什么我们要使用10046 trace? 10046 trace帮助我们解析 一条/多条 ...

  7. oracle 10046详解

    如果你对oracle性能调优很感兴趣或者比较专长,那么你对oracle的10046事件一定不会陌生.10046event是oracle用于系统性能分析时的一个最重要的事件.当激活这个事件后,将通知or ...

  8. ORACLE 10046 Trace

    10046 trace的跟踪等级 10046是一个Oracle的内部事件(event),通过设置这个事件可以得到Oracle内部执行系统解析.调用.等待.绑定变量等详细的trace信息,对于分析系统的 ...

  9. oracle 10046详解,Oracle 10046事件详解

    10046事件说明10046事件是Oracle提供的内部事件,是对SQL_TRACE的增强. 10046事件可以设置以下四个级别: 1 - 启用标准的SQL_TRACE功能,等价于sql_trace ...

最新文章

  1. android11和ios,安卓与iOS细节对比:Reno Ace与iPhone 11 Pro Max,结果很意外
  2. 机器学习是如何运作的?谷歌来告诉你
  3. 安卓手机能用signal吗_现在的安卓手机可以直接更新成鸿蒙系统吗?还是必须购买新的手机?...
  4. NumPy复制数组之浅拷贝和深拷贝(注意,直接用等号不是复制,且切片会改变原数组!!!)ndarray.copy() ndarray.view()(view()只是改变shape形状,数据还是同一个)
  5. 深度学习之生成对抗网络(7)WGAN原理
  6. matlab imfill孔洞填充
  7. python eval 用法
  8. python 迭代多个对象
  9. 华为机试HJ64:MP3光标位置
  10. js 中 的时间类和 setTimeout 和setInterval
  11. centos 7安装java开发环境
  12. 可调电阻封装图_看过来!!国产大神把ZXD2400 v4.3完美改造成60V50A可调数控电源...
  13. cms采集系统-批量文章采集支持各大CMS采集
  14. odac与oracle,适用于 Windows 的 64 位 Oracle Data Access Components (ODAC) | Oracle 中国
  15. autocad 二次开发 拆分图纸_2,手动创建CAD二次开发项目--AutoCAD二次开发(2020版)...
  16. ps一点等于多少厘米_PS像素与厘米之间的转换
  17. 【Linux】 浅谈 NCSI 及其在 Linux 上的实现
  18. 计算机微信接收excel打不开怎么回事,微信打不开收到的Excel
  19. mysql navicat视图_Navicat 教程:MySQL 视图
  20. 从新华字典释义的角度理解springboot中controller、service、dao各自的职责

热门文章

  1. linux du 命令详解
  2. 苹果电脑 剪切文件 文件夹 快捷键
  3. 计算机网络安全期末考试题成都信息工程大学,计算机网络术基础(考试).成都信息工程学院.doc...
  4. 短视频软件开发Android 添加到购物车动画
  5. Linux/Ubuntu/SentOS系统安装oh-my-zsh
  6. 查看linux系统版本centos,CentOS下查看系统版本的4种方法
  7. WIN7虚拟桌面创建(多屏幕多桌面)
  8. 《算法笔记》-各种排序算法、散列、递归、贪心、二分、双指针、随机选择算法(知识点+例题+代码)
  9. stm32h7关串口中断怎么弄_【STM32H7教程】第33章 STM32H7的定时器应用之TIM1-TIM17的中断实现...
  10. JS判断变量是数组还是对象