2014-09-17 13:23:48 +02:00

10921 lines
457 KiB
Plaintext

Trace file /export/home/oracle/diag/rdbms/sol112/SOL112/trace/SOL112_ora_29553_0001.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /export/home/oracle/product/11.2.0/db_1
System name: SunOS
Node name: solaris02
Release: 5.11
Version: snv_111b
Machine: i86pc
Instance name: SOL112
Redo thread mounted by this instance: 1
Oracle process number: 25
Unix process pid: 29553, image: oracle@solaris02
*** 2010-04-29 18:11:44.984
*** SESSION ID:(142.6373) 2010-04-29 18:11:44.984
*** CLIENT ID:() 2010-04-29 18:11:44.984
*** SERVICE NAME:(SOL112) 2010-04-29 18:11:44.984
*** MODULE NAME:(SQL*Plus) 2010-04-29 18:11:44.984
*** ACTION NAME:() 2010-04-29 18:11:44.984
*** TRACE CONTINUED FROM FILE /export/home/oracle/diag/rdbms/sol112/SOL112/trace/SOL112_ora_29553.trc ***
Registered qb: SEL$1 0xfdbfdca8 (PARSER)
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (): qb_name=SEL$1 nbfros=7 flg=0
fro(0): flg=4 objn=74142 hint_alias="C"@"SEL$1"
fro(1): flg=4 objn=74123 hint_alias="D"@"SEL$1"
fro(2): flg=4 objn=74128 hint_alias="E"@"SEL$1"
fro(3): flg=4 objn=74165 hint_alias="O"@"SEL$1"
fro(4): flg=4 objn=74160 hint_alias="OI"@"SEL$1"
fro(5): flg=5 objn=74600 hint_alias="PROD"@"SEL$1"
fro(6): flg=4 objn=74179 hint_alias="PROM"@"SEL$1"
Registered qb: SEL$2 0xfdb563d0 (PARSER)
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (): qb_name=SEL$2 nbfros=2 flg=0
fro(0): flg=4 objn=74176 hint_alias="D"@"SEL$2"
fro(1): flg=4 objn=74173 hint_alias="I"@"SEL$2"
SPM: statement not found in SMB
**************************
Automatic degree of parallelism (ADOP)
**************************
Automatic degree of parallelism is disabled: Parameter.
PM: Considering predicate move-around in query block SEL$1 (#0)
**************************
Predicate Move-Around (PM)
**************************
OPTIMIZER INFORMATION
******************************************
----- Current SQL Statement for this session (sql_id=3qy33cc7bz0y2) -----
SELECT /*+ opt_param('_optimizer_use_feedback', 'false') */
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
, SUM(oi.quantity)
, sum(oi.unit_price * oi.quantity) total_price
FROM
oe.orders o
, oe.order_items oi
, oe.products prod
, oe.customers c
, oe.promotions prom
, hr.employees e
, hr.departments d
WHERE
-- joins
o.order_id = oi.order_id
AND oi.product_id = prod.product_id
AND o.promotion_id = prom.promo_id (+)
AND o.customer_id = c.customer_id
AND o.sales_rep_id = e.employee_id
AND d.department_id = e.department_id
-- filters
AND d.department_name = 'Sales'
AND e.first_name = 'William'
AND e.last_name = 'Smith'
AND prod.product_name = 'Mobile Web Phone'
AND c.cust_first_name = 'Gena'
AND c.cust_last_name = 'Harris'
GROUP BY
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
ORDER BY
total_price
*******************************************
Legend
The following abbreviations are used by optimizer trace.
CBQT - cost-based query transformation
JPPD - join predicate push-down
OJPPD - old-style (non-cost-based) JPPD
FPD - filter push-down
PM - predicate move-around
CVM - complex view merging
SPJ - select-project-join
SJC - set join conversion
SU - subquery unnesting
OBYE - order by elimination
OST - old style star transformation
ST - new (cbqt) star transformation
CNT - count(col) to count(*) transformation
JE - Join Elimination
JF - join factorization
SLP - select list pruning
DP - distinct placement
qb - query block
LB - leaf blocks
DK - distinct keys
LB/K - average number of leaf blocks per key
DB/K - average number of data blocks per key
CLUF - clustering factor
NDV - number of distinct values
Resp - response cost
Card - cardinality
Resc - resource cost
NL - nested loops (join)
SM - sort merge (join)
HA - hash (join)
CPUSPEED - CPU Speed
IOTFRSPEED - I/O transfer speed
IOSEEKTIM - I/O seek time
SREADTIM - average single block read time
MREADTIM - average multiblock read time
MBRC - average multiblock read count
MAXTHR - maximum I/O system throughput
SLAVETHR - average slave I/O throughput
dmeth - distribution method
1: no partitioning required
2: value partitioned
4: right is random (round-robin)
128: left is random (round-robin)
8: broadcast right and partition left
16: broadcast left and partition right
32: partition left using partitioning of right
64: partition right using partitioning of left
256: run the join in serial
0: invalid distribution method
sel - selectivity
ptn - partition
***************************************
PARAMETERS USED BY THE OPTIMIZER
********************************
*************************************
PARAMETERS WITH ALTERED VALUES
******************************
Compilation Environment Dump
Bug Fix Control Environment
*************************************
PARAMETERS WITH DEFAULT VALUES
******************************
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 = 2
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 = 286720 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 = 286 KB
_smm_max_size = 57344 KB
_smm_px_max_size = 143360 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 = 126
_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 = 4
total_cpu_count = 2
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 Environment
fix 3834770 = 1
fix 3746511 = enabled
fix 4519016 = enabled
fix 3118776 = enabled
fix 4488689 = enabled
fix 2194204 = disabled
fix 2660592 = enabled
fix 2320291 = enabled
fix 2324795 = enabled
fix 4308414 = enabled
fix 3499674 = disabled
fix 4569940 = enabled
fix 4631959 = enabled
fix 4519340 = enabled
fix 4550003 = enabled
fix 1403283 = enabled
fix 4554846 = enabled
fix 4602374 = enabled
fix 4584065 = enabled
fix 4545833 = enabled
fix 4611850 = enabled
fix 4663698 = enabled
fix 4663804 = enabled
fix 4666174 = enabled
fix 4567767 = enabled
fix 4556762 = 15
fix 4728348 = enabled
fix 4708389 = enabled
fix 4175830 = enabled
fix 4752814 = enabled
fix 4583239 = enabled
fix 4386734 = enabled
fix 4887636 = enabled
fix 4483240 = enabled
fix 4872602 = disabled
fix 4711525 = enabled
fix 4545802 = enabled
fix 4605810 = enabled
fix 4704779 = enabled
fix 4900129 = enabled
fix 4924149 = enabled
fix 4663702 = enabled
fix 4878299 = enabled
fix 4658342 = enabled
fix 4881533 = enabled
fix 4676955 = enabled
fix 4273361 = enabled
fix 4967068 = enabled
fix 4969880 = disabled
fix 5005866 = enabled
fix 5015557 = enabled
fix 4705343 = enabled
fix 4904838 = enabled
fix 4716096 = enabled
fix 4483286 = disabled
fix 4722900 = enabled
fix 4615392 = enabled
fix 5096560 = enabled
fix 5029464 = enabled
fix 4134994 = enabled
fix 4904890 = enabled
fix 5104624 = enabled
fix 5014836 = enabled
fix 4768040 = enabled
fix 4600710 = enabled
fix 5129233 = enabled
fix 4595987 = enabled
fix 4908162 = enabled
fix 5139520 = enabled
fix 5084239 = enabled
fix 5143477 = disabled
fix 2663857 = enabled
fix 4717546 = enabled
fix 5240264 = disabled
fix 5099909 = enabled
fix 5240607 = enabled
fix 5195882 = enabled
fix 5220356 = enabled
fix 5263572 = enabled
fix 5385629 = enabled
fix 5302124 = enabled
fix 5391942 = enabled
fix 5384335 = enabled
fix 5482831 = enabled
fix 4158812 = enabled
fix 5387148 = enabled
fix 5383891 = enabled
fix 5466973 = enabled
fix 5396162 = enabled
fix 5394888 = enabled
fix 5395291 = enabled
fix 5236908 = enabled
fix 5509293 = enabled
fix 5449488 = enabled
fix 5567933 = enabled
fix 5570494 = enabled
fix 5288623 = enabled
fix 5505995 = enabled
fix 5505157 = enabled
fix 5112460 = enabled
fix 5554865 = enabled
fix 5112260 = enabled
fix 5112352 = enabled
fix 5547058 = enabled
fix 5618040 = enabled
fix 5585313 = enabled
fix 5547895 = enabled
fix 5634346 = enabled
fix 5620485 = enabled
fix 5483301 = enabled
fix 5657044 = enabled
fix 5694984 = enabled
fix 5868490 = enabled
fix 5650477 = enabled
fix 5611962 = enabled
fix 4279274 = enabled
fix 5741121 = enabled
fix 5714944 = enabled
fix 5391505 = enabled
fix 5762598 = enabled
fix 5578791 = enabled
fix 5259048 = enabled
fix 5882954 = enabled
fix 2492766 = enabled
fix 5707608 = enabled
fix 5891471 = enabled
fix 5884780 = enabled
fix 5680702 = enabled
fix 5371452 = enabled
fix 5838613 = enabled
fix 5949981 = enabled
fix 5624216 = enabled
fix 5741044 = enabled
fix 5976822 = enabled
fix 6006457 = enabled
fix 5872956 = enabled
fix 5923644 = enabled
fix 5943234 = enabled
fix 5844495 = enabled
fix 4168080 = enabled
fix 6020579 = enabled
fix 5842686 = disabled
fix 5996801 = enabled
fix 5593639 = enabled
fix 6133948 = enabled
fix 3151991 = enabled
fix 6146906 = enabled
fix 6239909 = enabled
fix 6267621 = enabled
fix 5909305 = enabled
fix 6279918 = enabled
fix 6141818 = enabled
fix 6151963 = enabled
fix 6251917 = enabled
fix 6282093 = enabled
fix 6119510 = enabled
fix 6119382 = enabled
fix 3801750 = enabled
fix 5705630 = disabled
fix 5944076 = enabled
fix 5406763 = enabled
fix 6070954 = enabled
fix 6282944 = enabled
fix 6138746 = enabled
fix 6082745 = enabled
fix 3426050 = enabled
fix 599680 = enabled
fix 6062266 = enabled
fix 6087237 = enabled
fix 6122894 = enabled
fix 6377505 = enabled
fix 5893768 = enabled
fix 6163564 = enabled
fix 6073325 = enabled
fix 6188881 = enabled
fix 6007259 = enabled
fix 6239971 = enabled
fix 5284200 = disabled
fix 6042205 = enabled
fix 6051211 = enabled
fix 6434668 = enabled
fix 6438752 = enabled
fix 5936366 = enabled
fix 6439032 = enabled
fix 6438892 = enabled
fix 6006300 = enabled
fix 5947231 = enabled
fix 5416118 = 1
fix 6365442 = 1
fix 6239039 = enabled
fix 6502845 = enabled
fix 6913094 = enabled
fix 6029469 = enabled
fix 5919513 = enabled
fix 6057611 = enabled
fix 6469667 = enabled
fix 6608941 = disabled
fix 6368066 = enabled
fix 6329318 = enabled
fix 6656356 = enabled
fix 4507997 = enabled
fix 6671155 = enabled
fix 6694548 = enabled
fix 6688200 = enabled
fix 6612471 = enabled
fix 6708183 = disabled
fix 6326934 = enabled
fix 6520717 = disabled
fix 6714199 = enabled
fix 6681545 = enabled
fix 6748058 = enabled
fix 6167716 = enabled
fix 6674254 = enabled
fix 6468287 = enabled
fix 6503543 = enabled
fix 6808773 = disabled
fix 6766962 = enabled
fix 6120483 = enabled
fix 6670551 = enabled
fix 6771838 = enabled
fix 6626018 = disabled
fix 6530596 = enabled
fix 6778642 = enabled
fix 6699059 = enabled
fix 6376551 = enabled
fix 6429113 = enabled
fix 6782437 = enabled
fix 6776808 = enabled
fix 6765823 = enabled
fix 6768660 = enabled
fix 6782665 = enabled
fix 6610822 = enabled
fix 6514189 = enabled
fix 6818410 = enabled
fix 6827696 = enabled
fix 6773613 = enabled
fix 5902962 = enabled
fix 6956212 = enabled
fix 3056297 = enabled
fix 6440977 = disabled
fix 6972291 = disabled
fix 6904146 = enabled
fix 6221403 = enabled
fix 5475051 = enabled
fix 6845871 = enabled
fix 5468809 = enabled
fix 6917633 = enabled
fix 4444536 = disabled
fix 6955210 = enabled
fix 6994194 = enabled
fix 6399597 = disabled
fix 6951776 = enabled
fix 5648287 = 3
fix 6987082 = disabled
fix 7132036 = enabled
fix 6980350 = enabled
fix 5199213 = enabled
fix 7138405 = enabled
fix 7148689 = enabled
fix 6820988 = enabled
fix 7032684 = enabled
fix 6617866 = enabled
fix 7155968 = enabled
fix 7127980 = enabled
fix 6982954 = enabled
fix 7241819 = enabled
fix 6897034 = enabled
fix 7236148 = enabled
fix 7298570 = enabled
fix 7249095 = enabled
fix 7314499 = enabled
fix 7324224 = enabled
fix 7289023 = enabled
fix 7237571 = enabled
fix 7116357 = enabled
fix 7345484 = enabled
fix 7375179 = enabled
fix 6430500 = disabled
fix 5897486 = enabled
fix 6774209 = enabled
fix 7306637 = enabled
fix 6451322 = enabled
fix 7208131 = enabled
fix 7388652 = enabled
fix 7127530 = enabled
fix 6751206 = enabled
fix 6669103 = enabled
fix 7430474 = enabled
fix 6990305 = enabled
fix 7043307 = enabled
fix 6921505 = enabled
fix 7388457 = enabled
fix 3120429 = enabled
fix 7452823 = disabled
fix 6838105 = enabled
fix 6769711 = enabled
fix 7170213 = enabled
fix 6528872 = enabled
fix 7295298 = enabled
fix 5922070 = enabled
fix 7259468 = enabled
fix 6418552 = enabled
fix 4619997 = enabled
fix 7524366 = enabled
fix 6942476 = enabled
fix 6418771 = enabled
fix 7375077 = enabled
fix 5400639 = enabled
fix 4570921 = enabled
fix 7426911 = enabled
fix 5099019 = disabled
fix 7528216 = enabled
fix 7521266 = enabled
fix 7385140 = enabled
fix 7576516 = enabled
fix 7573526 = enabled
fix 7576476 = enabled
fix 7165898 = enabled
fix 7263214 = enabled
fix 3320140 = enabled
fix 7555510 = enabled
fix 7613118 = enabled
fix 7597059 = enabled
fix 7558911 = enabled
fix 5520732 = enabled
fix 7679490 = disabled
fix 7449971 = enabled
fix 3628118 = enabled
fix 4370840 = enabled
fix 7281191 = enabled
fix 7519687 = enabled
fix 5029592 = 3
fix 6012093 = 1
fix 6053861 = disabled
fix 6941515 = disabled
fix 7696414 = enabled
fix 7272039 = enabled
fix 7834811 = enabled
fix 7640597 = enabled
fix 7341616 = enabled
fix 7168184 = enabled
fix 399198 = enabled
fix 7831070 = enabled
fix 7676897 = disabled
fix 7414637 = enabled
fix 7585456 = enabled
fix 8202421 = enabled
fix 7658097 = disabled
fix 8251486 = enabled
fix 7132684 = enabled
fix 7512227 = enabled
fix 6972987 = enabled
fix 7199035 = enabled
fix 8243446 = enabled
fix 7650462 = enabled
fix 6720701 = enabled
fix 7592673 = enabled
fix 7718694 = enabled
fix 7534027 = enabled
fix 7708267 = enabled
fix 5716785 = enabled
fix 7356191 = enabled
fix 7679161 = enabled
fix 7597159 = enabled
fix 7499258 = enabled
fix 8328363 = enabled
fix 7452863 = enabled
fix 8284930 = enabled
fix 7298626 = enabled
fix 7657126 = enabled
fix 8371884 = enabled
fix 8318020 = enabled
fix 8255423 = enabled
fix 7135745 = enabled
fix 8356253 = enabled
fix 7534257 = enabled
fix 8323407 = enabled
fix 7539815 = enabled
fix 8289316 = enabled
fix 8447850 = enabled
fix 7675944 = enabled
fix 8355120 = enabled
fix 7176746 = enabled
fix 8442891 = enabled
fix 8373261 = enabled
fix 7679164 = enabled
fix 7670533 = enabled
fix 8408665 = enabled
fix 8491399 = enabled
fix 8348392 = enabled
fix 8348585 = enabled
fix 8508056 = enabled
fix 8335178 = enabled
fix 8515269 = enabled
fix 8247017 = enabled
fix 7325597 = enabled
fix 8531490 = enabled
fix 6163600 = enabled
fix 8589278 = disabled
fix 8557992 = enabled
fix 7556098 = enabled
fix 8580883 = enabled
fix 5892599 = disabled
fix 8609714 = enabled
fix 8514561 = enabled
fix 8619631 = disabled
***************************************
PARAMETERS IN OPT_PARAM HINT
****************************
_optimizer_use_feedback = 'false'
***************************************
Column Usage Monitoring is ON: tracking level = 1
***************************************
Considering Query Transformations on query block SEL$1 (#0)
**************************
Query transformations (QT)
**************************
JF: Checking validity of join factorization for query block SEL$2 (#0)
JF: Bypassed: not a UNION or UNION-ALL query block.
ST: not valid since star transformation parameter is FALSE
TE: Checking validity of table expansion for query block SEL$2 (#0)
TE: Bypassed: No partitioned table in query block.
Check Basic Validity for Non-Union View for query block SEL$2 (#0)
JPPD: JPPD bypassed: View has unsupported constructs.
CBQT: Validity checks passed for 3qy33cc7bz0y2.
CSE: Considering common sub-expression elimination in query block SEL$1 (#0)
*************************
Common Subexpression elimination (CSE)
*************************
CSE: Considering common sub-expression elimination in query block SEL$2 (#0)
*************************
Common Subexpression elimination (CSE)
*************************
CSE: CSE not performed on query block SEL$2 (#0).
CSE: CSE not performed on query block SEL$1 (#0).
OBYE: Considering Order-by Elimination from view SEL$1 (#0)
***************************
Order-by elimination (OBYE)
***************************
OBYE: Considering Order-by Elimination from view SEL$2 (#0)
***************************
Order-by elimination (OBYE)
***************************
OBYE: OBYE bypassed: no order by to eliminate.
OBYE: OBYE performed.
JE: Considering Join Elimination on query block SEL$2 (#0)
*************************
Join Elimination (JE)
*************************
SQL:******* UNPARSED QUERY IS *******
SELECT "I"."PRODUCT_ID" "PRODUCT_ID",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME" FROM OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D" WHERE "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
SQL:******* UNPARSED QUERY IS *******
SELECT "I"."PRODUCT_ID" "PRODUCT_ID",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME" FROM OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D" WHERE "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
Query block SEL$2 (#0) unchanged
JE: Considering Join Elimination on query block SEL$1 (#0)
*************************
Join Elimination (JE)
*************************
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME","PROD"."PRODUCT_NAME" "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI", (SELECT "I"."PRODUCT_ID" "PRODUCT_ID",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME" FROM OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D" WHERE "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')) "PROD","OE"."CUSTOMERS" "C","OE"."PROMOTIONS" "PROM","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="PROD"."PRODUCT_ID" AND "O"."PROMOTION_ID"="PROM"."PROMO_ID"(+) AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND "PROD"."PRODUCT_NAME"='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME","PROD"."PRODUCT_NAME","C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
Query block (fffffd7ffdbfdca8) before join elimination:
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME","PROD"."PRODUCT_NAME" "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI", (SELECT "I"."PRODUCT_ID" "PRODUCT_ID",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME" FROM OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D" WHERE "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')) "PROD","OE"."CUSTOMERS" "C","OE"."PROMOTIONS" "PROM","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="PROD"."PRODUCT_ID" AND "O"."PROMOTION_ID"="PROM"."PROMO_ID"(+) AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND "PROD"."PRODUCT_NAME"='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME","PROD"."PRODUCT_NAME","C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
JE: eliminate table: PROMOTIONS (PROM)
JE: cfro: ORDER_ITEMS objn:74165 col#:1 dfro:ORDERS dcol#:1
Registered qb: SEL$31BE1502 0xfdbfdca8 (JOIN REMOVED FROM QUERY BLOCK SEL$1; SEL$1; "PROM"@"SEL$1")
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (): qb_name=SEL$31BE1502 nbfros=6 flg=0
fro(0): flg=0 objn=74142 hint_alias="C"@"SEL$1"
fro(1): flg=0 objn=74123 hint_alias="D"@"SEL$1"
fro(2): flg=0 objn=74128 hint_alias="E"@"SEL$1"
fro(3): flg=0 objn=74165 hint_alias="O"@"SEL$1"
fro(4): flg=0 objn=74160 hint_alias="OI"@"SEL$1"
fro(5): flg=1 objn=74600 hint_alias="PROD"@"SEL$1"
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME","PROD"."PRODUCT_NAME" "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI", (SELECT "I"."PRODUCT_ID" "PRODUCT_ID",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME" FROM OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D" WHERE "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')) "PROD","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="PROD"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND "PROD"."PRODUCT_NAME"='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME","PROD"."PRODUCT_NAME","C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
Query block SEL$31BE1502 (#0) simplified
OJE: Considering outer-join elimination on query block SEL$31BE1502 (#0)
OJE: considering predicate"O"."ORDER_ID"="OI"."ORDER_ID"
rejected
OJE: considering predicate"OI"."PRODUCT_ID"="PROD"."PRODUCT_ID"
rejected
OJE: considering predicate"O"."CUSTOMER_ID"="C"."CUSTOMER_ID"
rejected
OJE: considering predicate"O"."SALES_REP_ID"="E"."EMPLOYEE_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_NAME"='Sales'
rejected
OJE: considering predicate"E"."FIRST_NAME"='William'
rejected
OJE: considering predicate"E"."LAST_NAME"='Smith'
rejected
OJE: considering predicate"PROD"."PRODUCT_NAME"='Mobile Web Phone'
rejected
OJE: considering predicate"C"."CUST_FIRST_NAME"='Gena'
rejected
OJE: considering predicate"C"."CUST_LAST_NAME"='Harris'
rejected
OJE: outer-join not eliminated
CNT: Considering count(col) to count(*) on query block SEL$31BE1502 (#0)
*************************
Count(col) to Count(*) (CNT)
*************************
CNT: COUNT() to COUNT(*) not done.
OJE: Considering outer-join elimination on query block SEL$2 (#0)
OJE: considering predicate"D"."PRODUCT_ID"(+)="I"."PRODUCT_ID"
rejected
OJE: considering predicate"D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
rejected
OJE: outer-join not eliminated
CVM: Merging SPJ view SEL$2 (#0) into SEL$31BE1502 (#0)
OJE: Considering outer-join elimination on query block SEL$31BE1502 (#0)
OJE: considering predicate"O"."ORDER_ID"="OI"."ORDER_ID"
rejected
OJE: considering predicate"OI"."PRODUCT_ID"="I"."PRODUCT_ID"
rejected
OJE: considering predicate"O"."CUSTOMER_ID"="C"."CUSTOMER_ID"
rejected
OJE: considering predicate"O"."SALES_REP_ID"="E"."EMPLOYEE_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_NAME"='Sales'
rejected
OJE: considering predicate"E"."FIRST_NAME"='William'
rejected
OJE: considering predicate"E"."LAST_NAME"='Smith'
rejected
OJE: considering predicateCASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone'
rejected
OJE: considering predicate"C"."CUST_FIRST_NAME"='Gena'
rejected
OJE: considering predicate"C"."CUST_LAST_NAME"='Harris'
rejected
OJE: considering predicate"D"."PRODUCT_ID"(+)="I"."PRODUCT_ID"
rejected
OJE: considering predicate"D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
rejected
OJE: outer-join not eliminated
CNT: Considering count(col) to count(*) on query block SEL$31BE1502 (#0)
*************************
Count(col) to Count(*) (CNT)
*************************
CNT: COUNT() to COUNT(*) not done.
Registered qb: SEL$4B12EFE6 0xfdbfdca8 (VIEW MERGE SEL$31BE1502; SEL$2)
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (): qb_name=SEL$4B12EFE6 nbfros=7 flg=0
fro(0): flg=0 objn=74142 hint_alias="C"@"SEL$1"
fro(1): flg=0 objn=74123 hint_alias="D"@"SEL$1"
fro(2): flg=0 objn=74128 hint_alias="E"@"SEL$1"
fro(3): flg=0 objn=74165 hint_alias="O"@"SEL$1"
fro(4): flg=0 objn=74160 hint_alias="OI"@"SEL$1"
fro(5): flg=0 objn=74176 hint_alias="D"@"SEL$2"
fro(6): flg=0 objn=74173 hint_alias="I"@"SEL$2"
JE: Considering Join Elimination on query block SEL$4B12EFE6 (#0)
*************************
Join Elimination (JE)
*************************
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
JE: cfro: EMPLOYEES objn:74123 col#:11 dfro:DEPARTMENTS dcol#:11
JE: cfro: EMPLOYEES objn:74123 col#:11 dfro:DEPARTMENTS dcol#:11
JE: cfro: ORDERS objn:74128 col#:7 dfro:EMPLOYEES dcol#:7
JE: cfro: ORDERS objn:74128 col#:7 dfro:EMPLOYEES dcol#:7
JE: cfro: ORDERS objn:74142 col#:4 dfro:CUSTOMERS dcol#:4
JE: cfro: ORDERS objn:74142 col#:4 dfro:CUSTOMERS dcol#:4
JE: cfro: ORDER_ITEMS objn:74173 col#:3 dfro:PRODUCT_INFORMATION dcol#:3
JE: cfro: ORDER_ITEMS objn:74173 col#:3 dfro:PRODUCT_INFORMATION dcol#:3
JE: cfro: ORDER_ITEMS objn:74165 col#:1 dfro:ORDERS dcol#:1
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
Query block SEL$4B12EFE6 (#0) unchanged
query block SEL$1 transformed to SEL$4B12EFE6 (#0)
Considering Query Transformations on query block SEL$4B12EFE6 (#0)
**************************
Query transformations (QT)
**************************
CSE: Considering common sub-expression elimination in query block SEL$4B12EFE6 (#0)
*************************
Common Subexpression elimination (CSE)
*************************
CSE: CSE not performed on query block SEL$4B12EFE6 (#0).
query block SEL$4B12EFE6 (#0) unchanged
apadrv-start sqlid=4285284322543371202
:
*******************************************
Peeked values of the binds in SQL statement
*******************************************
CBQT: Considering cost-based transformation on query block SEL$4B12EFE6 (#0)
********************************
COST-BASED QUERY TRANSFORMATIONS
********************************
FPD: Considering simple filter push (pre rewrite) in query block SEL$4B12EFE6 (#0)
FPD: Current where clause predicates "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='Willi
OBYE: Considering Order-by Elimination from view SEL$4B12EFE6 (#0)
***************************
Order-by elimination (OBYE)
***************************
OBYE: OBYE performed.
Considering Query Transformations on query block SEL$4B12EFE6 (#0)
**************************
Query transformations (QT)
**************************
CSE: Considering common sub-expression elimination in query block SEL$4B12EFE6 (#0)
*************************
Common Subexpression elimination (CSE)
*************************
CSE: CSE not performed on query block SEL$4B12EFE6 (#0).
kkqctdrvTD-start on query block SEL$4B12EFE6 (#0)
kkqctdrvTD-start: :
kkqctdrvTD-end:
SJC: Considering set-join conversion in query block SEL$4B12EFE6 (#1)
*************************
Set-Join Conversion (SJC)
*************************
SJC: not performed
OJE: Considering outer-join elimination on query block SEL$4B12EFE6 (#1)
OJE: considering predicate"O"."ORDER_ID"="OI"."ORDER_ID"
rejected
OJE: considering predicate"OI"."PRODUCT_ID"="I"."PRODUCT_ID"
rejected
OJE: considering predicate"O"."CUSTOMER_ID"="C"."CUSTOMER_ID"
rejected
OJE: considering predicate"O"."SALES_REP_ID"="E"."EMPLOYEE_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID"
rejected
OJE: considering predicate"D"."DEPARTMENT_NAME"='Sales'
rejected
OJE: considering predicate"E"."FIRST_NAME"='William'
rejected
OJE: considering predicate"E"."LAST_NAME"='Smith'
rejected
OJE: considering predicateCASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone'
rejected
OJE: considering predicate"C"."CUST_FIRST_NAME"='Gena'
rejected
OJE: considering predicate"C"."CUST_LAST_NAME"='Harris'
rejected
OJE: considering predicate"D"."PRODUCT_ID"(+)="I"."PRODUCT_ID"
rejected
OJE: considering predicate"D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
rejected
OJE: outer-join not eliminated
CNT: Considering count(col) to count(*) on query block SEL$4B12EFE6 (#1)
*************************
Count(col) to Count(*) (CNT)
*************************
CNT: COUNT() to COUNT(*) not done.
JE: Considering Join Elimination on query block SEL$4B12EFE6 (#1)
*************************
Join Elimination (JE)
*************************
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
JE: cfro: EMPLOYEES objn:74123 col#:11 dfro:DEPARTMENTS dcol#:11
JE: cfro: EMPLOYEES objn:74123 col#:11 dfro:DEPARTMENTS dcol#:11
JE: cfro: ORDERS objn:74128 col#:7 dfro:EMPLOYEES dcol#:7
JE: cfro: ORDERS objn:74128 col#:7 dfro:EMPLOYEES dcol#:7
JE: cfro: ORDERS objn:74142 col#:4 dfro:CUSTOMERS dcol#:4
JE: cfro: ORDERS objn:74142 col#:4 dfro:CUSTOMERS dcol#:4
JE: cfro: ORDER_ITEMS objn:74173 col#:3 dfro:PRODUCT_INFORMATION dcol#:3
JE: cfro: ORDER_ITEMS objn:74173 col#:3 dfro:PRODUCT_INFORMATION dcol#:3
JE: cfro: ORDER_ITEMS objn:74165 col#:1 dfro:ORDERS dcol#:1
SQL:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
Query block SEL$4B12EFE6 (#1) unchanged
PM: Considering predicate move-around in query block SEL$4B12EFE6 (#1)
**************************
Predicate Move-Around (PM)
**************************
PM: PM bypassed: Outer query contains no views.
PM: PM bypassed: Outer query contains no views.
kkqctdrvTD-start on query block SEL$4B12EFE6 (#1)
kkqctdrvTD-start: :
kkqctdrvTD-end:
kkqctdrvTD-start on query block SEL$4B12EFE6 (#1)
kkqctdrvTD-start: :
Registered qb: SEL$4B12EFE6 0xfdba1d30 (COPY SEL$4B12EFE6)
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature(): NULL
****************************************
Cost-Based Group-By/Distinct Placement
****************************************
GBP/DP: Checking validity of GBP/DP for query block SEL$4B12EFE6 (#1)
GBP: Checking validity of group-by placement for query block SEL$4B12EFE6 (#1)
GBP: Bypassed: Expression/function found in group-by.
DP: Checking validity of distinct placement for query block SEL$4B12EFE6 (#1)
DP: Bypassed: Query has invalid constructs.
kkqctdrvTD-end:
kkqctdrvTD-start on query block SEL$4B12EFE6 (#1)
kkqctdrvTD-start: :
TE: Checking validity of table expansion for query block SEL$4B12EFE6 (#1)
TE: Bypassed: No partitioned table in query block.
kkqctdrvTD-end:
TE: Checking validity of table expansion for query block SEL$4B12EFE6 (#1)
TE: Bypassed: No partitioned table in query block.
ST: Query in kkqstardrv:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ='Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
ST: not valid since star transformation parameter is FALSE
kkqctdrvTD-start on query block SEL$4B12EFE6 (#1)
kkqctdrvTD-start: :
JF: Checking validity of join factorization for query block SEL$4B12EFE6 (#1)
JF: Bypassed: has order-by clause.
kkqctdrvTD-end:
JPPD: Considering Cost-based predicate pushdown from query block SEL$4B12EFE6 (#1)
************************************
Cost-based predicate pushdown (JPPD)
************************************
kkqctdrvTD-start on query block SEL$4B12EFE6 (#1)
kkqctdrvTD-start: :
kkqctdrvTD-end:
JPPD: Applying transformation directives
query block SEL$4B12EFE6 (#1) unchanged
FPD: Considering simple filter push in query block SEL$4B12EFE6 (#1)
"O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='Willi
try to generate transitive predicate from check constraints for query block SEL$4B12EFE6 (#1)
constraint: "C"."CUSTOMER_ID">0
finally: "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='Willi
FPD: transitive predicates are generated in query block SEL$4B12EFE6 (#1)
"O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='Willi
Final query after transformations:******* UNPARSED QUERY IS *******
SELECT "D"."DEPARTMENT_NAME" "DEPARTMENT_NAME","E"."FIRST_NAME" "FIRST_NAME","E"."LAST_NAME" "LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END "PRODUCT_NAME","C"."CUST_FIRST_NAME" "CUST_FIRST_NAME","C"."CUST_LAST_NAME" "CUST_LAST_NAME",SUM("OI"."QUANTITY") "SUM(OI.QUANTITY)",SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY") "TOTAL_PRICE" FROM "OE"."ORDERS" "O","OE"."ORDER_ITEMS" "OI",OE."PRODUCT_INFORMATION" "I",OE."PRODUCT_DESCRIPTIONS" "D","OE"."CUSTOMERS" "C","HR"."EMPLOYEES" "E","HR"."DEPARTMENTS" "D" WHERE "O"."ORDER_ID"="OI"."ORDER_ID" AND "OI"."PRODUCT_ID"="I"."PRODUCT_ID" AND "O"."CUSTOMER_ID"="C"."CUSTOMER_ID" AND "O"."SALES_REP_ID"="E"."EMPLOYEE_ID" AND "D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID" AND "D"."DEPARTMENT_NAME"='Sales' AND "E"."FIRST_NAME"='William' AND "E"."LAST_NAME"='Smith' AND CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END =U'Mobile Web Phone' AND "C"."CUST_FIRST_NAME"='Gena' AND "C"."CUST_LAST_NAME"='Harris' AND "D"."PRODUCT_ID"(+)="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG') AND "O"."CUSTOMER_ID">0 GROUP BY "D"."DEPARTMENT_NAME","E"."FIRST_NAME","E"."LAST_NAME",CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END ,"C"."CUST_FIRST_NAME","C"."CUST_LAST_NAME" ORDER BY SUM("OI"."UNIT_PRICE"*"OI"."QUANTITY")
kkoqbc: optimizing query block SEL$4B12EFE6 (#1)
:
kkoqbc-subheap (create addr=0xfffffd7ffdbfa4e8)
****************
QUERY BLOCK TEXT
****************
SELECT /*+ opt_param('_optimizer_use_feedback', 'false') */
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
, SUM(oi.quantity)
, sum(oi.unit_price * oi.quantity) total_price
FROM
---------------------
QUERY BLOCK SIGNATURE
---------------------
signature (optimizer): qb_name=SEL$4B12EFE6 nbfros=7 flg=0
fro(0): flg=0 objn=74142 hint_alias="C"@"SEL$1"
fro(1): flg=0 objn=74123 hint_alias="D"@"SEL$1"
fro(2): flg=0 objn=74128 hint_alias="E"@"SEL$1"
fro(3): flg=0 objn=74165 hint_alias="O"@"SEL$1"
fro(4): flg=0 objn=74160 hint_alias="OI"@"SEL$1"
fro(5): flg=0 objn=74176 hint_alias="D"@"SEL$2"
fro(6): flg=0 objn=74173 hint_alias="I"@"SEL$2"
-----------------------------
SYSTEM STATISTICS INFORMATION
-----------------------------
Using WORKLOAD Stats
CPUSPEED: 1319 millions instructions/sec
SREADTIM: 277242.072000 milliseconds
MREADTIM: 1191005.357000 millisecons
MBRC: 9 blocks
MAXTHR: -1 bytes/sec
SLAVETHR: -1 bytes/sec
***************************************
BASE STATISTICAL INFORMATION
***********************
Table Stats::
Table: DEPARTMENTS Alias: D
#Rows: 27 #Blks: 5 AvgRowLen: 21.00
Index Stats::
Index: DEPT_ID_PK Col#: 1
LVLS: 0 #LB: 1 #DK: 27 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
Index: DEPT_LOCATION_IX Col#: 4
LVLS: 0 #LB: 1 #DK: 7 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
***********************
Table Stats::
Table: EMPLOYEES Alias: E
#Rows: 107 #Blks: 5 AvgRowLen: 69.00
Index Stats::
Index: EMP_DEPARTMENT_IX Col#: 11
LVLS: 0 #LB: 1 #DK: 11 LB/K: 1.00 DB/K: 1.00 CLUF: 7.00
Index: EMP_EMAIL_UK Col#: 4
LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 19.00
Index: EMP_EMP_ID_PK Col#: 1
LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 2.00
Index: EMP_JOB_IX Col#: 7
LVLS: 0 #LB: 1 #DK: 19 LB/K: 1.00 DB/K: 1.00 CLUF: 8.00
Index: EMP_MANAGER_IX Col#: 10
LVLS: 0 #LB: 1 #DK: 18 LB/K: 1.00 DB/K: 1.00 CLUF: 7.00
Index: EMP_NAME_IX Col#: 3 2
LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 15.00
***********************
Table Stats::
Table: CUSTOMERS Alias: C
#Rows: 319 #Blks: 13 AvgRowLen: 169.00
Index Stats::
Index: CUSTOMERS_PK Col#: 1
LVLS: 0 #LB: 1 #DK: 319 LB/K: 1.00 DB/K: 1.00 CLUF: 8.00
Index: CUST_ACCOUNT_MANAGER_IX Col#: 15
LVLS: 0 #LB: 1 #DK: 4 LB/K: 1.00 DB/K: 4.00 CLUF: 18.00
Index: CUST_EMAIL_IX Col#: 14
LVLS: 1 #LB: 2 #DK: 319 LB/K: 1.00 DB/K: 1.00 CLUF: 139.00
Index: CUST_LNAME_IX Col#: 3
LVLS: 0 #LB: 1 #DK: 176 LB/K: 1.00 DB/K: 1.00 CLUF: 271.00
Index: CUST_UPPER_NAME_IX Col#: 28 29
LVLS: 1 #LB: 2 #DK: 319 LB/K: 1.00 DB/K: 1.00 CLUF: 278.00
Index: SYS_IL0000074142C00022$$ Col#: (NOT ANALYZED)
LVLS: 1 #LB: 25 #DK: 100 LB/K: 1.00 DB/K: 1.00 CLUF: 800.00
Index: SYS_IL0000074142C00023$$ Col#: (NOT ANALYZED)
LVLS: 1 #LB: 25 #DK: 100 LB/K: 1.00 DB/K: 1.00 CLUF: 800.00
***********************
Table Stats::
Table: PRODUCT_DESCRIPTIONS Alias: D
#Rows: 8640 #Blks: 370 AvgRowLen: 283.00
Index Stats::
Index: PRD_DESC_PK Col#: 1 2
LVLS: 1 #LB: 32 #DK: 8640 LB/K: 1.00 DB/K: 1.00 CLUF: 8640.00
Index: PROD_NAME_IX Col#: 3
LVLS: 1 #LB: 53 #DK: 3727 LB/K: 1.00 DB/K: 1.00 CLUF: 6794.00
***********************
Table Stats::
Table: PRODUCT_INFORMATION Alias: I
#Rows: 288 #Blks: 13 AvgRowLen: 219.00
Index Stats::
Index: PRODUCT_INFORMATION_PK Col#: 1
LVLS: 0 #LB: 1 #DK: 288 LB/K: 1.00 DB/K: 1.00 CLUF: 140.00
Index: PROD_SUPPLIER_IX Col#: 7
LVLS: 0 #LB: 1 #DK: 62 LB/K: 1.00 DB/K: 1.00 CLUF: 121.00
***********************
Table Stats::
Table: ORDER_ITEMS Alias: OI
#Rows: 665 #Blks: 5 AvgRowLen: 18.00
Index Stats::
Index: ITEM_ORDER_IX Col#: 1
LVLS: 1 #LB: 2 #DK: 105 LB/K: 1.00 DB/K: 1.00 CLUF: 196.00
Index: ITEM_PRODUCT_IX Col#: 3
LVLS: 1 #LB: 2 #DK: 185 LB/K: 1.00 DB/K: 1.00 CLUF: 162.00
Index: ORDER_ITEMS_PK Col#: 1 2
LVLS: 1 #LB: 2 #DK: 665 LB/K: 1.00 DB/K: 1.00 CLUF: 196.00
Index: ORDER_ITEMS_UK Col#: 1 3
LVLS: 1 #LB: 2 #DK: 665 LB/K: 1.00 DB/K: 1.00 CLUF: 196.00
***********************
Table Stats::
Table: ORDERS Alias: O
#Rows: 105 #Blks: 13 AvgRowLen: 37.00
Index Stats::
Index: ORDER_PK Col#: 1
LVLS: 1 #LB: 1 #DK: 105 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
Index: ORD_CUSTOMER_IX Col#: 4
LVLS: 1 #LB: 1 #DK: 47 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
Index: ORD_ORDER_DATE_IX Col#: 2
LVLS: 1 #LB: 1 #DK: 105 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
Index: ORD_SALES_REP_IX Col#: 7
LVLS: 1 #LB: 1 #DK: 9 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00
Access path analysis for ORDERS
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for ORDERS[O]
Table: ORDERS Alias: O
Card: Original: 105.000000 Rounded: 70 Computed: 70.00 Non Adjusted: 70.00
Access Path: TableScan
Cost: 8.00 Resp: 8.00 Degree: 0
Cost_io: 8.00 Cost_cpu: 126529
Resp_io: 8.00 Resp_cpu: 126529
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 3.00 resc_cpu: 72814
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 3.00 Resp: 3.00 Degree: 1
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 3.00 resc_cpu: 57998
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 3.00 Resp: 3.00 Degree: 1
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
******** Begin index join costing ********
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 35243
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Bitmap nodes:
Used ORD_CUSTOMER_IX
Cost = 3.000094, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Access Path: index (FullScan)
Index: ORDER_PK
resc_io: 2.00 resc_cpu: 35243
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 0
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 28243
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 0
******** Cost index join ********
Index join: Joining index ORD_CUSTOMER_IX
Index join: Joining index ORDER_PK
Ix HA Join
Outer table: ORDERS Alias: O
resc: 2.00 card 105.00 bytes: 14 deg: 1 resp: 2.00
Inner table: <unnamed> Alias:
resc: 2.00 card: 105.00 bytes: 14 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 4.50 Resp: 4.50 [multiMatchCost=0.00]
Index join: Joining index ORD_SALES_REP_IX
Ix HA Join
Outer table: ORDERS Alias: O
resc: 2.00 card 105.00 bytes: 28 deg: 1 resp: 2.00
Inner table: <unnamed> Alias:
resc: 2.00 card: 105.00 bytes: 13 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 4.50 Resp: 4.50 [multiMatchCost=0.00]
******** Index join cost ********
Cost: 9.00
******** End index join costing ********
Best:: AccessPath: IndexRange
Index: ORD_SALES_REP_IX
Cost: 3.00 Degree: 1 Resp: 3.00 Card: 70.00 Bytes: 0
Access path analysis for ORDER_ITEMS
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for ORDER_ITEMS[OI]
Table: ORDER_ITEMS Alias: OI
Card: Original: 665.000000 Rounded: 665 Computed: 665.00 Non Adjusted: 665.00
Access Path: TableScan
Cost: 4.00 Resp: 4.00 Degree: 0
Cost_io: 4.00 Cost_cpu: 188557
Resp_io: 4.00 Resp_cpu: 188557
Best:: AccessPath: TableScan
Cost: 4.00 Degree: 1 Resp: 4.00 Card: 665.00 Bytes: 0
Access path analysis for PRODUCT_INFORMATION
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for PRODUCT_INFORMATION[I]
Table: PRODUCT_INFORMATION Alias: I
Card: Original: 288.000000 Rounded: 288 Computed: 288.00 Non Adjusted: 288.00
Access Path: TableScan
Cost: 8.00 Resp: 8.00 Degree: 0
Cost_io: 8.00 Cost_cpu: 141539
Resp_io: 8.00 Resp_cpu: 141539
Best:: AccessPath: TableScan
Cost: 8.00 Degree: 1 Resp: 8.00 Card: 288.00 Bytes: 0
Access path analysis for PRODUCT_DESCRIPTIONS
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for PRODUCT_DESCRIPTIONS[D]
Table: PRODUCT_DESCRIPTIONS Alias: D
Card: Original: 8640.000000 Rounded: 288 Computed: 288.00 Non Adjusted: 288.00
Access Path: TableScan
Cost: 179.00 Resp: 179.00 Degree: 0
Cost_io: 179.00 Cost_cpu: 6701493
Resp_io: 179.00 Resp_cpu: 6701493
kkofmx: index filter:"D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
Access Path: index (skip-scan)
SS sel: 0.033333 ANDV (#skips): 288.000000
SS io: 288.000000 vs. table scan io: 179.000000
Skip Scan rejected
Access Path: index (FullScan)
Index: PRD_DESC_PK
resc_io: 321.00 resc_cpu: 4068702
ix_sel: 1.000000 ix_sel_with_filters: 0.033333
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 300.00
***** End Logdef Adjustment ******
Cost: 321.00 Resp: 321.00 Degree: 1
******** Begin index join costing ********
****** trying bitmap/domain indexes ******
Access Path: index (FullScan)
Index: PRD_DESC_PK
resc_io: 33.00 resc_cpu: 1963008
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 33.00 Resp: 33.00 Degree: 0
Access Path: index (FullScan)
Index: PROD_NAME_IX
resc_io: 54.00 resc_cpu: 2112558
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 54.00 Resp: 54.00 Degree: 0
Access Path: index (FullScan)
Index: PRD_DESC_PK
resc_io: 33.00 resc_cpu: 1963008
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 33.00 Resp: 33.00 Degree: 0
Bitmap nodes:
Used PRD_DESC_PK
Cost = 41.250007, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Access Path: index (FullScan)
Index: PROD_NAME_IX
resc_io: 54.00 resc_cpu: 2112558
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 54.00 Resp: 54.00 Degree: 0
******** Cost index join ********
Index join: Joining index PRD_DESC_PK
Index join: Joining index PROD_NAME_IX
Ix HA Join
Outer table: PRODUCT_DESCRIPTIONS Alias: D
resc: 33.00 card 8640.00 bytes: 17 deg: 1 resp: 33.00
Inner table: <unnamed> Alias:
resc: 54.00 card: 8640.00 bytes: 43 deg: 1 resp: 54.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 31 probefrag: 59 ppasses: 1
Hash join: Resc: 87.50 Resp: 87.50 [multiMatchCost=0.00]
******** Index join cost ********
Cost: 87.50
******** Index join OK ********
******** End index join costing ********
Best:: AccessPath: IndexJoin
Cost: 87.50 Degree: 1 Resp: 87.50 Card: 288.00 Bytes: 0
Access path analysis for CUSTOMERS
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for CUSTOMERS[C]
ColGroup (#1, Index) CUST_UPPER_NAME_IX
Col#: 28 29 CorStregth: 93.79
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
Table: CUSTOMERS Alias: C
Card: Original: 319.000000 Rounded: 1 Computed: 0.01 Non Adjusted: 0.01
Access Path: TableScan
Cost: 8.00 Resp: 8.00 Degree: 0
Cost_io: 8.00 Cost_cpu: 169229
Resp_io: 8.00 Resp_cpu: 169229
Access Path: index (AllEqRange)
Index: CUST_LNAME_IX
resc_io: 3.00 resc_cpu: 22235
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
Cost: 3.00 Resp: 3.00 Degree: 1
Best:: AccessPath: IndexRange
Index: CUST_LNAME_IX
Cost: 3.00 Degree: 1 Resp: 3.00 Card: 0.01 Bytes: 0
Access path analysis for EMPLOYEES
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for EMPLOYEES[E]
ColGroup (#1, Index) EMP_NAME_IX
Col#: 2 3 CorStregth: 86.75
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Table: EMPLOYEES Alias: E
Card: Original: 107.000000 Rounded: 1 Computed: 1.00 Non Adjusted: 1.00
Access Path: TableScan
Cost: 4.00 Resp: 4.00 Degree: 0
Cost_io: 4.00 Cost_cpu: 61500
Resp_io: 4.00 Resp_cpu: 61500
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqRange)
Index: EMP_NAME_IX
resc_io: 2.00 resc_cpu: 14793
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
Cost: 2.00 Resp: 2.00 Degree: 1
******** Begin index join costing ********
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqRange)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 7321
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
Cost: 1.00 Resp: 1.00 Degree: 0
Bitmap nodes:
Used EMP_NAME_IX
Cost = 1.000000, sel = 0.009346
****** finished trying bitmap/domain indexes ******
Access Path: index (FullScan)
Index: EMP_DEPARTMENT_IX
resc_io: 1.00 resc_cpu: 28321
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 1.00 Resp: 1.00 Degree: 0
Access Path: index (FullScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 28521
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 1.00 Resp: 1.00 Degree: 0
******** Cost index join ********
Index join: Joining index EMP_NAME_IX
Index join: Joining index EMP_DEPARTMENT_IX
Ix HA Join
Outer table: EMPLOYEES Alias: E
resc: 1.00 card 1.00 bytes: 25 deg: 1 resp: 1.00
Inner table: <unnamed> Alias:
resc: 1.00 card: 107.00 bytes: 13 deg: 1 resp: 1.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 2.50 Resp: 2.50 [multiMatchCost=0.00]
Index join: Joining index EMP_EMP_ID_PK
Ix HA Join
Outer table: EMPLOYEES Alias: E
resc: 1.00 card 1.00 bytes: 38 deg: 1 resp: 1.00
Inner table: <unnamed> Alias:
resc: 1.00 card: 107.00 bytes: 14 deg: 1 resp: 1.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 2.50 Resp: 2.50 [multiMatchCost=0.00]
******** Index join cost ********
Cost: 5.00
******** End index join costing ********
Best:: AccessPath: IndexRange
Index: EMP_NAME_IX
Cost: 2.00 Degree: 1 Resp: 2.00 Card: 1.00 Bytes: 0
Access path analysis for DEPARTMENTS
***************************************
SINGLE TABLE ACCESS PATH
Single Table Cardinality Estimation for DEPARTMENTS[D]
Table: DEPARTMENTS Alias: D
Card: Original: 27.000000 Rounded: 1 Computed: 1.00 Non Adjusted: 1.00
Access Path: TableScan
Cost: 4.00 Resp: 4.00 Degree: 0
Cost_io: 4.00 Cost_cpu: 41547
Resp_io: 4.00 Resp_cpu: 41547
Best:: AccessPath: TableScan
Cost: 4.00 Degree: 1 Resp: 4.00 Card: 1.00 Bytes: 0
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
***************************************
OPTIMIZER STATISTICS AND COMPUTATIONS
***************************************
GENERAL PLANS
***************************************
Considering cardinality-based initial join order.
Permutations for Starting Table :0
Join order[1]: CUSTOMERS[C]#0 ORDERS[O]#3 EMPLOYEES[E]#2 DEPARTMENTS[D]#1 ORDER_ITEMS[OI]#6 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.01 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 19
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 150514
Resp_io: 11.00 Resp_cpu: 150514
kkofmx: index filter:"O"."CUSTOMER_ID">0
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (AllEqJoinGuess)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 16548
ix_sel: 0.021277 ix_sel_with_filters: 0.021277
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 50.00
***** End Logdef Adjustment ******
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 38883
Resp_io: 5.00 Resp_cpu: 38883
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 3.00 resc_cpu: 59164
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 81399
Resp_io: 6.00 Resp_cpu: 81399
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 38883
resp: 5.00 resp_io: 5.00 resc_cpu: 38883
Join Card: 0.017255 = = outer (0.010599) * inner (70.000000) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.02
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364685499
resp: 8.00 resp_io: 6.00 resp_cpu: 731364685499
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841233867
resp: 6.50 resp_io: 6.00 resp_cpu: 182841233867
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.02 Bytes: 30
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 0.02 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 30
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 117348
Resp_io: 9.00 Resp_cpu: 117348
Access Path: index (UniqueScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47404
Resp_io: 6.00 Resp_cpu: 47404
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Bitmap nodes:
Used EMP_NAME_IX
Cost = 5.000000, sel = 0.009346
Not used EMP_EMP_ID_PK
Cost = 5.000000, sel = 0.111111
****** finished trying bitmap/domain indexes ******
Best NL cost: 6.00
resc: 6.00 resc_io: 6.00 resc_cpu: 47404
resp: 6.00 resp_io: 6.00 resc_cpu: 47404
Join Card: 0.001917 = = outer (0.017255) * inner (1.000000) * sel (0.111111)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 43 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 9.00 Resp: 9.00 [multiMatchCost=0.00]
SM Join
SM cost: 9.00
resc: 9.00 resc_io: 7.00 resc_cpu: 731364639611
resp: 9.00 resp_io: 7.00 resp_cpu: 731364639611
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 7.50 Resp: 7.50 [multiMatchCost=0.00]
HA Join
HA cost: 7.50
resc: 7.50 resc_io: 7.00 resc_cpu: 182841200409
resp: 7.50 resp_io: 7.00 resp_cpu: 182841200409
Best:: JoinMethod: NestedLoop
Cost: 6.00 Degree: 1 Resp: 6.00 Card: 0.00 Bytes: 52
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.00 Cost: 6.00 Resp: 6.00 Degree: 1 Bytes: 52
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 88951
Resp_io: 10.00 Resp_cpu: 88951
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Best NL cost: 7.00
resc: 7.00 resc_io: 7.00 resc_cpu: 55795
resp: 7.00 resp_io: 7.00 resc_cpu: 55795
Join Card: 0.001899 = = outer (0.001917) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731364674887
resp: 12.00 resp_io: 10.00 resp_cpu: 731364674887
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841235685
resp: 10.50 resp_io: 10.00 resp_cpu: 182841235685
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#6
***************
NL Join
Outer table: Card: 0.00 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 244353
Resp_io: 11.00 Resp_cpu: 244353
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.001899) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
SM Join
SM cost: 13.00
resc: 13.00 resc_io: 11.00 resc_cpu: 731365111242
resp: 13.00 resp_io: 11.00 resp_cpu: 731365111242
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 11.50 Resp: 11.50 [multiMatchCost=0.00]
HA Join
HA cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841457487
resp: 11.50 resp_io: 11.00 resp_cpu: 182841457487
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup (#1, Index) PRD_DESC_PK
Col#: 1 2 CorStregth: 1.00
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Best:: JoinMethod: NestedLoop
Cost: 14.00 Degree: 1 Resp: 14.00 Card: 0.01 Bytes: 144
***********************
Best so far: Table#: 0 cost: 3.0000 card: 0.0106 bytes: 19
Table#: 3 cost: 5.0000 card: 0.0173 bytes: 30
Table#: 2 cost: 6.0000 card: 0.0019 bytes: 52
Table#: 1 cost: 7.0000 card: 0.0019 bytes: 68
Table#: 6 cost: 10.0000 card: 0.0120 bytes: 84
Table#: 4 cost: 11.0000 card: 0.0120 bytes: 104
Table#: 5 cost: 14.0000 card: 0.0120 bytes: 144
***********************
Join order[2]: CUSTOMERS[C]#0 ORDERS[O]#3 EMPLOYEES[E]#2 ORDER_ITEMS[OI]#6 DEPARTMENTS[D]#1 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: ORDER_ITEMS[OI]#6
***************
NL Join
Outer table: Card: 0.00 Cost: 6.00 Resp: 6.00 Degree: 1 Bytes: 52
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 235961
Resp_io: 10.00 Resp_cpu: 235961
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72628
Resp_io: 9.00 Resp_cpu: 72628
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72628
Resp_io: 9.00 Resp_cpu: 72628
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72628
Resp_io: 9.00 Resp_cpu: 72628
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 9.00
resc: 9.00 resc_io: 9.00 resc_cpu: 72628
resp: 9.00 resp_io: 9.00 resc_cpu: 72628
Join Card: 0.012142 = = outer (0.001917) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731365102850
resp: 12.00 resp_io: 10.00 resp_cpu: 731365102850
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841449095
resp: 10.50 resp_io: 10.00 resp_cpu: 182841449095
Best:: JoinMethod: NestedLoop
Cost: 9.00 Degree: 1 Resp: 9.00 Card: 0.01 Bytes: 68
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 9.00 Resp: 9.00 Degree: 1 Bytes: 68
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 13.00 Cost_cpu: 114175
Resp_io: 13.00 Resp_cpu: 114175
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
SM Join
SM cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364700111
resp: 15.00 resp_io: 13.00 resp_cpu: 731364700111
Outer table: ORDER_ITEMS Alias: OI
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 13.50 Resp: 13.50 [multiMatchCost=0.00]
HA Join
HA cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841260909
resp: 13.50 resp_io: 13.00 resp_cpu: 182841260909
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: DEPARTMENTS Alias: D
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Join order[3]: CUSTOMERS[C]#0 ORDERS[O]#3 EMPLOYEES[E]#2 ORDER_ITEMS[OI]#6 PRODUCT_INFORMATION[I]#4 DEPARTMENTS[D]#1 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 9.00 Resp: 9.00 Degree: 1 Bytes: 68
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 17.00 Resp: 17.00 Degree: 1
Cost_io: 17.00 Cost_cpu: 214167
Resp_io: 17.00 Resp_cpu: 214167
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 80970
Resp_io: 10.00 Resp_cpu: 80970
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 80970
Resp_io: 10.00 Resp_cpu: 80970
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 80970
resp: 10.00 resp_io: 10.00 resc_cpu: 80970
Join Card: 0.012142 = = outer (0.012142) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 19.00 Resp: 19.00 [multiMatchCost=0.00]
SM Join
SM cost: 19.00
resc: 19.00 resc_io: 17.00 resc_cpu: 731364906114
resp: 19.00 resp_io: 17.00 resp_cpu: 731364906114
Outer table: ORDER_ITEMS Alias: OI
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 17.50 Resp: 17.50 [multiMatchCost=0.00]
HA Join
HA cost: 17.50
resc: 17.50 resc_io: 17.00 resc_cpu: 182841389601
resp: 17.50 resp_io: 17.00 resp_cpu: 182841389601
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 88
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 88
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 14.00 Resp: 14.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 122517
Resp_io: 14.00 Resp_cpu: 122517
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 107 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 16.00 Resp: 16.00 [multiMatchCost=0.00]
SM Join
SM cost: 16.00
resc: 16.00 resc_io: 14.00 resc_cpu: 731364708453
resp: 16.00 resp_io: 14.00 resp_cpu: 731364708453
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
HA Join
HA cost: 14.50
resc: 14.50 resc_io: 14.00 resc_cpu: 182841269251
resp: 14.50 resp_io: 14.00 resp_cpu: 182841269251
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: DEPARTMENTS Alias: D
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Best:: JoinMethod: NestedLoop
Cost: 14.00 Degree: 1 Resp: 14.00 Card: 0.01 Bytes: 144
***********************
Best so far: Table#: 0 cost: 3.0000 card: 0.0106 bytes: 19
Table#: 3 cost: 5.0000 card: 0.0173 bytes: 30
Table#: 2 cost: 6.0000 card: 0.0019 bytes: 52
Table#: 6 cost: 9.0000 card: 0.0121 bytes: 68
Table#: 4 cost: 10.0000 card: 0.0121 bytes: 88
Table#: 1 cost: 11.0000 card: 0.0120 bytes: 104
Table#: 5 cost: 14.0000 card: 0.0120 bytes: 144
***********************
Join order[4]: CUSTOMERS[C]#0 ORDERS[O]#3 EMPLOYEES[E]#2 ORDER_ITEMS[OI]#6 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5 DEPARTMENTS[D]#1
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 88
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 189.00 Resp: 189.00 Degree: 1
Cost_io: 189.00 Cost_cpu: 6782463
Resp_io: 189.00 Resp_cpu: 6782463
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 90181
Resp_io: 11.00 Resp_cpu: 90181
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 90181
Resp_io: 11.00 Resp_cpu: 90181
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 90181
resp: 11.00 resp_io: 11.00 resc_cpu: 90181
Outer Join Card: 0.012142 = max ( outer (0.012142),(outer (0.012142) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 107 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 99.50 Resp: 99.50 [multiMatchCost=0.00]
SM Join
SM cost: 99.50
resc: 99.50 resc_io: 97.00 resc_cpu: 914212154966
resp: 99.50 resp_io: 97.00 resp_cpu: 914212154966
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 98.00 Resp: 98.00 [multiMatchCost=0.00]
HA Join
HA cost: 98.00
resc: 98.00 resc_io: 97.00 resc_cpu: 365688638453
resp: 98.00 resp_io: 97.00 resp_cpu: 365688638453
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 128
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 128
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 15.00 Cost_cpu: 131728
Resp_io: 15.00 Resp_cpu: 131728
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_DESCRIPTIONS Alias: D
resc: 11.00 card 0.01 bytes: 128 deg: 1 resp: 11.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 151 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 17.00 Resp: 17.00 [multiMatchCost=0.00]
SM Join
SM cost: 17.00
resc: 17.00 resc_io: 15.00 resc_cpu: 731364717664
resp: 17.00 resp_io: 15.00 resp_cpu: 731364717664
Outer table: PRODUCT_DESCRIPTIONS Alias: D
resc: 11.00 card 0.01 bytes: 128 deg: 1 resp: 11.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 15.50 Resp: 15.50 [multiMatchCost=0.00]
HA Join
HA cost: 15.50
resc: 15.50 resc_io: 15.00 resc_cpu: 182841278462
resp: 15.50 resp_io: 15.00 resp_cpu: 182841278462
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Join order aborted: cost > best plan cost
***********************
Join order[5]: CUSTOMERS[C]#0 ORDERS[O]#3 ORDER_ITEMS[OI]#6 EMPLOYEES[E]#2 DEPARTMENTS[D]#1 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: ORDER_ITEMS[OI]#6
***************
NL Join
Outer table: Card: 0.02 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 30
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 227440
Resp_io: 9.00 Resp_cpu: 227440
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 64107
Resp_io: 8.00 Resp_cpu: 64107
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 64107
Resp_io: 8.00 Resp_cpu: 64107
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 64107
Resp_io: 8.00 Resp_cpu: 64107
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 8.00
resc: 8.00 resc_io: 8.00 resc_cpu: 64107
resp: 8.00 resp_io: 8.00 resc_cpu: 64107
Join Card: 0.109281 = = outer (0.017255) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.11
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 43 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 11.00 Resp: 11.00 [multiMatchCost=0.00]
SM Join
SM cost: 11.00
resc: 11.00 resc_io: 9.00 resc_cpu: 731365094329
resp: 11.00 resp_io: 9.00 resp_cpu: 731365094329
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 9.50 Resp: 9.50 [multiMatchCost=0.00]
HA Join
HA cost: 9.50
resc: 9.50 resc_io: 9.00 resc_cpu: 182841440574
resp: 9.50 resp_io: 9.00 resp_cpu: 182841440574
Best:: JoinMethod: NestedLoop
Cost: 8.00 Degree: 1 Resp: 8.00 Card: 0.11 Bytes: 46
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 0.11 Cost: 8.00 Resp: 8.00 Degree: 1 Bytes: 46
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 142573
Resp_io: 12.00 Resp_cpu: 142573
Access Path: index (UniqueScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72679
Resp_io: 9.00 Resp_cpu: 72679
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72679
Resp_io: 9.00 Resp_cpu: 72679
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 72628
Resp_io: 9.00 Resp_cpu: 72628
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 65157
Resp_io: 8.00 Resp_cpu: 65157
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 65157
Resp_io: 8.00 Resp_cpu: 65157
Bitmap nodes:
Used EMP_NAME_IX
Cost = 8.000000, sel = 0.009346
Not used EMP_EMP_ID_PK
Cost = 8.000000, sel = 0.111111
****** finished trying bitmap/domain indexes ******
Best NL cost: 9.00
resc: 9.00 resc_io: 9.00 resc_cpu: 72628
resp: 9.00 resp_io: 9.00 resc_cpu: 72628
Join Card: 0.012142 = = outer (0.109281) * inner (1.000000) * sel (0.111111)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 8.00 card 0.11 bytes: 46 deg: 1 resp: 8.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 61 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731364664836
resp: 12.00 resp_io: 10.00 resp_cpu: 731364664836
Outer table: ORDER_ITEMS Alias: OI
resc: 8.00 card 0.11 bytes: 46 deg: 1 resp: 8.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841225634
resp: 10.50 resp_io: 10.00 resp_cpu: 182841225634
Best:: JoinMethod: NestedLoop
Cost: 9.00 Degree: 1 Resp: 9.00 Card: 0.01 Bytes: 68
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 9.00 Resp: 9.00 Degree: 1 Bytes: 68
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 13.00 Cost_cpu: 114175
Resp_io: 13.00 Resp_cpu: 114175
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
SM Join
SM cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364700111
resp: 15.00 resp_io: 13.00 resp_cpu: 731364700111
Outer table: EMPLOYEES Alias: E
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 13.50 Resp: 13.50 [multiMatchCost=0.00]
HA Join
HA cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841260909
resp: 13.50 resp_io: 13.00 resp_cpu: 182841260909
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: DEPARTMENTS Alias: D
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Join order[6]: CUSTOMERS[C]#0 ORDERS[O]#3 ORDER_ITEMS[OI]#6 EMPLOYEES[E]#2 PRODUCT_INFORMATION[I]#4 DEPARTMENTS[D]#1 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 9.00 Resp: 9.00 Degree: 1 Bytes: 68
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 17.00 Resp: 17.00 Degree: 1
Cost_io: 17.00 Cost_cpu: 214167
Resp_io: 17.00 Resp_cpu: 214167
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 80970
Resp_io: 10.00 Resp_cpu: 80970
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 80970
Resp_io: 10.00 Resp_cpu: 80970
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 80970
resp: 10.00 resp_io: 10.00 resc_cpu: 80970
Join Card: 0.012142 = = outer (0.012142) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 19.00 Resp: 19.00 [multiMatchCost=0.00]
SM Join
SM cost: 19.00
resc: 19.00 resc_io: 17.00 resc_cpu: 731364906114
resp: 19.00 resp_io: 17.00 resp_cpu: 731364906114
Outer table: EMPLOYEES Alias: E
resc: 9.00 card 0.01 bytes: 68 deg: 1 resp: 9.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 17.50 Resp: 17.50 [multiMatchCost=0.00]
HA Join
HA cost: 17.50
resc: 17.50 resc_io: 17.00 resc_cpu: 182841389601
resp: 17.50 resp_io: 17.00 resp_cpu: 182841389601
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 88
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 88
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 14.00 Resp: 14.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 122517
Resp_io: 14.00 Resp_cpu: 122517
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 107 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 16.00 Resp: 16.00 [multiMatchCost=0.00]
SM Join
SM cost: 16.00
resc: 16.00 resc_io: 14.00 resc_cpu: 731364708453
resp: 16.00 resp_io: 14.00 resp_cpu: 731364708453
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
HA Join
HA cost: 14.50
resc: 14.50 resc_io: 14.00 resc_cpu: 182841269251
resp: 14.50 resp_io: 14.00 resp_cpu: 182841269251
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: DEPARTMENTS Alias: D
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Join order[7]: CUSTOMERS[C]#0 ORDERS[O]#3 ORDER_ITEMS[OI]#6 EMPLOYEES[E]#2 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5 DEPARTMENTS[D]#1
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 88
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 189.00 Resp: 189.00 Degree: 1
Cost_io: 189.00 Cost_cpu: 6782463
Resp_io: 189.00 Resp_cpu: 6782463
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 90181
Resp_io: 11.00 Resp_cpu: 90181
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 90181
Resp_io: 11.00 Resp_cpu: 90181
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 90181
resp: 11.00 resp_io: 11.00 resc_cpu: 90181
Outer Join Card: 0.012142 = max ( outer (0.012142),(outer (0.012142) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 107 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 99.50 Resp: 99.50 [multiMatchCost=0.00]
SM Join
SM cost: 99.50
resc: 99.50 resc_io: 97.00 resc_cpu: 914212154966
resp: 99.50 resp_io: 97.00 resp_cpu: 914212154966
Outer table: PRODUCT_INFORMATION Alias: I
resc: 10.00 card 0.01 bytes: 88 deg: 1 resp: 10.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 98.00 Resp: 98.00 [multiMatchCost=0.00]
HA Join
HA cost: 98.00
resc: 98.00 resc_io: 97.00 resc_cpu: 365688638453
resp: 98.00 resp_io: 97.00 resp_cpu: 365688638453
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 128
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 128
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 15.00 Cost_cpu: 131728
Resp_io: 15.00 Resp_cpu: 131728
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Join Card: 0.012029 = = outer (0.012142) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_DESCRIPTIONS Alias: D
resc: 11.00 card 0.01 bytes: 128 deg: 1 resp: 11.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 151 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 17.00 Resp: 17.00 [multiMatchCost=0.00]
SM Join
SM cost: 17.00
resc: 17.00 resc_io: 15.00 resc_cpu: 731364717664
resp: 17.00 resp_io: 15.00 resp_cpu: 731364717664
Outer table: PRODUCT_DESCRIPTIONS Alias: D
resc: 11.00 card 0.01 bytes: 128 deg: 1 resp: 11.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 15.50 Resp: 15.50 [multiMatchCost=0.00]
HA Join
HA cost: 15.50
resc: 15.50 resc_io: 15.00 resc_cpu: 182841278462
resp: 15.50 resp_io: 15.00 resp_cpu: 182841278462
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :1
Join order[8]: EMPLOYEES[E]#2 DEPARTMENTS[D]#1 ORDERS[O]#3 CUSTOMERS[C]#0 ORDER_ITEMS[OI]#6 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 1.00 Cost: 2.00 Resp: 2.00 Degree: 1 Bytes: 22
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 56340
Resp_io: 6.00 Resp_cpu: 56340
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Best NL cost: 3.00
resc: 3.00 resc_io: 3.00 resc_cpu: 23184
resp: 3.00 resp_io: 3.00 resc_cpu: 23184
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: NestedLoop
Cost: 3.00 Degree: 1 Resp: 3.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 151463
Resp_io: 11.00 Resp_cpu: 151463
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 89727
Resp_io: 5.00 Resp_cpu: 89727
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 42582
Resp_io: 5.00 Resp_cpu: 42582
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 52156
Resp_io: 4.00 Resp_cpu: 52156
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 33556
Resp_io: 4.00 Resp_cpu: 33556
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 4.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 5.000188, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 42582
resp: 5.00 resp_io: 5.00 resc_cpu: 42582
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364686449
resp: 8.00 resp_io: 6.00 resp_cpu: 731364686449
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841234816
resp: 6.50 resp_io: 6.00 resp_cpu: 182841234816
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 3.85 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 32.00 Resp: 32.00 Degree: 1
Cost_io: 32.00 Cost_cpu: 719510
Resp_io: 32.00 Resp_cpu: 719510
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 13.00 Cost_cpu: 106436
Resp_io: 13.00 Resp_cpu: 106436
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 46782
Resp_io: 5.00 Resp_cpu: 46782
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 47582
Resp_io: 5.00 Resp_cpu: 47582
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 5.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 5.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 9.00
resc: 9.00 resc_io: 9.00 resc_cpu: 76229
resp: 9.00 resp_io: 9.00 resc_cpu: 76229
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 8.00 resc_cpu: 731364651113
resp: 10.00 resp_io: 8.00 resp_cpu: 731364651113
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 8.00 resc_cpu: 182841212001
resp: 8.50 resp_io: 8.00 resp_cpu: 182841212001
Best:: JoinMethod: Hash
Cost: 8.50 Degree: 1 Resp: 8.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#6
***************
NL Join
Outer table: Card: 0.00 Cost: 8.50 Resp: 8.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841400558
Resp_io: 12.00 Resp_cpu: 182841400558
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841237225
resp: 11.50 resp_io: 11.00 resc_cpu: 182841237225
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
SM Join
SM cost: 14.50
resc: 14.50 resc_io: 12.00 resc_cpu: 914206267447
resp: 14.50 resp_io: 12.00 resp_cpu: 914206267447
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
HA Join
HA cost: 13.00
resc: 13.00 resc_io: 12.00 resc_cpu: 365682613692
resp: 13.00 resp_io: 12.00 resp_cpu: 365682613692
Best:: JoinMethod: NestedLoop
Cost: 11.50 Degree: 1 Resp: 11.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 11.50 Resp: 11.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 19.50 Resp: 19.50 Degree: 1
Cost_io: 19.00 Cost_cpu: 182841378764
Resp_io: 19.00 Resp_cpu: 182841378764
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Best NL cost: 12.50
resc: 12.50 resc_io: 12.00 resc_cpu: 182841245566
resp: 12.50 resp_io: 12.00 resc_cpu: 182841245566
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 21.50 Resp: 21.50 [multiMatchCost=0.00]
SM Join
SM cost: 21.50
resc: 21.50 resc_io: 19.00 resc_cpu: 914206070710
resp: 21.50 resp_io: 19.00 resp_cpu: 914206070710
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
HA Join
HA cost: 20.00
resc: 20.00 resc_io: 19.00 resc_cpu: 365682554198
resp: 20.00 resp_io: 19.00 resp_cpu: 365682554198
Best:: JoinMethod: NestedLoop
Cost: 12.50 Degree: 1 Resp: 12.50 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 12.50 Resp: 12.50 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 191.50 Resp: 191.50 Degree: 1
Cost_io: 191.00 Cost_cpu: 182847947059
Resp_io: 191.00 Resp_cpu: 182847947059
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
Best NL cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841254778
resp: 13.50 resp_io: 13.00 resc_cpu: 182841254778
Outer Join Card: 0.006014 = max ( outer (0.006014),(outer (0.006014) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 102.00 Resp: 102.00 [multiMatchCost=0.00]
SM Join
SM cost: 102.00
resc: 102.00 resc_io: 99.00 resc_cpu: 1097053319562
resp: 102.00 resp_io: 99.00 resp_cpu: 1097053319562
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
HA Join
HA cost: 100.50
resc: 100.50 resc_io: 99.00 resc_cpu: 548529803050
resp: 100.50 resp_io: 99.00 resp_cpu: 548529803050
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.00601441537
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :2
Join order[9]: DEPARTMENTS[D]#1 EMPLOYEES[E]#2 ORDERS[O]#3 CUSTOMERS[C]#0 ORDER_ITEMS[OI]#6 PRODUCT_INFORMATION[I]#4 PRODUCT_DESCRIPTIONS[D]#5
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 1.00 Cost: 4.00 Resp: 4.00 Degree: 1 Bytes: 16
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 120013
Resp_io: 8.00 Resp_cpu: 120013
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 1.00 resc_cpu: 13963
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 55510
Resp_io: 5.00 Resp_cpu: 55510
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 50069
Resp_io: 5.00 Resp_cpu: 50069
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 42597
Resp_io: 4.00 Resp_cpu: 42597
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 0.00 resc_cpu: 2850
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 44397
Resp_io: 4.00 Resp_cpu: 44397
Bitmap nodes:
Used EMP_NAME_IX
Cost = 4.000000, sel = 0.009346
Not used EMP_DEPARTMENT_IX
Cost = 4.000000, sel = 0.495327
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 50069
resp: 5.00 resp_io: 5.00 resc_cpu: 50069
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
SM Join (with index on outer)
Access Path: index (FullScan)
Index: DEPT_ID_PK
resc_io: 2.00 resc_cpu: 25583
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 1
Outer table: DEPARTMENTS Alias: D
resc: 2.00 card 1.00 bytes: 16 deg: 1 resp: 2.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 5.00 Resp: 5.00 [multiMatchCost=0.00]
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: SortMerge
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 365682461622
Resp_io: 12.00 Resp_cpu: 365682461622
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682399887
Resp_io: 6.00 Resp_cpu: 365682399887
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682352741
Resp_io: 6.00 Resp_cpu: 365682352741
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682362315
Resp_io: 5.00 Resp_cpu: 365682362315
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682343715
Resp_io: 5.00 Resp_cpu: 365682343715
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 6.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 7.000235, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 7.00
resc: 7.00 resc_io: 6.00 resc_cpu: 365682352741
resp: 7.00 resp_io: 6.00 resc_cpu: 365682352741
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 7.00 resc_cpu: 1097046996608
resp: 10.00 resp_io: 7.00 resp_cpu: 1097046996608
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 7.00 resc_cpu: 548523544975
resp: 8.50 resp_io: 7.00 resp_cpu: 548523544975
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 3.85 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 34.00 Resp: 34.00 Degree: 1
Cost_io: 33.00 Cost_cpu: 365683029669
Resp_io: 33.00 Resp_cpu: 365683029669
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 365682416595
Resp_io: 14.00 Resp_cpu: 365682416595
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682356941
Resp_io: 6.00 Resp_cpu: 365682356941
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682357741
Resp_io: 6.00 Resp_cpu: 365682357741
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 7.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 7.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.00
resc: 11.00 resc_io: 10.00 resc_cpu: 365682386388
resp: 11.00 resp_io: 10.00 resc_cpu: 365682386388
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 9.00 resc_cpu: 1097046961272
resp: 12.00 resp_io: 9.00 resp_cpu: 1097046961272
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 9.00 resc_cpu: 548523522160
resp: 10.50 resp_io: 9.00 resp_cpu: 548523522160
Best:: JoinMethod: Hash
Cost: 10.50 Degree: 1 Resp: 10.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#6
***************
NL Join
Outer table: Card: 0.00 Cost: 10.50 Resp: 10.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523710717
Resp_io: 13.00 Resp_cpu: 548523710717
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 13.50
resc: 13.50 resc_io: 12.00 resc_cpu: 548523547384
resp: 13.50 resp_io: 12.00 resc_cpu: 548523547384
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 16.50 Resp: 16.50 [multiMatchCost=0.00]
SM Join
SM cost: 16.50
resc: 16.50 resc_io: 13.00 resc_cpu: 1279888577607
resp: 16.50 resp_io: 13.00 resp_cpu: 1279888577607
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
HA Join
HA cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364923851
resp: 15.00 resp_io: 13.00 resp_cpu: 731364923851
Best:: JoinMethod: NestedLoop
Cost: 13.50 Degree: 1 Resp: 13.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#4
***************
NL Join
Outer table: Card: 0.01 Cost: 13.50 Resp: 13.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 21.50 Resp: 21.50 Degree: 1
Cost_io: 20.00 Cost_cpu: 548523688923
Resp_io: 20.00 Resp_cpu: 548523688923
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Best NL cost: 14.50
resc: 14.50 resc_io: 13.00 resc_cpu: 548523555726
resp: 14.50 resp_io: 13.00 resc_cpu: 548523555726
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 23.50 Resp: 23.50 [multiMatchCost=0.00]
SM Join
SM cost: 23.50
resc: 23.50 resc_io: 20.00 resc_cpu: 1279888380870
resp: 23.50 resp_io: 20.00 resp_cpu: 1279888380870
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 22.00 Resp: 22.00 [multiMatchCost=0.00]
HA Join
HA cost: 22.00
resc: 22.00 resc_io: 20.00 resc_cpu: 731364864357
resp: 22.00 resp_io: 20.00 resp_cpu: 731364864357
Join order aborted: cost > best plan cost
***********************
***************************************
ADDITIONAL PLANS
***************************************
Considering RBO-ranked initial join order.
Best join order so far: 3
Permutations for Starting Table :0
Join order[10]: EMPLOYEES[E]#0 DEPARTMENTS[D]#1 ORDERS[O]#3 CUSTOMERS[C]#2 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 1.00 Cost: 2.00 Resp: 2.00 Degree: 1 Bytes: 22
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 56340
Resp_io: 6.00 Resp_cpu: 56340
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Best NL cost: 3.00
resc: 3.00 resc_io: 3.00 resc_cpu: 23184
resp: 3.00 resp_io: 3.00 resc_cpu: 23184
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: NestedLoop
Cost: 3.00 Degree: 1 Resp: 3.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 151463
Resp_io: 11.00 Resp_cpu: 151463
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 89727
Resp_io: 5.00 Resp_cpu: 89727
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 42582
Resp_io: 5.00 Resp_cpu: 42582
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 52156
Resp_io: 4.00 Resp_cpu: 52156
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 33556
Resp_io: 4.00 Resp_cpu: 33556
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 4.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 5.000188, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 42582
resp: 5.00 resp_io: 5.00 resc_cpu: 42582
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364686449
resp: 8.00 resp_io: 6.00 resp_cpu: 731364686449
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841234816
resp: 6.50 resp_io: 6.00 resp_cpu: 182841234816
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#2
***************
NL Join
Outer table: Card: 3.85 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 32.00 Resp: 32.00 Degree: 1
Cost_io: 32.00 Cost_cpu: 719510
Resp_io: 32.00 Resp_cpu: 719510
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 13.00 Cost_cpu: 106436
Resp_io: 13.00 Resp_cpu: 106436
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 46782
Resp_io: 5.00 Resp_cpu: 46782
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 47582
Resp_io: 5.00 Resp_cpu: 47582
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 5.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 5.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 9.00
resc: 9.00 resc_io: 9.00 resc_cpu: 76229
resp: 9.00 resp_io: 9.00 resc_cpu: 76229
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 8.00 resc_cpu: 731364651113
resp: 10.00 resp_io: 8.00 resp_cpu: 731364651113
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 8.00 resc_cpu: 182841212001
resp: 8.50 resp_io: 8.00 resp_cpu: 182841212001
Best:: JoinMethod: Hash
Cost: 8.50 Degree: 1 Resp: 8.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 8.50 Resp: 8.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841400558
Resp_io: 12.00 Resp_cpu: 182841400558
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841237225
resp: 11.50 resp_io: 11.00 resc_cpu: 182841237225
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
SM Join
SM cost: 14.50
resc: 14.50 resc_io: 12.00 resc_cpu: 914206267447
resp: 14.50 resp_io: 12.00 resp_cpu: 914206267447
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
HA Join
HA cost: 13.00
resc: 13.00 resc_io: 12.00 resc_cpu: 365682613692
resp: 13.00 resp_io: 12.00 resp_cpu: 365682613692
Best:: JoinMethod: NestedLoop
Cost: 11.50 Degree: 1 Resp: 11.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.50 Resp: 11.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 19.50 Resp: 19.50 Degree: 1
Cost_io: 19.00 Cost_cpu: 182841378764
Resp_io: 19.00 Resp_cpu: 182841378764
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Best NL cost: 12.50
resc: 12.50 resc_io: 12.00 resc_cpu: 182841245566
resp: 12.50 resp_io: 12.00 resc_cpu: 182841245566
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 21.50 Resp: 21.50 [multiMatchCost=0.00]
SM Join
SM cost: 21.50
resc: 21.50 resc_io: 19.00 resc_cpu: 914206070710
resp: 21.50 resp_io: 19.00 resp_cpu: 914206070710
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
HA Join
HA cost: 20.00
resc: 20.00 resc_io: 19.00 resc_cpu: 365682554198
resp: 20.00 resp_io: 19.00 resp_cpu: 365682554198
Best:: JoinMethod: NestedLoop
Cost: 12.50 Degree: 1 Resp: 12.50 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 12.50 Resp: 12.50 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 191.50 Resp: 191.50 Degree: 1
Cost_io: 191.00 Cost_cpu: 182847947059
Resp_io: 191.00 Resp_cpu: 182847947059
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
Best NL cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841254778
resp: 13.50 resp_io: 13.00 resc_cpu: 182841254778
Outer Join Card: 0.006014 = max ( outer (0.006014),(outer (0.006014) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 102.00 Resp: 102.00 [multiMatchCost=0.00]
SM Join
SM cost: 102.00
resc: 102.00 resc_io: 99.00 resc_cpu: 1097053319562
resp: 102.00 resp_io: 99.00 resp_cpu: 1097053319562
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
HA Join
HA cost: 100.50
resc: 100.50 resc_io: 99.00 resc_cpu: 548529803050
resp: 100.50 resp_io: 99.00 resp_cpu: 548529803050
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.00601441537
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :1
Join order[11]: CUSTOMERS[C]#2 ORDERS[O]#3 EMPLOYEES[E]#0 DEPARTMENTS[D]#1 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.01 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 19
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 150514
Resp_io: 11.00 Resp_cpu: 150514
kkofmx: index filter:"O"."CUSTOMER_ID">0
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (AllEqJoinGuess)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 16548
ix_sel: 0.021277 ix_sel_with_filters: 0.021277
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 50.00
***** End Logdef Adjustment ******
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 38883
Resp_io: 5.00 Resp_cpu: 38883
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 3.00 resc_cpu: 59164
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 81399
Resp_io: 6.00 Resp_cpu: 81399
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 38883
resp: 5.00 resp_io: 5.00 resc_cpu: 38883
Join Card: 0.017255 = = outer (0.010599) * inner (70.000000) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.02
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364685499
resp: 8.00 resp_io: 6.00 resp_cpu: 731364685499
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841233867
resp: 6.50 resp_io: 6.00 resp_cpu: 182841233867
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.02 Bytes: 30
***************
Now joining: EMPLOYEES[E]#0
***************
NL Join
Outer table: Card: 0.02 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 30
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 117348
Resp_io: 9.00 Resp_cpu: 117348
Access Path: index (UniqueScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47404
Resp_io: 6.00 Resp_cpu: 47404
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Bitmap nodes:
Used EMP_NAME_IX
Cost = 5.000000, sel = 0.009346
Not used EMP_EMP_ID_PK
Cost = 5.000000, sel = 0.111111
****** finished trying bitmap/domain indexes ******
Best NL cost: 6.00
resc: 6.00 resc_io: 6.00 resc_cpu: 47404
resp: 6.00 resp_io: 6.00 resc_cpu: 47404
Join Card: 0.001917 = = outer (0.017255) * inner (1.000000) * sel (0.111111)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 43 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 9.00 Resp: 9.00 [multiMatchCost=0.00]
SM Join
SM cost: 9.00
resc: 9.00 resc_io: 7.00 resc_cpu: 731364639611
resp: 9.00 resp_io: 7.00 resp_cpu: 731364639611
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 7.50 Resp: 7.50 [multiMatchCost=0.00]
HA Join
HA cost: 7.50
resc: 7.50 resc_io: 7.00 resc_cpu: 182841200409
resp: 7.50 resp_io: 7.00 resp_cpu: 182841200409
Best:: JoinMethod: NestedLoop
Cost: 6.00 Degree: 1 Resp: 6.00 Card: 0.00 Bytes: 52
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.00 Cost: 6.00 Resp: 6.00 Degree: 1 Bytes: 52
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 88951
Resp_io: 10.00 Resp_cpu: 88951
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Best NL cost: 7.00
resc: 7.00 resc_io: 7.00 resc_cpu: 55795
resp: 7.00 resp_io: 7.00 resc_cpu: 55795
Join Card: 0.001899 = = outer (0.001917) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731364674887
resp: 12.00 resp_io: 10.00 resp_cpu: 731364674887
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841235685
resp: 10.50 resp_io: 10.00 resp_cpu: 182841235685
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 244353
Resp_io: 11.00 Resp_cpu: 244353
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.001899) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
SM Join
SM cost: 13.00
resc: 13.00 resc_io: 11.00 resc_cpu: 731365111242
resp: 13.00 resp_io: 11.00 resp_cpu: 731365111242
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 11.50 Resp: 11.50 [multiMatchCost=0.00]
HA Join
HA cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841457487
resp: 11.50 resp_io: 11.00 resp_cpu: 182841457487
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :2
Join order[12]: DEPARTMENTS[D]#1 EMPLOYEES[E]#0 ORDERS[O]#3 CUSTOMERS[C]#2 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: EMPLOYEES[E]#0
***************
NL Join
Outer table: Card: 1.00 Cost: 4.00 Resp: 4.00 Degree: 1 Bytes: 16
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 120013
Resp_io: 8.00 Resp_cpu: 120013
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 1.00 resc_cpu: 13963
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 55510
Resp_io: 5.00 Resp_cpu: 55510
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 50069
Resp_io: 5.00 Resp_cpu: 50069
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 42597
Resp_io: 4.00 Resp_cpu: 42597
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 0.00 resc_cpu: 2850
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 44397
Resp_io: 4.00 Resp_cpu: 44397
Bitmap nodes:
Used EMP_NAME_IX
Cost = 4.000000, sel = 0.009346
Not used EMP_DEPARTMENT_IX
Cost = 4.000000, sel = 0.495327
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 50069
resp: 5.00 resp_io: 5.00 resc_cpu: 50069
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
SM Join (with index on outer)
Access Path: index (FullScan)
Index: DEPT_ID_PK
resc_io: 2.00 resc_cpu: 25583
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 1
Outer table: DEPARTMENTS Alias: D
resc: 2.00 card 1.00 bytes: 16 deg: 1 resp: 2.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 5.00 Resp: 5.00 [multiMatchCost=0.00]
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: SortMerge
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 365682461622
Resp_io: 12.00 Resp_cpu: 365682461622
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682399887
Resp_io: 6.00 Resp_cpu: 365682399887
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682352741
Resp_io: 6.00 Resp_cpu: 365682352741
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682362315
Resp_io: 5.00 Resp_cpu: 365682362315
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682343715
Resp_io: 5.00 Resp_cpu: 365682343715
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 6.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 7.000235, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 7.00
resc: 7.00 resc_io: 6.00 resc_cpu: 365682352741
resp: 7.00 resp_io: 6.00 resc_cpu: 365682352741
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 7.00 resc_cpu: 1097046996608
resp: 10.00 resp_io: 7.00 resp_cpu: 1097046996608
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 7.00 resc_cpu: 548523544975
resp: 8.50 resp_io: 7.00 resp_cpu: 548523544975
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#2
***************
NL Join
Outer table: Card: 3.85 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 34.00 Resp: 34.00 Degree: 1
Cost_io: 33.00 Cost_cpu: 365683029669
Resp_io: 33.00 Resp_cpu: 365683029669
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 365682416595
Resp_io: 14.00 Resp_cpu: 365682416595
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682356941
Resp_io: 6.00 Resp_cpu: 365682356941
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682357741
Resp_io: 6.00 Resp_cpu: 365682357741
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 7.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 7.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.00
resc: 11.00 resc_io: 10.00 resc_cpu: 365682386388
resp: 11.00 resp_io: 10.00 resc_cpu: 365682386388
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 9.00 resc_cpu: 1097046961272
resp: 12.00 resp_io: 9.00 resp_cpu: 1097046961272
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 9.00 resc_cpu: 548523522160
resp: 10.50 resp_io: 9.00 resp_cpu: 548523522160
Best:: JoinMethod: Hash
Cost: 10.50 Degree: 1 Resp: 10.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 10.50 Resp: 10.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523710717
Resp_io: 13.00 Resp_cpu: 548523710717
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 13.50
resc: 13.50 resc_io: 12.00 resc_cpu: 548523547384
resp: 13.50 resp_io: 12.00 resc_cpu: 548523547384
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 16.50 Resp: 16.50 [multiMatchCost=0.00]
SM Join
SM cost: 16.50
resc: 16.50 resc_io: 13.00 resc_cpu: 1279888577607
resp: 16.50 resp_io: 13.00 resp_cpu: 1279888577607
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
HA Join
HA cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364923851
resp: 15.00 resp_io: 13.00 resp_cpu: 731364923851
Best:: JoinMethod: NestedLoop
Cost: 13.50 Degree: 1 Resp: 13.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 13.50 Resp: 13.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 21.50 Resp: 21.50 Degree: 1
Cost_io: 20.00 Cost_cpu: 548523688923
Resp_io: 20.00 Resp_cpu: 548523688923
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Best NL cost: 14.50
resc: 14.50 resc_io: 13.00 resc_cpu: 548523555726
resp: 14.50 resp_io: 13.00 resc_cpu: 548523555726
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 23.50 Resp: 23.50 [multiMatchCost=0.00]
SM Join
SM cost: 23.50
resc: 23.50 resc_io: 20.00 resc_cpu: 1279888380870
resp: 23.50 resp_io: 20.00 resp_cpu: 1279888380870
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 22.00 Resp: 22.00 [multiMatchCost=0.00]
HA Join
HA cost: 22.00
resc: 22.00 resc_io: 20.00 resc_cpu: 731364864357
resp: 22.00 resp_io: 20.00 resp_cpu: 731364864357
Join order aborted: cost > best plan cost
***********************
***************************************
Considering join cardinality based initial join order.
Best join order so far: 3
Permutations for Starting Table :0
Join order[13]: CUSTOMERS[C]#0 ORDERS[O]#3 EMPLOYEES[E]#2 DEPARTMENTS[D]#1 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.01 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 19
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 150514
Resp_io: 11.00 Resp_cpu: 150514
kkofmx: index filter:"O"."CUSTOMER_ID">0
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (AllEqJoinGuess)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 16548
ix_sel: 0.021277 ix_sel_with_filters: 0.021277
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 50.00
***** End Logdef Adjustment ******
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 38883
Resp_io: 5.00 Resp_cpu: 38883
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 3.00 resc_cpu: 59164
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 81399
Resp_io: 6.00 Resp_cpu: 81399
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 38883
resp: 5.00 resp_io: 5.00 resc_cpu: 38883
Join Card: 0.017255 = = outer (0.010599) * inner (70.000000) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.02
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364685499
resp: 8.00 resp_io: 6.00 resp_cpu: 731364685499
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841233867
resp: 6.50 resp_io: 6.00 resp_cpu: 182841233867
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.02 Bytes: 30
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 0.02 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 30
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 117348
Resp_io: 9.00 Resp_cpu: 117348
Access Path: index (UniqueScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47404
Resp_io: 6.00 Resp_cpu: 47404
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Bitmap nodes:
Used EMP_NAME_IX
Cost = 5.000000, sel = 0.009346
Not used EMP_EMP_ID_PK
Cost = 5.000000, sel = 0.111111
****** finished trying bitmap/domain indexes ******
Best NL cost: 6.00
resc: 6.00 resc_io: 6.00 resc_cpu: 47404
resp: 6.00 resp_io: 6.00 resc_cpu: 47404
Join Card: 0.001917 = = outer (0.017255) * inner (1.000000) * sel (0.111111)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 43 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 9.00 Resp: 9.00 [multiMatchCost=0.00]
SM Join
SM cost: 9.00
resc: 9.00 resc_io: 7.00 resc_cpu: 731364639611
resp: 9.00 resp_io: 7.00 resp_cpu: 731364639611
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 7.50 Resp: 7.50 [multiMatchCost=0.00]
HA Join
HA cost: 7.50
resc: 7.50 resc_io: 7.00 resc_cpu: 182841200409
resp: 7.50 resp_io: 7.00 resp_cpu: 182841200409
Best:: JoinMethod: NestedLoop
Cost: 6.00 Degree: 1 Resp: 6.00 Card: 0.00 Bytes: 52
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 0.00 Cost: 6.00 Resp: 6.00 Degree: 1 Bytes: 52
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 88951
Resp_io: 10.00 Resp_cpu: 88951
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Best NL cost: 7.00
resc: 7.00 resc_io: 7.00 resc_cpu: 55795
resp: 7.00 resp_io: 7.00 resc_cpu: 55795
Join Card: 0.001899 = = outer (0.001917) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731364674887
resp: 12.00 resp_io: 10.00 resp_cpu: 731364674887
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841235685
resp: 10.50 resp_io: 10.00 resp_cpu: 182841235685
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 244353
Resp_io: 11.00 Resp_cpu: 244353
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.001899) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
SM Join
SM cost: 13.00
resc: 13.00 resc_io: 11.00 resc_cpu: 731365111242
resp: 13.00 resp_io: 11.00 resp_cpu: 731365111242
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 11.50 Resp: 11.50 [multiMatchCost=0.00]
HA Join
HA cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841457487
resp: 11.50 resp_io: 11.00 resp_cpu: 182841457487
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Best:: JoinMethod: NestedLoop
Cost: 14.00 Degree: 1 Resp: 14.00 Card: 0.01 Bytes: 144
***********************
Best so far: Table#: 0 cost: 3.0000 card: 0.0106 bytes: 19
Table#: 3 cost: 5.0000 card: 0.0173 bytes: 30
Table#: 2 cost: 6.0000 card: 0.0019 bytes: 52
Table#: 1 cost: 7.0000 card: 0.0019 bytes: 68
Table#: 4 cost: 10.0000 card: 0.0120 bytes: 84
Table#: 5 cost: 11.0000 card: 0.0120 bytes: 104
Table#: 6 cost: 14.0000 card: 0.0120 bytes: 144
***********************
Permutations for Starting Table :1
Join order[14]: EMPLOYEES[E]#2 DEPARTMENTS[D]#1 ORDERS[O]#3 CUSTOMERS[C]#0 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: DEPARTMENTS[D]#1
***************
NL Join
Outer table: Card: 1.00 Cost: 2.00 Resp: 2.00 Degree: 1 Bytes: 22
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 56340
Resp_io: 6.00 Resp_cpu: 56340
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 23184
Resp_io: 3.00 Resp_cpu: 23184
Best NL cost: 3.00
resc: 3.00 resc_io: 3.00 resc_cpu: 23184
resp: 3.00 resp_io: 3.00 resc_cpu: 23184
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: NestedLoop
Cost: 3.00 Degree: 1 Resp: 3.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 151463
Resp_io: 11.00 Resp_cpu: 151463
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 89727
Resp_io: 5.00 Resp_cpu: 89727
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 42582
Resp_io: 5.00 Resp_cpu: 42582
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 52156
Resp_io: 4.00 Resp_cpu: 52156
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 33556
Resp_io: 4.00 Resp_cpu: 33556
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 4.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 5.000188, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 42582
resp: 5.00 resp_io: 5.00 resc_cpu: 42582
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364686449
resp: 8.00 resp_io: 6.00 resp_cpu: 731364686449
Outer table: DEPARTMENTS Alias: D
resc: 3.00 card 0.50 bytes: 38 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841234816
resp: 6.50 resp_io: 6.00 resp_cpu: 182841234816
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 3.85 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 32.00 Resp: 32.00 Degree: 1
Cost_io: 32.00 Cost_cpu: 719510
Resp_io: 32.00 Resp_cpu: 719510
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 76229
Resp_io: 9.00 Resp_cpu: 76229
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 13.00 Cost_cpu: 106436
Resp_io: 13.00 Resp_cpu: 106436
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 46782
Resp_io: 5.00 Resp_cpu: 46782
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 47582
Resp_io: 5.00 Resp_cpu: 47582
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 5.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 5.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 9.00
resc: 9.00 resc_io: 9.00 resc_cpu: 76229
resp: 9.00 resp_io: 9.00 resc_cpu: 76229
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 8.00 resc_cpu: 731364651113
resp: 10.00 resp_io: 8.00 resp_cpu: 731364651113
Outer table: ORDERS Alias: O
resc: 5.00 card 3.85 bytes: 49 deg: 1 resp: 5.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 8.00 resc_cpu: 182841212001
resp: 8.50 resp_io: 8.00 resp_cpu: 182841212001
Best:: JoinMethod: Hash
Cost: 8.50 Degree: 1 Resp: 8.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 8.50 Resp: 8.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841400558
Resp_io: 12.00 Resp_cpu: 182841400558
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237225
Resp_io: 11.00 Resp_cpu: 182841237225
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841237225
resp: 11.50 resp_io: 11.00 resc_cpu: 182841237225
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
SM Join
SM cost: 14.50
resc: 14.50 resc_io: 12.00 resc_cpu: 914206267447
resp: 14.50 resp_io: 12.00 resp_cpu: 914206267447
Outer table: CUSTOMERS Alias: C
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
HA Join
HA cost: 13.00
resc: 13.00 resc_io: 12.00 resc_cpu: 365682613692
resp: 13.00 resp_io: 12.00 resp_cpu: 365682613692
Best:: JoinMethod: NestedLoop
Cost: 11.50 Degree: 1 Resp: 11.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.50 Resp: 11.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 19.50 Resp: 19.50 Degree: 1
Cost_io: 19.00 Cost_cpu: 182841378764
Resp_io: 19.00 Resp_cpu: 182841378764
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841245566
Resp_io: 12.00 Resp_cpu: 182841245566
Best NL cost: 12.50
resc: 12.50 resc_io: 12.00 resc_cpu: 182841245566
resp: 12.50 resp_io: 12.00 resc_cpu: 182841245566
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 21.50 Resp: 21.50 [multiMatchCost=0.00]
SM Join
SM cost: 21.50
resc: 21.50 resc_io: 19.00 resc_cpu: 914206070710
resp: 21.50 resp_io: 19.00 resp_cpu: 914206070710
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
HA Join
HA cost: 20.00
resc: 20.00 resc_io: 19.00 resc_cpu: 365682554198
resp: 20.00 resp_io: 19.00 resp_cpu: 365682554198
Best:: JoinMethod: NestedLoop
Cost: 12.50 Degree: 1 Resp: 12.50 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 12.50 Resp: 12.50 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 191.50 Resp: 191.50 Degree: 1
Cost_io: 191.00 Cost_cpu: 182847947059
Resp_io: 191.00 Resp_cpu: 182847947059
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841254778
Resp_io: 13.00 Resp_cpu: 182841254778
Best NL cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841254778
resp: 13.50 resp_io: 13.00 resc_cpu: 182841254778
Outer Join Card: 0.006014 = max ( outer (0.006014),(outer (0.006014) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 102.00 Resp: 102.00 [multiMatchCost=0.00]
SM Join
SM cost: 102.00
resc: 102.00 resc_io: 99.00 resc_cpu: 1097053319562
resp: 102.00 resp_io: 99.00 resp_cpu: 1097053319562
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
HA Join
HA cost: 100.50
resc: 100.50 resc_io: 99.00 resc_cpu: 548529803050
resp: 100.50 resp_io: 99.00 resp_cpu: 548529803050
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.00601441537
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :2
Join order[15]: DEPARTMENTS[D]#1 EMPLOYEES[E]#2 ORDERS[O]#3 CUSTOMERS[C]#0 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 1.00 Cost: 4.00 Resp: 4.00 Degree: 1 Bytes: 16
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 120013
Resp_io: 8.00 Resp_cpu: 120013
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 1.00 resc_cpu: 13963
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 55510
Resp_io: 5.00 Resp_cpu: 55510
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 50069
Resp_io: 5.00 Resp_cpu: 50069
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 42597
Resp_io: 4.00 Resp_cpu: 42597
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 0.00 resc_cpu: 2850
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 44397
Resp_io: 4.00 Resp_cpu: 44397
Bitmap nodes:
Used EMP_NAME_IX
Cost = 4.000000, sel = 0.009346
Not used EMP_DEPARTMENT_IX
Cost = 4.000000, sel = 0.495327
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 50069
resp: 5.00 resp_io: 5.00 resc_cpu: 50069
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
SM Join (with index on outer)
Access Path: index (FullScan)
Index: DEPT_ID_PK
resc_io: 2.00 resc_cpu: 25583
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 1
Outer table: DEPARTMENTS Alias: D
resc: 2.00 card 1.00 bytes: 16 deg: 1 resp: 2.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 5.00 Resp: 5.00 [multiMatchCost=0.00]
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: SortMerge
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#3
***************
NL Join
Outer table: Card: 0.50 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 365682461622
Resp_io: 12.00 Resp_cpu: 365682461622
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682399887
Resp_io: 6.00 Resp_cpu: 365682399887
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682352741
Resp_io: 6.00 Resp_cpu: 365682352741
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682362315
Resp_io: 5.00 Resp_cpu: 365682362315
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682343715
Resp_io: 5.00 Resp_cpu: 365682343715
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 6.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 7.000235, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 7.00
resc: 7.00 resc_io: 6.00 resc_cpu: 365682352741
resp: 7.00 resp_io: 6.00 resc_cpu: 365682352741
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 7.00 resc_cpu: 1097046996608
resp: 10.00 resp_io: 7.00 resp_cpu: 1097046996608
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 7.00 resc_cpu: 548523544975
resp: 8.50 resp_io: 7.00 resp_cpu: 548523544975
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 3.85 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 34.00 Resp: 34.00 Degree: 1
Cost_io: 33.00 Cost_cpu: 365683029669
Resp_io: 33.00 Resp_cpu: 365683029669
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 365682416595
Resp_io: 14.00 Resp_cpu: 365682416595
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682356941
Resp_io: 6.00 Resp_cpu: 365682356941
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682357741
Resp_io: 6.00 Resp_cpu: 365682357741
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 7.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 7.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.00
resc: 11.00 resc_io: 10.00 resc_cpu: 365682386388
resp: 11.00 resp_io: 10.00 resc_cpu: 365682386388
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 9.00 resc_cpu: 1097046961272
resp: 12.00 resp_io: 9.00 resp_cpu: 1097046961272
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 9.00 resc_cpu: 548523522160
resp: 10.50 resp_io: 9.00 resp_cpu: 548523522160
Best:: JoinMethod: Hash
Cost: 10.50 Degree: 1 Resp: 10.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 10.50 Resp: 10.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523710717
Resp_io: 13.00 Resp_cpu: 548523710717
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 13.50
resc: 13.50 resc_io: 12.00 resc_cpu: 548523547384
resp: 13.50 resp_io: 12.00 resc_cpu: 548523547384
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 16.50 Resp: 16.50 [multiMatchCost=0.00]
SM Join
SM cost: 16.50
resc: 16.50 resc_io: 13.00 resc_cpu: 1279888577607
resp: 16.50 resp_io: 13.00 resp_cpu: 1279888577607
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
HA Join
HA cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364923851
resp: 15.00 resp_io: 13.00 resp_cpu: 731364923851
Best:: JoinMethod: NestedLoop
Cost: 13.50 Degree: 1 Resp: 13.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 13.50 Resp: 13.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 21.50 Resp: 21.50 Degree: 1
Cost_io: 20.00 Cost_cpu: 548523688923
Resp_io: 20.00 Resp_cpu: 548523688923
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Best NL cost: 14.50
resc: 14.50 resc_io: 13.00 resc_cpu: 548523555726
resp: 14.50 resp_io: 13.00 resc_cpu: 548523555726
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 23.50 Resp: 23.50 [multiMatchCost=0.00]
SM Join
SM cost: 23.50
resc: 23.50 resc_io: 20.00 resc_cpu: 1279888380870
resp: 23.50 resp_io: 20.00 resp_cpu: 1279888380870
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 22.00 Resp: 22.00 [multiMatchCost=0.00]
HA Join
HA cost: 22.00
resc: 22.00 resc_io: 20.00 resc_cpu: 731364864357
resp: 22.00 resp_io: 20.00 resp_cpu: 731364864357
Join order aborted: cost > best plan cost
***********************
***************************************
Considering join cardinality with NL access based initial join order.
Best join order so far: 13
Permutations for Starting Table :0
Join order[16]: CUSTOMERS[C]#0 ORDERS[O]#1 EMPLOYEES[E]#2 DEPARTMENTS[D]#3 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: ORDERS[O]#1
***************
NL Join
Outer table: Card: 0.01 Cost: 3.00 Resp: 3.00 Degree: 1 Bytes: 19
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 150514
Resp_io: 11.00 Resp_cpu: 150514
kkofmx: index filter:"O"."CUSTOMER_ID">0
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (AllEqJoinGuess)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 16548
ix_sel: 0.021277 ix_sel_with_filters: 0.021277
***** Logdef predicate Adjustment ******
Final IO cst 0.00 , CPU cst 50.00
***** End Logdef Adjustment ******
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 38883
Resp_io: 5.00 Resp_cpu: 38883
Access Path: index (FullScan)
Index: ORD_SALES_REP_IX
resc_io: 3.00 resc_cpu: 59164
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 81399
Resp_io: 6.00 Resp_cpu: 81399
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 38883
resp: 5.00 resp_io: 5.00 resc_cpu: 38883
Join Card: 0.017255 = = outer (0.010599) * inner (70.000000) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.02
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364685499
resp: 8.00 resp_io: 6.00 resp_cpu: 731364685499
Outer table: CUSTOMERS Alias: C
resc: 3.00 card 0.01 bytes: 19 deg: 1 resp: 3.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841233867
resp: 6.50 resp_io: 6.00 resp_cpu: 182841233867
Best:: JoinMethod: NestedLoop
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.02 Bytes: 30
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 0.02 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 30
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 9.00 Resp: 9.00 Degree: 1
Cost_io: 9.00 Cost_cpu: 117348
Resp_io: 9.00 Resp_cpu: 117348
Access Path: index (UniqueScan)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 1.00 resc_cpu: 8572
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47454
Resp_io: 6.00 Resp_cpu: 47454
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 47404
Resp_io: 6.00 Resp_cpu: 47404
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Access Path: index (AllEqUnique)
Index: EMP_EMP_ID_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 39933
Resp_io: 5.00 Resp_cpu: 39933
Bitmap nodes:
Used EMP_NAME_IX
Cost = 5.000000, sel = 0.009346
Not used EMP_EMP_ID_PK
Cost = 5.000000, sel = 0.111111
****** finished trying bitmap/domain indexes ******
Best NL cost: 6.00
resc: 6.00 resc_io: 6.00 resc_cpu: 47404
resp: 6.00 resp_io: 6.00 resc_cpu: 47404
Join Card: 0.001917 = = outer (0.017255) * inner (1.000000) * sel (0.111111)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 43 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 9.00 Resp: 9.00 [multiMatchCost=0.00]
SM Join
SM cost: 9.00
resc: 9.00 resc_io: 7.00 resc_cpu: 731364639611
resp: 9.00 resp_io: 7.00 resp_cpu: 731364639611
Outer table: ORDERS Alias: O
resc: 5.00 card 0.02 bytes: 30 deg: 1 resp: 5.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 7.50 Resp: 7.50 [multiMatchCost=0.00]
HA Join
HA cost: 7.50
resc: 7.50 resc_io: 7.00 resc_cpu: 182841200409
resp: 7.50 resp_io: 7.00 resp_cpu: 182841200409
Best:: JoinMethod: NestedLoop
Cost: 6.00 Degree: 1 Resp: 6.00 Card: 0.00 Bytes: 52
***************
Now joining: DEPARTMENTS[D]#3
***************
NL Join
Outer table: Card: 0.00 Cost: 6.00 Resp: 6.00 Degree: 1 Bytes: 52
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 88951
Resp_io: 10.00 Resp_cpu: 88951
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 7.00 Cost_cpu: 55795
Resp_io: 7.00 Resp_cpu: 55795
Best NL cost: 7.00
resc: 7.00 resc_io: 7.00 resc_cpu: 55795
resp: 7.00 resp_io: 7.00 resc_cpu: 55795
Join Card: 0.001899 = = outer (0.001917) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 10.00 resc_cpu: 731364674887
resp: 12.00 resp_io: 10.00 resp_cpu: 731364674887
Outer table: EMPLOYEES Alias: E
resc: 6.00 card 0.00 bytes: 52 deg: 1 resp: 6.00
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 10.00 resc_cpu: 182841235685
resp: 10.50 resp_io: 10.00 resp_cpu: 182841235685
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 244353
Resp_io: 11.00 Resp_cpu: 244353
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 81020
Resp_io: 10.00 Resp_cpu: 81020
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 10.00
resc: 10.00 resc_io: 10.00 resc_cpu: 81020
resp: 10.00 resp_io: 10.00 resc_cpu: 81020
Join Card: 0.012029 = = outer (0.001899) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
SM Join
SM cost: 13.00
resc: 13.00 resc_io: 11.00 resc_cpu: 731365111242
resp: 13.00 resp_io: 11.00 resp_cpu: 731365111242
Outer table: DEPARTMENTS Alias: D
resc: 7.00 card 0.00 bytes: 68 deg: 1 resp: 7.00
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 11.50 Resp: 11.50 [multiMatchCost=0.00]
HA Join
HA cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841457487
resp: 11.50 resp_io: 11.00 resp_cpu: 182841457487
Best:: JoinMethod: NestedLoop
Cost: 10.00 Degree: 1 Resp: 10.00 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 10.00 Resp: 10.00 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 18.00 Resp: 18.00 Degree: 1
Cost_io: 18.00 Cost_cpu: 222558
Resp_io: 18.00 Resp_cpu: 222558
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 11.00 Cost_cpu: 89361
Resp_io: 11.00 Resp_cpu: 89361
Best NL cost: 11.00
resc: 11.00 resc_io: 11.00 resc_cpu: 89361
resp: 11.00 resp_io: 11.00 resc_cpu: 89361
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
SM Join
SM cost: 20.00
resc: 20.00 resc_io: 18.00 resc_cpu: 731364914505
resp: 20.00 resp_io: 18.00 resp_cpu: 731364914505
Outer table: ORDER_ITEMS Alias: OI
resc: 10.00 card 0.01 bytes: 84 deg: 1 resp: 10.00
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 18.50 Resp: 18.50 [multiMatchCost=0.00]
HA Join
HA cost: 18.50
resc: 18.50 resc_io: 18.00 resc_cpu: 182841397992
resp: 18.50 resp_io: 18.00 resp_cpu: 182841397992
Best:: JoinMethod: NestedLoop
Cost: 11.00 Degree: 1 Resp: 11.00 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 11.00 Resp: 11.00 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 190.00 Resp: 190.00 Degree: 1
Cost_io: 190.00 Cost_cpu: 6790854
Resp_io: 190.00 Resp_cpu: 6790854
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 98573
Resp_io: 12.00 Resp_cpu: 98573
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 98573
resp: 12.00 resp_io: 12.00 resc_cpu: 98573
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
SM Join
SM cost: 100.50
resc: 100.50 resc_io: 98.00 resc_cpu: 914212163357
resp: 100.50 resp_io: 98.00 resp_cpu: 914212163357
Outer table: PRODUCT_INFORMATION Alias: I
resc: 11.00 card 0.01 bytes: 104 deg: 1 resp: 11.00
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 99.00 Resp: 99.00 [multiMatchCost=0.00]
HA Join
HA cost: 99.00
resc: 99.00 resc_io: 98.00 resc_cpu: 365688646844
resp: 99.00 resp_io: 98.00 resp_cpu: 365688646844
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Best:: JoinMethod: NestedLoop
Cost: 14.00 Degree: 1 Resp: 14.00 Card: 0.01 Bytes: 144
***********************
Best so far: Table#: 0 cost: 3.0000 card: 0.0106 bytes: 19
Table#: 1 cost: 5.0000 card: 0.0173 bytes: 30
Table#: 2 cost: 6.0000 card: 0.0019 bytes: 52
Table#: 3 cost: 7.0000 card: 0.0019 bytes: 68
Table#: 4 cost: 10.0000 card: 0.0120 bytes: 84
Table#: 5 cost: 11.0000 card: 0.0120 bytes: 104
Table#: 6 cost: 14.0000 card: 0.0120 bytes: 144
***********************
Permutations for Starting Table :1
Join order[17]: EMPLOYEES[E]#2 ORDERS[O]#1 CUSTOMERS[C]#0 DEPARTMENTS[D]#3 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: ORDERS[O]#1
***************
NL Join
Outer table: Card: 1.00 Cost: 2.00 Resp: 2.00 Degree: 1 Bytes: 22
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 10.00 Resp: 10.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 143072
Resp_io: 10.00 Resp_cpu: 143072
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 81336
Resp_io: 4.00 Resp_cpu: 81336
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 34190
Resp_io: 4.00 Resp_cpu: 34190
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 43764
Resp_io: 3.00 Resp_cpu: 43764
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 3.00 Resp: 3.00 Degree: 1
Cost_io: 3.00 Cost_cpu: 25164
Resp_io: 3.00 Resp_cpu: 25164
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 3.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 4.000141, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 4.00
resc: 4.00 resc_io: 4.00 resc_cpu: 34190
resp: 4.00 resp_io: 4.00 resc_cpu: 34190
Join Card: 7.777778 = = outer (1.000000) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 8 Computed: 7.78
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 7.00 Resp: 7.00 [multiMatchCost=0.00]
SM Join
SM cost: 7.00
resc: 7.00 resc_io: 5.00 resc_cpu: 731364678057
resp: 7.00 resp_io: 5.00 resp_cpu: 731364678057
Outer table: EMPLOYEES Alias: E
resc: 2.00 card 1.00 bytes: 22 deg: 1 resp: 2.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 5.50 Resp: 5.50 [multiMatchCost=0.00]
HA Join
HA cost: 5.50
resc: 5.50 resc_io: 5.00 resc_cpu: 182841226425
resp: 5.50 resp_io: 5.00 resp_cpu: 182841226425
Best:: JoinMethod: NestedLoop
Cost: 4.00 Degree: 1 Resp: 4.00 Card: 7.78 Bytes: 33
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 7.78 Cost: 4.00 Resp: 4.00 Degree: 1 Bytes: 33
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 55.00 Resp: 55.00 Degree: 1
Cost_io: 55.00 Cost_cpu: 1388046
Resp_io: 55.00 Resp_cpu: 1388046
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 101484
Resp_io: 12.00 Resp_cpu: 101484
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 12.00 Resp: 12.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 101484
Resp_io: 12.00 Resp_cpu: 101484
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 20.00 Resp: 20.00 Degree: 1
Cost_io: 20.00 Cost_cpu: 161898
Resp_io: 20.00 Resp_cpu: 161898
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 42590
Resp_io: 4.00 Resp_cpu: 42590
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 44190
Resp_io: 4.00 Resp_cpu: 44190
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 4.000000, sel = 0.005682
Used CUSTOMERS_PK
Cost = 4.000000, sel = 0.023256
Access path: Bitmap index - accepted
Cost: 12.107945 Cost_io: 12.107945 Cost_cpu: 124551.056438 Sel: 0.000132
Not Believed to be index-only
****** finished trying bitmap/domain indexes ******
Best NL cost: 12.00
resc: 12.00 resc_io: 12.00 resc_cpu: 101484
resp: 12.00 resp_io: 12.00 resc_cpu: 101484
Join Card: 0.001917 = = outer (7.777778) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 4.00 card 7.78 bytes: 33 deg: 1 resp: 4.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 47 Total Rows: 8
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682294049
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 9.00 Resp: 9.00 [multiMatchCost=0.00]
SM Join
SM cost: 9.00
resc: 9.00 resc_io: 7.00 resc_cpu: 731364643442
resp: 9.00 resp_io: 7.00 resp_cpu: 731364643442
Outer table: ORDERS Alias: O
resc: 4.00 card 7.78 bytes: 33 deg: 1 resp: 4.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 7.50 Resp: 7.50 [multiMatchCost=0.00]
HA Join
HA cost: 7.50
resc: 7.50 resc_io: 7.00 resc_cpu: 182841204209
resp: 7.50 resp_io: 7.00 resp_cpu: 182841204209
Best:: JoinMethod: Hash
Cost: 7.50 Degree: 1 Resp: 7.50 Card: 0.00 Bytes: 52
***************
Now joining: DEPARTMENTS[D]#3
***************
NL Join
Outer table: Card: 0.00 Cost: 7.50 Resp: 7.50 Degree: 1 Bytes: 52
Access path analysis for DEPARTMENTS
Inner table: DEPARTMENTS Alias: D
Access Path: TableScan
NL Join: Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841245756
Resp_io: 11.00 Resp_cpu: 182841245756
Access Path: index (UniqueScan)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 8.50 Resp: 8.50 Degree: 1
Cost_io: 8.00 Cost_cpu: 182841212601
Resp_io: 8.00 Resp_cpu: 182841212601
Access Path: index (AllEqUnique)
Index: DEPT_ID_PK
resc_io: 1.00 resc_cpu: 8391
ix_sel: 0.037037 ix_sel_with_filters: 0.037037
NL Join : Cost: 8.50 Resp: 8.50 Degree: 1
Cost_io: 8.00 Cost_cpu: 182841212601
Resp_io: 8.00 Resp_cpu: 182841212601
Best NL cost: 8.50
resc: 8.50 resc_io: 8.00 resc_cpu: 182841212601
resp: 8.50 resp_io: 8.00 resc_cpu: 182841212601
Join Card: 0.001899 = = outer (0.001917) * inner (1.000000) * sel (0.990654)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 7.50 card 0.00 bytes: 52 deg: 1 resp: 7.50
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 68 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 13.50 Resp: 13.50 [multiMatchCost=0.00]
SM Join
SM cost: 13.50
resc: 13.50 resc_io: 11.00 resc_cpu: 914205831692
resp: 13.50 resp_io: 11.00 resp_cpu: 914205831692
Outer table: CUSTOMERS Alias: C
resc: 7.50 card 0.00 bytes: 52 deg: 1 resp: 7.50
Inner table: DEPARTMENTS Alias: D
resc: 4.00 card: 1.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
HA Join
HA cost: 12.00
resc: 12.00 resc_io: 11.00 resc_cpu: 365682392490
resp: 12.00 resp_io: 11.00 resp_cpu: 365682392490
Best:: JoinMethod: NestedLoop
Cost: 8.50 Degree: 1 Resp: 8.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 8.50 Resp: 8.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841401158
Resp_io: 12.00 Resp_cpu: 182841401158
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237825
Resp_io: 11.00 Resp_cpu: 182841237825
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237825
Resp_io: 11.00 Resp_cpu: 182841237825
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 11.50 Resp: 11.50 Degree: 1
Cost_io: 11.00 Cost_cpu: 182841237825
Resp_io: 11.00 Resp_cpu: 182841237825
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.50
resc: 11.50 resc_io: 11.00 resc_cpu: 182841237825
resp: 11.50 resp_io: 11.00 resc_cpu: 182841237825
Join Card: 0.012029 = = outer (0.001899) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 14.50 Resp: 14.50 [multiMatchCost=0.00]
SM Join
SM cost: 14.50
resc: 14.50 resc_io: 12.00 resc_cpu: 914206268047
resp: 14.50 resp_io: 12.00 resp_cpu: 914206268047
Outer table: DEPARTMENTS Alias: D
resc: 8.50 card 0.00 bytes: 68 deg: 1 resp: 8.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 13.00 Resp: 13.00 [multiMatchCost=0.00]
HA Join
HA cost: 13.00
resc: 13.00 resc_io: 12.00 resc_cpu: 365682614292
resp: 13.00 resp_io: 12.00 resp_cpu: 365682614292
Best:: JoinMethod: NestedLoop
Cost: 11.50 Degree: 1 Resp: 11.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 11.50 Resp: 11.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 19.50 Resp: 19.50 Degree: 1
Cost_io: 19.00 Cost_cpu: 182841379364
Resp_io: 19.00 Resp_cpu: 182841379364
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841246166
Resp_io: 12.00 Resp_cpu: 182841246166
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 12.50 Resp: 12.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 182841246166
Resp_io: 12.00 Resp_cpu: 182841246166
Best NL cost: 12.50
resc: 12.50 resc_io: 12.00 resc_cpu: 182841246166
resp: 12.50 resp_io: 12.00 resc_cpu: 182841246166
Join Card: 0.012029 = = outer (0.012029) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 21.50 Resp: 21.50 [multiMatchCost=0.00]
SM Join
SM cost: 21.50
resc: 21.50 resc_io: 19.00 resc_cpu: 914206071310
resp: 21.50 resp_io: 19.00 resp_cpu: 914206071310
Outer table: ORDER_ITEMS Alias: OI
resc: 11.50 card 0.01 bytes: 84 deg: 1 resp: 11.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 20.00 Resp: 20.00 [multiMatchCost=0.00]
HA Join
HA cost: 20.00
resc: 20.00 resc_io: 19.00 resc_cpu: 365682554798
resp: 20.00 resp_io: 19.00 resp_cpu: 365682554798
Best:: JoinMethod: NestedLoop
Cost: 12.50 Degree: 1 Resp: 12.50 Card: 0.01 Bytes: 104
***************
Now joining: PRODUCT_DESCRIPTIONS[D]#6
***************
NL Join
Outer table: Card: 0.01 Cost: 12.50 Resp: 12.50 Degree: 1 Bytes: 104
Access path analysis for PRODUCT_DESCRIPTIONS
Inner table: PRODUCT_DESCRIPTIONS Alias: D
Access Path: TableScan
NL Join: Cost: 191.50 Resp: 191.50 Degree: 1
Cost_io: 191.00 Cost_cpu: 182847947659
Resp_io: 191.00 Resp_cpu: 182847947659
Access Path: index (UniqueScan)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841255378
Resp_io: 13.00 Resp_cpu: 182841255378
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0001
Access Path: index (AllEqUnique)
Index: PRD_DESC_PK
resc_io: 1.00 resc_cpu: 9211
ix_sel: 0.000116 ix_sel_with_filters: 0.000116
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 182841255378
Resp_io: 13.00 Resp_cpu: 182841255378
Best NL cost: 13.50
resc: 13.50 resc_io: 13.00 resc_cpu: 182841255378
resp: 13.50 resp_io: 13.00 resc_cpu: 182841255378
Outer Join Card: 0.012029 = max ( outer (0.012029),(outer (0.012029) * inner (288.000000) * sel (0.003472)))
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 125 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 54 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 102.00 Resp: 102.00 [multiMatchCost=0.00]
SM Join
SM cost: 102.00
resc: 102.00 resc_io: 99.00 resc_cpu: 1097053320162
resp: 102.00 resp_io: 99.00 resp_cpu: 1097053320162
Outer table: PRODUCT_INFORMATION Alias: I
resc: 12.50 card 0.01 bytes: 104 deg: 1 resp: 12.50
Inner table: PRODUCT_DESCRIPTIONS Alias: D
resc: 87.50 card: 288.00 bytes: 40 deg: 1 resp: 87.50
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 100.50 Resp: 100.50 [multiMatchCost=0.00]
HA Join
HA cost: 100.50
resc: 100.50 resc_io: 99.00 resc_cpu: 548529803650
resp: 100.50 resp_io: 99.00 resp_cpu: 548529803650
GROUP BY sort
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
ORDER BY sort
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Plan cardinality mismatch: best card= 0.01202883073 curr card= 0.01202883073
Join order aborted: cost > best plan cost
***********************
Permutations for Starting Table :2
Join order[18]: DEPARTMENTS[D]#3 EMPLOYEES[E]#2 ORDERS[O]#1 CUSTOMERS[C]#0 ORDER_ITEMS[OI]#4 PRODUCT_INFORMATION[I]#5 PRODUCT_DESCRIPTIONS[D]#6
***************
Now joining: EMPLOYEES[E]#2
***************
NL Join
Outer table: Card: 1.00 Cost: 4.00 Resp: 4.00 Degree: 1 Bytes: 16
Access path analysis for EMPLOYEES
Inner table: EMPLOYEES Alias: E
Access Path: TableScan
NL Join: Cost: 8.00 Resp: 8.00 Degree: 1
Cost_io: 8.00 Cost_cpu: 120013
Resp_io: 8.00 Resp_cpu: 120013
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 1.00 resc_cpu: 13963
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 55510
Resp_io: 5.00 Resp_cpu: 55510
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 1.00 resc_cpu: 8521
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 5.00 Resp: 5.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 50069
Resp_io: 5.00 Resp_cpu: 50069
****** trying bitmap/domain indexes ******
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
Access Path: index (AllEqJoin)
Index: EMP_NAME_IX
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.009346 ix_sel_with_filters: 0.009346
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 42597
Resp_io: 4.00 Resp_cpu: 42597
Access Path: index (AllEqJoinGuess)
Index: EMP_DEPARTMENT_IX
resc_io: 0.00 resc_cpu: 2850
ix_sel: 0.091767 ix_sel_with_filters: 0.091767
NL Join : Cost: 4.00 Resp: 4.00 Degree: 1
Cost_io: 4.00 Cost_cpu: 44397
Resp_io: 4.00 Resp_cpu: 44397
Bitmap nodes:
Used EMP_NAME_IX
Cost = 4.000000, sel = 0.009346
Not used EMP_DEPARTMENT_IX
Cost = 4.000000, sel = 0.495327
****** finished trying bitmap/domain indexes ******
Best NL cost: 5.00
resc: 5.00 resc_io: 5.00 resc_cpu: 50069
resp: 5.00 resp_io: 5.00 resc_cpu: 50069
Join Card: 0.495327 = = outer (1.000000) * inner (1.000000) * sel (0.495327)
Join Card - Rounded: 1 Computed: 0.50
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 28 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 8.00 Resp: 8.00 [multiMatchCost=0.00]
SM Join
SM cost: 8.00
resc: 8.00 resc_io: 6.00 resc_cpu: 731364642276
resp: 8.00 resp_io: 6.00 resp_cpu: 731364642276
SM Join (with index on outer)
Access Path: index (FullScan)
Index: DEPT_ID_PK
resc_io: 2.00 resc_cpu: 25583
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
Cost: 2.00 Resp: 2.00 Degree: 1
Outer table: DEPARTMENTS Alias: D
resc: 2.00 card 1.00 bytes: 16 deg: 1 resp: 2.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 35 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 5.00 Resp: 5.00 [multiMatchCost=0.00]
Outer table: DEPARTMENTS Alias: D
resc: 4.00 card 1.00 bytes: 16 deg: 1 resp: 4.00
Inner table: EMPLOYEES Alias: E
resc: 2.00 card: 1.00 bytes: 22 deg: 1 resp: 2.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 6.50 Resp: 6.50 [multiMatchCost=0.00]
HA Join
HA cost: 6.50
resc: 6.50 resc_io: 6.00 resc_cpu: 182841203074
resp: 6.50 resp_io: 6.00 resp_cpu: 182841203074
Best:: JoinMethod: SortMerge
Cost: 5.00 Degree: 1 Resp: 5.00 Card: 0.50 Bytes: 38
***************
Now joining: ORDERS[O]#1
***************
NL Join
Outer table: Card: 0.50 Cost: 5.00 Resp: 5.00 Degree: 1 Bytes: 38
Access path analysis for ORDERS
Inner table: ORDERS Alias: O
Access Path: TableScan
NL Join: Cost: 13.00 Resp: 13.00 Degree: 1
Cost_io: 12.00 Cost_cpu: 365682461622
Resp_io: 12.00 Resp_cpu: 365682461622
kkofmx: index filter:"O"."SALES_REP_ID" IS NOT NULL
Access Path: index (RangeScan)
Index: ORD_CUSTOMER_IX
resc_io: 2.00 resc_cpu: 66543
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682399887
Resp_io: 6.00 Resp_cpu: 365682399887
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 2.00 resc_cpu: 19397
ix_sel: 0.111111 ix_sel_with_filters: 0.111111
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682352741
Resp_io: 6.00 Resp_cpu: 365682352741
****** trying bitmap/domain indexes ******
Access Path: index (IndexOnly)
Index: ORD_CUSTOMER_IX
resc_io: 1.00 resc_cpu: 28971
ix_sel: 1.000000 ix_sel_with_filters: 1.000000
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682362315
Resp_io: 5.00 Resp_cpu: 365682362315
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 21 Total Rows: 105
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682324731
Total Temp space used: 0
Access Path: index (AllEqJoinGuess)
Index: ORD_SALES_REP_IX
resc_io: 1.00 resc_cpu: 10371
ix_sel: 0.166667 ix_sel_with_filters: 0.166667
NL Join : Cost: 6.00 Resp: 6.00 Degree: 1
Cost_io: 5.00 Cost_cpu: 365682343715
Resp_io: 5.00 Resp_cpu: 365682343715
Bitmap nodes:
Used ORD_SALES_REP_IX
Cost = 6.000000, sel = 0.111111
Not used ORD_CUSTOMER_IX
Cost = 7.000235, sel = 1.000000
****** finished trying bitmap/domain indexes ******
Best NL cost: 7.00
resc: 7.00 resc_io: 6.00 resc_cpu: 365682352741
resp: 7.00 resp_io: 6.00 resc_cpu: 365682352741
Join Card: 3.852544 = = outer (0.495327) * inner (70.000000) * sel (0.111111)
Join Card - Rounded: 4 Computed: 3.85
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 52 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 23 Total Rows: 70
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682312299
Total Temp space used: 0
SM join: Resc: 10.00 Resp: 10.00 [multiMatchCost=0.00]
SM Join
SM cost: 10.00
resc: 10.00 resc_io: 7.00 resc_cpu: 1097046996608
resp: 10.00 resp_io: 7.00 resp_cpu: 1097046996608
Outer table: EMPLOYEES Alias: E
resc: 5.00 card 0.50 bytes: 38 deg: 1 resp: 5.00
Inner table: ORDERS Alias: O
resc: 3.00 card: 70.00 bytes: 11 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 8.50 Resp: 8.50 [multiMatchCost=0.00]
HA Join
HA cost: 8.50
resc: 8.50 resc_io: 7.00 resc_cpu: 548523544975
resp: 8.50 resp_io: 7.00 resp_cpu: 548523544975
Best:: JoinMethod: NestedLoop
Cost: 7.00 Degree: 1 Resp: 7.00 Card: 3.85 Bytes: 49
***************
Now joining: CUSTOMERS[C]#0
***************
NL Join
Outer table: Card: 3.85 Cost: 7.00 Resp: 7.00 Degree: 1 Bytes: 49
Access path analysis for CUSTOMERS
Inner table: CUSTOMERS Alias: C
Access Path: TableScan
NL Join: Cost: 34.00 Resp: 34.00 Degree: 1
Cost_io: 33.00 Cost_cpu: 365683029669
Resp_io: 33.00 Resp_cpu: 365683029669
Access Path: index (UniqueScan)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 1.00 resc_cpu: 8412
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 11.00 Resp: 11.00 Degree: 1
Cost_io: 10.00 Cost_cpu: 365682386388
Resp_io: 10.00 Resp_cpu: 365682386388
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 2.00 resc_cpu: 15964
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 15.00 Resp: 15.00 Degree: 1
Cost_io: 14.00 Cost_cpu: 365682416595
Resp_io: 14.00 Resp_cpu: 365682416595
****** trying bitmap/domain indexes ******
Access Path: index (AllEqUnique)
Index: CUSTOMERS_PK
resc_io: 0.00 resc_cpu: 1050
ix_sel: 0.003135 ix_sel_with_filters: 0.003135
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682356941
Resp_io: 6.00 Resp_cpu: 365682356941
Access Path: index (AllEqJoin)
Index: CUST_LNAME_IX
resc_io: 0.00 resc_cpu: 1250
ix_sel: 0.005682 ix_sel_with_filters: 0.005682
NL Join : Cost: 7.00 Resp: 7.00 Degree: 1
Cost_io: 6.00 Cost_cpu: 365682357741
Resp_io: 6.00 Resp_cpu: 365682357741
Bitmap nodes:
Used CUST_LNAME_IX
Cost = 7.000000, sel = 0.005682
Not used CUSTOMERS_PK
Cost = 7.000000, sel = 0.023256
****** finished trying bitmap/domain indexes ******
Best NL cost: 11.00
resc: 11.00 resc_io: 10.00 resc_cpu: 365682386388
resp: 11.00 resp_io: 10.00 resc_cpu: 365682386388
Join Card: 0.000950 = = outer (3.852544) * inner (0.010599) * sel (0.023256)
Join Card - Rounded: 1 Computed: 0.00
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 64 Total Rows: 4
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682293328
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 31 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SM join: Resc: 12.00 Resp: 12.00 [multiMatchCost=0.00]
SM Join
SM cost: 12.00
resc: 12.00 resc_io: 9.00 resc_cpu: 1097046961272
resp: 12.00 resp_io: 9.00 resp_cpu: 1097046961272
Outer table: ORDERS Alias: O
resc: 7.00 card 3.85 bytes: 49 deg: 1 resp: 7.00
Inner table: CUSTOMERS Alias: C
resc: 3.00 card: 0.01 bytes: 19 deg: 1 resp: 3.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 1 ppasses: 1
Hash join: Resc: 10.50 Resp: 10.50 [multiMatchCost=0.00]
HA Join
HA cost: 10.50
resc: 10.50 resc_io: 9.00 resc_cpu: 548523522160
resp: 10.50 resp_io: 9.00 resp_cpu: 548523522160
Best:: JoinMethod: Hash
Cost: 10.50 Degree: 1 Resp: 10.50 Card: 0.00 Bytes: 68
***************
Now joining: ORDER_ITEMS[OI]#4
***************
NL Join
Outer table: Card: 0.00 Cost: 10.50 Resp: 10.50 Degree: 1 Bytes: 68
Access path analysis for ORDER_ITEMS
Inner table: ORDER_ITEMS Alias: OI
Access Path: TableScan
NL Join: Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523710717
Resp_io: 13.00 Resp_cpu: 548523710717
Access Path: index (AllEqJoinGuess)
Index: ITEM_ORDER_IX
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_PK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
Access Path: index (RangeScan)
Index: ORDER_ITEMS_UK
resc_io: 3.00 resc_cpu: 25224
ix_sel: 0.009524 ix_sel_with_filters: 0.009524
NL Join : Cost: 13.50 Resp: 13.50 Degree: 1
Cost_io: 12.00 Cost_cpu: 548523547384
Resp_io: 12.00 Resp_cpu: 548523547384
****** trying bitmap/domain indexes ******
****** finished trying bitmap/domain indexes ******
Best NL cost: 13.50
resc: 13.50 resc_io: 12.00 resc_cpu: 548523547384
resp: 13.50 resp_io: 12.00 resc_cpu: 548523547384
Join Card: 0.006014 = = outer (0.000950) * inner (665.000000) * sel (0.009524)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 85 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 3 Row size: 28 Total Rows: 665
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682573921
Total Temp space used: 0
SM join: Resc: 16.50 Resp: 16.50 [multiMatchCost=0.00]
SM Join
SM cost: 16.50
resc: 16.50 resc_io: 13.00 resc_cpu: 1279888577607
resp: 16.50 resp_io: 13.00 resp_cpu: 1279888577607
Outer table: CUSTOMERS Alias: C
resc: 10.50 card 0.00 bytes: 68 deg: 1 resp: 10.50
Inner table: ORDER_ITEMS Alias: OI
resc: 4.00 card: 665.00 bytes: 16 deg: 1 resp: 4.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 3 ppasses: 1
Hash join: Resc: 15.00 Resp: 15.00 [multiMatchCost=0.00]
HA Join
HA cost: 15.00
resc: 15.00 resc_io: 13.00 resc_cpu: 731364923851
resp: 15.00 resp_io: 13.00 resp_cpu: 731364923851
Best:: JoinMethod: NestedLoop
Cost: 13.50 Degree: 1 Resp: 13.50 Card: 0.01 Bytes: 84
***************
Now joining: PRODUCT_INFORMATION[I]#5
***************
NL Join
Outer table: Card: 0.01 Cost: 13.50 Resp: 13.50 Degree: 1 Bytes: 84
Access path analysis for PRODUCT_INFORMATION
Inner table: PRODUCT_INFORMATION Alias: I
Access Path: TableScan
NL Join: Cost: 21.50 Resp: 21.50 Degree: 1
Cost_io: 20.00 Cost_cpu: 548523688923
Resp_io: 20.00 Resp_cpu: 548523688923
Access Path: index (UniqueScan)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Access Path: index (AllEqUnique)
Index: PRODUCT_INFORMATION_PK
resc_io: 1.00 resc_cpu: 8341
ix_sel: 0.003472 ix_sel_with_filters: 0.003472
NL Join : Cost: 14.50 Resp: 14.50 Degree: 1
Cost_io: 13.00 Cost_cpu: 548523555726
Resp_io: 13.00 Resp_cpu: 548523555726
Best NL cost: 14.50
resc: 14.50 resc_io: 13.00 resc_cpu: 548523555726
resp: 14.50 resp_io: 13.00 resc_cpu: 548523555726
Join Card: 0.006014 = = outer (0.006014) * inner (288.000000) * sel (0.003472)
Join Card - Rounded: 1 Computed: 0.01
Grouping column cardinality [DEPARTMENT] 1
Grouping column cardinality [FIRST_NAME] 1
Grouping column cardinality [ LAST_NAME] 1
Grouping column cardinality [LANGUAGE_I] 1
Grouping column cardinality [TRANSLATED] 282
Grouping column cardinality [PRODUCT_NA] 287
Grouping column cardinality [CUST_FIRST] 1
Grouping column cardinality [CUST_LAST_] 1
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 103 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 2 Row size: 32 Total Rows: 288
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682398979
Total Temp space used: 0
SM join: Resc: 23.50 Resp: 23.50 [multiMatchCost=0.00]
SM Join
SM cost: 23.50
resc: 23.50 resc_io: 20.00 resc_cpu: 1279888380870
resp: 23.50 resp_io: 20.00 resp_cpu: 1279888380870
Outer table: ORDER_ITEMS Alias: OI
resc: 13.50 card 0.01 bytes: 84 deg: 1 resp: 13.50
Inner table: PRODUCT_INFORMATION Alias: I
resc: 8.00 card: 288.00 bytes: 20 deg: 1 resp: 8.00
using dmeth: 2 #groups: 1
Cost per ptn: 0.50 #ptns: 1
hash_area: 124 (max=14336) buildfrag: 1 probefrag: 2 ppasses: 1
Hash join: Resc: 22.00 Resp: 22.00 [multiMatchCost=0.00]
HA Join
HA cost: 22.00
resc: 22.00 resc_io: 20.00 resc_cpu: 731364864357
resp: 22.00 resp_io: 20.00 resp_cpu: 731364864357
Join order aborted: cost > best plan cost
***********************
*********************************
Number of join permutations tried: 18
*********************************
Consider using bloom filter between C[CUSTOMERS] and O[ORDERS]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
Consider using bloom filter between O[ORDERS] and E[EMPLOYEES]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
Consider using bloom filter between E[EMPLOYEES] and D[DEPARTMENTS]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
Consider using bloom filter between D[DEPARTMENTS] and OI[ORDER_ITEMS]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
Consider using bloom filter between OI[ORDER_ITEMS] and I[PRODUCT_INFORMATION]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
Consider using bloom filter between I[PRODUCT_INFORMATION] and D[PRODUCT_DESCRIPTIONS]
kkoBloomFilter: join ndv:0 reduction:1.000000 (limit:0.500000) rejected because not a hash join
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.001441
GROUP BY cardinality: 1.000000, TABLE cardinality: 1.000000
SORT ressource Sort statistics
Sort width: 334 Area size: 292864 Max Area size: 58720256
Degree: 1
Blocks to Sort: 1 Row size: 169 Total Rows: 1
Initial runs: 1 Merge passes: 0 IO Cost / pass: 0
Total IO sort cost: 0 Total CPU sort cost: 365682292968
Total Temp space used: 0
Trying or-Expansion on query block SEL$4B12EFE6 (#1)
Transfer Optimizer annotations for query block SEL$4B12EFE6 (#1)
id=0 frofkks[i] (index start key) predicate="C"."CUST_LAST_NAME"='Harris'
id=0 frofkke[i] (index stop key) predicate="C"."CUST_LAST_NAME"='Harris'
id=0 frofand predicate="C"."CUST_FIRST_NAME"='Gena'
id=0 frofkks[i] (index start key) predicate="O"."CUSTOMER_ID"="C"."CUSTOMER_ID"
id=0 frofkke[i] (index stop key) predicate="O"."CUSTOMER_ID"="C"."CUSTOMER_ID"
id=0 froiand (index only filter) predicate="O"."CUSTOMER_ID">0
id=0 frofand predicate="O"."SALES_REP_ID" IS NOT NULL
id=0 frofkks[i] (index start key) predicate="E"."LAST_NAME"='Smith'
id=0 frofkks[i] (index start key) predicate="E"."FIRST_NAME"='William'
id=0 frofkke[i] (index stop key) predicate="E"."LAST_NAME"='Smith'
id=0 frofkke[i] (index stop key) predicate="E"."FIRST_NAME"='William'
id=0 frofand predicate="O"."SALES_REP_ID"="E"."EMPLOYEE_ID"
id=0 frofkks[i] (index start key) predicate="D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID"
id=0 frofkke[i] (index stop key) predicate="D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID"
id=0 frofand predicate="D"."DEPARTMENT_NAME"='Sales'
id=0 frofkks[i] (index start key) predicate="O"."ORDER_ID"="OI"."ORDER_ID"
id=0 frofkke[i] (index stop key) predicate="O"."ORDER_ID"="OI"."ORDER_ID"
id=0 frofkks[i] (index start key) predicate="OI"."PRODUCT_ID"="I"."PRODUCT_ID"
id=0 frofkke[i] (index stop key) predicate="OI"."PRODUCT_ID"="I"."PRODUCT_ID"
id=0 frofkks[i] (index start key) predicate="D"."PRODUCT_ID"(+)="I"."PRODUCT_ID"
id=0 frofkks[i] (index start key) predicate="D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
id=0 frofkke[i] (index stop key) predicate="D"."PRODUCT_ID"(+)="I"."PRODUCT_ID"
id=0 frofkke[i] (index stop key) predicate="D"."LANGUAGE_ID"(+)=SYS_CONTEXT('USERENV','LANG')
id=0 froutand predicate=CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END =U'Mobile Web Phone'
ColGroup Usage:: PredCnt: 2 Matches Full: #1 Partial: Sel: 0.0093
ColGroup Usage:: PredCnt: 2 Matches Full: Partial:
GROUP BY adjustment factor: 0.011528
Final cost for query block SEL$4B12EFE6 (#1) - All Rows Plan:
Best join order: 16
Cost: 14.0000 Degree: 1 Card: 1.0000 Bytes: 144
Resc: 14.0000 Resc_io: 12.0000 Resc_cpu: 731364684509
Resp: 14.0000 Resp_io: 12.0000 Resc_cpu: 731364684509
kkoqbc-end:
:
kkoqbc: finish optimizing query block SEL$4B12EFE6 (#1)
apadrv-end
:
Starting SQL statement dump
user_id=101 user_name=AST module=SQL*Plus action=
sql_id=3qy33cc7bz0y2 plan_hash_value=738251008 problem_type=3
----- Current SQL Statement for this session (sql_id=3qy33cc7bz0y2) -----
SELECT /*+ opt_param('_optimizer_use_feedback', 'false') */
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
, SUM(oi.quantity)
, sum(oi.unit_price * oi.quantity) total_price
FROM
oe.orders o
, oe.order_items oi
, oe.products prod
, oe.customers c
, oe.promotions prom
, hr.employees e
, hr.departments d
WHERE
-- joins
o.order_id = oi.order_id
AND oi.product_id = prod.product_id
AND o.promotion_id = prom.promo_id (+)
AND o.customer_id = c.customer_id
AND o.sales_rep_id = e.employee_id
AND d.department_id = e.department_id
-- filters
AND d.department_name = 'Sales'
AND e.first_name = 'William'
AND e.last_name = 'Smith'
AND prod.product_name = 'Mobile Web Phone'
AND c.cust_first_name = 'Gena'
AND c.cust_last_name = 'Harris'
GROUP BY
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
ORDER BY
total_price
sql_text_length=1059
sql=SELECT /*+ opt_param('_optimizer_use_feedback', 'false') */
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_last_name
, SUM(oi.quantity)
, sum(oi.unit_price * oi.quantity) total_price
FROM
sql= oe.orders o
, oe.order_items oi
, oe.products prod
, oe.customers c
, oe.promotions prom
, hr.employees e
, hr.departments d
WHERE
-- joins
o.order_id = oi.order_id
AND oi.product_id = prod.product_id
AND o
sql=.promotion_id = prom.promo_id (+)
AND o.customer_id = c.customer_id
AND o.sales_rep_id = e.employee_id
AND d.department_id = e.department_id
-- filters
AND d.department_name = 'Sales'
AND e.first_name = 'William'
AND e.last_
sql=name = 'Smith'
AND prod.product_name = 'Mobile Web Phone'
AND c.cust_first_name = 'Gena'
AND c.cust_last_name = 'Harris'
GROUP BY
d.department_name
, e.first_name
, e.last_name
, prod.product_name
, c.cust_first_name
, c.cust_l
sql=ast_name
ORDER BY
total_price
----- Explain Plan Dump -----
----- Plan Table -----
============
Plan Table
============
----------------------------------------------------------------------+-----------------------------------+
| Id | Operation | Name | Rows | Bytes | Cost | Time |
----------------------------------------------------------------------+-----------------------------------+
| 0 | SELECT STATEMENT | | | | 14 | |
| 1 | SORT ORDER BY | | 1 | 144 | 14 | 01:05:42 |
| 2 | HASH GROUP BY | | 1 | 144 | 14 | 01:05:42 |
| 3 | FILTER | | | | | |
| 4 | NESTED LOOPS OUTER | | 1 | 144 | 12 | 00:55:27 |
| 5 | NESTED LOOPS | | 1 | 104 | 11 | 00:51:50 |
| 6 | NESTED LOOPS | | 1 | 84 | 10 | 00:46:13 |
| 7 | NESTED LOOPS | | 1 | 68 | 7 | 00:32:21 |
| 8 | NESTED LOOPS | | 1 | 52 | 6 | 00:28:44 |
| 9 | NESTED LOOPS | | 1 | 30 | 5 | 00:23:07 |
| 10 | TABLE ACCESS BY INDEX ROWID | CUSTOMERS | 1 | 19 | 3 | 00:14:52 |
| 11 | INDEX RANGE SCAN | CUST_LNAME_IX | 2 | | 1 | 00:05:38 |
| 12 | TABLE ACCESS BY INDEX ROWID | ORDERS | 2 | 22 | 2 | 00:09:15 |
| 13 | INDEX RANGE SCAN | ORD_CUSTOMER_IX | 2 | | 1 | 00:05:38 |
| 14 | TABLE ACCESS BY INDEX ROWID | EMPLOYEES | 1 | 22 | 1 | 00:05:38 |
| 15 | INDEX RANGE SCAN | EMP_NAME_IX | 1 | | 0 | |
| 16 | TABLE ACCESS BY INDEX ROWID | DEPARTMENTS | 1 | 16 | 1 | 00:05:38 |
| 17 | INDEX UNIQUE SCAN | DEPT_ID_PK | 1 | | 0 | |
| 18 | TABLE ACCESS BY INDEX ROWID | ORDER_ITEMS | 6 | 96 | 3 | 00:14:52 |
| 19 | INDEX RANGE SCAN | ITEM_ORDER_IX | 6 | | 1 | 00:05:38 |
| 20 | TABLE ACCESS BY INDEX ROWID | PRODUCT_INFORMATION | 1 | 20 | 1 | 00:05:38 |
| 21 | INDEX UNIQUE SCAN | PRODUCT_INFORMATION_PK| 1 | | 0 | |
| 22 | TABLE ACCESS BY INDEX ROWID | PRODUCT_DESCRIPTIONS | 1 | 40 | 1 | 00:05:38 |
| 23 | INDEX UNIQUE SCAN | PRD_DESC_PK | 1 | | 0 | |
----------------------------------------------------------------------+-----------------------------------+
Predicate Information:
----------------------
3 - filter(CASE WHEN "D"."LANGUAGE_ID" IS NOT NULL THEN "D"."TRANSLATED_NAME" ELSE CSCONVERT("I"."PRODUCT_NAME",'NCHAR_CS') END =U'Mobile Web Phone')
10 - filter("C"."CUST_FIRST_NAME"='Gena')
11 - access("C"."CUST_LAST_NAME"='Harris')
12 - filter("O"."SALES_REP_ID" IS NOT NULL)
13 - access("O"."CUSTOMER_ID"="C"."CUSTOMER_ID")
13 - filter("O"."CUSTOMER_ID">0)
14 - filter("O"."SALES_REP_ID"="E"."EMPLOYEE_ID")
15 - access("E"."LAST_NAME"='Smith' AND "E"."FIRST_NAME"='William')
16 - filter("D"."DEPARTMENT_NAME"='Sales')
17 - access("D"."DEPARTMENT_ID"="E"."DEPARTMENT_ID")
19 - access("O"."ORDER_ID"="OI"."ORDER_ID")
21 - access("OI"."PRODUCT_ID"="I"."PRODUCT_ID")
23 - access("D"."PRODUCT_ID"="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"=SYS_CONTEXT('USERENV','LANG'))
Content of other_xml column
===========================
db_version : 11.2.0.1
parse_schema : AST
plan_hash : 738251008
plan_hash_2 : 419624811
Outline Data:
/*+
BEGIN_OUTLINE_DATA
IGNORE_OPTIM_EMBEDDED_HINTS
OPTIMIZER_FEATURES_ENABLE('11.2.0.1')
DB_VERSION('11.2.0.1')
OPT_PARAM('_optimizer_use_feedback' 'false')
ALL_ROWS
OUTLINE_LEAF(@"SEL$4B12EFE6")
MERGE(@"SEL$2")
OUTLINE(@"SEL$31BE1502")
ELIMINATE_JOIN(@"SEL$1" "PROM"@"SEL$1")
OUTLINE(@"SEL$2")
OUTLINE(@"SEL$1")
INDEX_RS_ASC(@"SEL$4B12EFE6" "C"@"SEL$1" ("CUSTOMERS"."CUST_LAST_NAME"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "O"@"SEL$1" ("ORDERS"."CUSTOMER_ID"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "E"@"SEL$1" ("EMPLOYEES"."LAST_NAME" "EMPLOYEES"."FIRST_NAME"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "D"@"SEL$1" ("DEPARTMENTS"."DEPARTMENT_ID"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "OI"@"SEL$1" ("ORDER_ITEMS"."ORDER_ID"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "I"@"SEL$2" ("PRODUCT_INFORMATION"."PRODUCT_ID"))
INDEX_RS_ASC(@"SEL$4B12EFE6" "D"@"SEL$2" ("PRODUCT_DESCRIPTIONS"."PRODUCT_ID" "PRODUCT_DESCRIPTIONS"."LANGUAGE_ID"))
LEADING(@"SEL$4B12EFE6" "C"@"SEL$1" "O"@"SEL$1" "E"@"SEL$1" "D"@"SEL$1" "OI"@"SEL$1" "I"@"SEL$2" "D"@"SEL$2")
USE_NL(@"SEL$4B12EFE6" "O"@"SEL$1")
USE_NL(@"SEL$4B12EFE6" "E"@"SEL$1")
USE_NL(@"SEL$4B12EFE6" "D"@"SEL$1")
USE_NL(@"SEL$4B12EFE6" "OI"@"SEL$1")
USE_NL(@"SEL$4B12EFE6" "I"@"SEL$2")
USE_NL(@"SEL$4B12EFE6" "D"@"SEL$2")
USE_HASH_AGGREGATION(@"SEL$4B12EFE6")
END_OUTLINE_DATA
*/
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 = 2
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 = 286720 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 = 286 KB
_smm_max_size = 57344 KB
_smm_px_max_size = 143360 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 = 126
_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 = 4
total_cpu_count = 2
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 Environment
fix 3834770 = 1
fix 3746511 = enabled
fix 4519016 = enabled
fix 3118776 = enabled
fix 4488689 = enabled
fix 2194204 = disabled
fix 2660592 = enabled
fix 2320291 = enabled
fix 2324795 = enabled
fix 4308414 = enabled
fix 3499674 = disabled
fix 4569940 = enabled
fix 4631959 = enabled
fix 4519340 = enabled
fix 4550003 = enabled
fix 1403283 = enabled
fix 4554846 = enabled
fix 4602374 = enabled
fix 4584065 = enabled
fix 4545833 = enabled
fix 4611850 = enabled
fix 4663698 = enabled
fix 4663804 = enabled
fix 4666174 = enabled
fix 4567767 = enabled
fix 4556762 = 15
fix 4728348 = enabled
fix 4708389 = enabled
fix 4175830 = enabled
fix 4752814 = enabled
fix 4583239 = enabled
fix 4386734 = enabled
fix 4887636 = enabled
fix 4483240 = enabled
fix 4872602 = disabled
fix 4711525 = enabled
fix 4545802 = enabled
fix 4605810 = enabled
fix 4704779 = enabled
fix 4900129 = enabled
fix 4924149 = enabled
fix 4663702 = enabled
fix 4878299 = enabled
fix 4658342 = enabled
fix 4881533 = enabled
fix 4676955 = enabled
fix 4273361 = enabled
fix 4967068 = enabled
fix 4969880 = disabled
fix 5005866 = enabled
fix 5015557 = enabled
fix 4705343 = enabled
fix 4904838 = enabled
fix 4716096 = enabled
fix 4483286 = disabled
fix 4722900 = enabled
fix 4615392 = enabled
fix 5096560 = enabled
fix 5029464 = enabled
fix 4134994 = enabled
fix 4904890 = enabled
fix 5104624 = enabled
fix 5014836 = enabled
fix 4768040 = enabled
fix 4600710 = enabled
fix 5129233 = enabled
fix 4595987 = enabled
fix 4908162 = enabled
fix 5139520 = enabled
fix 5084239 = enabled
fix 5143477 = disabled
fix 2663857 = enabled
fix 4717546 = enabled
fix 5240264 = disabled
fix 5099909 = enabled
fix 5240607 = enabled
fix 5195882 = enabled
fix 5220356 = enabled
fix 5263572 = enabled
fix 5385629 = enabled
fix 5302124 = enabled
fix 5391942 = enabled
fix 5384335 = enabled
fix 5482831 = enabled
fix 4158812 = enabled
fix 5387148 = enabled
fix 5383891 = enabled
fix 5466973 = enabled
fix 5396162 = enabled
fix 5394888 = enabled
fix 5395291 = enabled
fix 5236908 = enabled
fix 5509293 = enabled
fix 5449488 = enabled
fix 5567933 = enabled
fix 5570494 = enabled
fix 5288623 = enabled
fix 5505995 = enabled
fix 5505157 = enabled
fix 5112460 = enabled
fix 5554865 = enabled
fix 5112260 = enabled
fix 5112352 = enabled
fix 5547058 = enabled
fix 5618040 = enabled
fix 5585313 = enabled
fix 5547895 = enabled
fix 5634346 = enabled
fix 5620485 = enabled
fix 5483301 = enabled
fix 5657044 = enabled
fix 5694984 = enabled
fix 5868490 = enabled
fix 5650477 = enabled
fix 5611962 = enabled
fix 4279274 = enabled
fix 5741121 = enabled
fix 5714944 = enabled
fix 5391505 = enabled
fix 5762598 = enabled
fix 5578791 = enabled
fix 5259048 = enabled
fix 5882954 = enabled
fix 2492766 = enabled
fix 5707608 = enabled
fix 5891471 = enabled
fix 5884780 = enabled
fix 5680702 = enabled
fix 5371452 = enabled
fix 5838613 = enabled
fix 5949981 = enabled
fix 5624216 = enabled
fix 5741044 = enabled
fix 5976822 = enabled
fix 6006457 = enabled
fix 5872956 = enabled
fix 5923644 = enabled
fix 5943234 = enabled
fix 5844495 = enabled
fix 4168080 = enabled
fix 6020579 = enabled
fix 5842686 = disabled
fix 5996801 = enabled
fix 5593639 = enabled
fix 6133948 = enabled
fix 3151991 = enabled
fix 6146906 = enabled
fix 6239909 = enabled
fix 6267621 = enabled
fix 5909305 = enabled
fix 6279918 = enabled
fix 6141818 = enabled
fix 6151963 = enabled
fix 6251917 = enabled
fix 6282093 = enabled
fix 6119510 = enabled
fix 6119382 = enabled
fix 3801750 = enabled
fix 5705630 = disabled
fix 5944076 = enabled
fix 5406763 = enabled
fix 6070954 = enabled
fix 6282944 = enabled
fix 6138746 = enabled
fix 6082745 = enabled
fix 3426050 = enabled
fix 599680 = enabled
fix 6062266 = enabled
fix 6087237 = enabled
fix 6122894 = enabled
fix 6377505 = enabled
fix 5893768 = enabled
fix 6163564 = enabled
fix 6073325 = enabled
fix 6188881 = enabled
fix 6007259 = enabled
fix 6239971 = enabled
fix 5284200 = disabled
fix 6042205 = enabled
fix 6051211 = enabled
fix 6434668 = enabled
fix 6438752 = enabled
fix 5936366 = enabled
fix 6439032 = enabled
fix 6438892 = enabled
fix 6006300 = enabled
fix 5947231 = enabled
fix 5416118 = 1
fix 6365442 = 1
fix 6239039 = enabled
fix 6502845 = enabled
fix 6913094 = enabled
fix 6029469 = enabled
fix 5919513 = enabled
fix 6057611 = enabled
fix 6469667 = enabled
fix 6608941 = disabled
fix 6368066 = enabled
fix 6329318 = enabled
fix 6656356 = enabled
fix 4507997 = enabled
fix 6671155 = enabled
fix 6694548 = enabled
fix 6688200 = enabled
fix 6612471 = enabled
fix 6708183 = disabled
fix 6326934 = enabled
fix 6520717 = disabled
fix 6714199 = enabled
fix 6681545 = enabled
fix 6748058 = enabled
fix 6167716 = enabled
fix 6674254 = enabled
fix 6468287 = enabled
fix 6503543 = enabled
fix 6808773 = disabled
fix 6766962 = enabled
fix 6120483 = enabled
fix 6670551 = enabled
fix 6771838 = enabled
fix 6626018 = disabled
fix 6530596 = enabled
fix 6778642 = enabled
fix 6699059 = enabled
fix 6376551 = enabled
fix 6429113 = enabled
fix 6782437 = enabled
fix 6776808 = enabled
fix 6765823 = enabled
fix 6768660 = enabled
fix 6782665 = enabled
fix 6610822 = enabled
fix 6514189 = enabled
fix 6818410 = enabled
fix 6827696 = enabled
fix 6773613 = enabled
fix 5902962 = enabled
fix 6956212 = enabled
fix 3056297 = enabled
fix 6440977 = disabled
fix 6972291 = disabled
fix 6904146 = enabled
fix 6221403 = enabled
fix 5475051 = enabled
fix 6845871 = enabled
fix 5468809 = enabled
fix 6917633 = enabled
fix 4444536 = disabled
fix 6955210 = enabled
fix 6994194 = enabled
fix 6399597 = disabled
fix 6951776 = enabled
fix 5648287 = 3
fix 6987082 = disabled
fix 7132036 = enabled
fix 6980350 = enabled
fix 5199213 = enabled
fix 7138405 = enabled
fix 7148689 = enabled
fix 6820988 = enabled
fix 7032684 = enabled
fix 6617866 = enabled
fix 7155968 = enabled
fix 7127980 = enabled
fix 6982954 = enabled
fix 7241819 = enabled
fix 6897034 = enabled
fix 7236148 = enabled
fix 7298570 = enabled
fix 7249095 = enabled
fix 7314499 = enabled
fix 7324224 = enabled
fix 7289023 = enabled
fix 7237571 = enabled
fix 7116357 = enabled
fix 7345484 = enabled
fix 7375179 = enabled
fix 6430500 = disabled
fix 5897486 = enabled
fix 6774209 = enabled
fix 7306637 = enabled
fix 6451322 = enabled
fix 7208131 = enabled
fix 7388652 = enabled
fix 7127530 = enabled
fix 6751206 = enabled
fix 6669103 = enabled
fix 7430474 = enabled
fix 6990305 = enabled
fix 7043307 = enabled
fix 6921505 = enabled
fix 7388457 = enabled
fix 3120429 = enabled
fix 7452823 = disabled
fix 6838105 = enabled
fix 6769711 = enabled
fix 7170213 = enabled
fix 6528872 = enabled
fix 7295298 = enabled
fix 5922070 = enabled
fix 7259468 = enabled
fix 6418552 = enabled
fix 4619997 = enabled
fix 7524366 = enabled
fix 6942476 = enabled
fix 6418771 = enabled
fix 7375077 = enabled
fix 5400639 = enabled
fix 4570921 = enabled
fix 7426911 = enabled
fix 5099019 = disabled
fix 7528216 = enabled
fix 7521266 = enabled
fix 7385140 = enabled
fix 7576516 = enabled
fix 7573526 = enabled
fix 7576476 = enabled
fix 7165898 = enabled
fix 7263214 = enabled
fix 3320140 = enabled
fix 7555510 = enabled
fix 7613118 = enabled
fix 7597059 = enabled
fix 7558911 = enabled
fix 5520732 = enabled
fix 7679490 = disabled
fix 7449971 = enabled
fix 3628118 = enabled
fix 4370840 = enabled
fix 7281191 = enabled
fix 7519687 = enabled
fix 5029592 = 3
fix 6012093 = 1
fix 6053861 = disabled
fix 6941515 = disabled
fix 7696414 = enabled
fix 7272039 = enabled
fix 7834811 = enabled
fix 7640597 = enabled
fix 7341616 = enabled
fix 7168184 = enabled
fix 399198 = enabled
fix 7831070 = enabled
fix 7676897 = disabled
fix 7414637 = enabled
fix 7585456 = enabled
fix 8202421 = enabled
fix 7658097 = disabled
fix 8251486 = enabled
fix 7132684 = enabled
fix 7512227 = enabled
fix 6972987 = enabled
fix 7199035 = enabled
fix 8243446 = enabled
fix 7650462 = enabled
fix 6720701 = enabled
fix 7592673 = enabled
fix 7718694 = enabled
fix 7534027 = enabled
fix 7708267 = enabled
fix 5716785 = enabled
fix 7356191 = enabled
fix 7679161 = enabled
fix 7597159 = enabled
fix 7499258 = enabled
fix 8328363 = enabled
fix 7452863 = enabled
fix 8284930 = enabled
fix 7298626 = enabled
fix 7657126 = enabled
fix 8371884 = enabled
fix 8318020 = enabled
fix 8255423 = enabled
fix 7135745 = enabled
fix 8356253 = enabled
fix 7534257 = enabled
fix 8323407 = enabled
fix 7539815 = enabled
fix 8289316 = enabled
fix 8447850 = enabled
fix 7675944 = enabled
fix 8355120 = enabled
fix 7176746 = enabled
fix 8442891 = enabled
fix 8373261 = enabled
fix 7679164 = enabled
fix 7670533 = enabled
fix 8408665 = enabled
fix 8491399 = enabled
fix 8348392 = enabled
fix 8348585 = enabled
fix 8508056 = enabled
fix 8335178 = enabled
fix 8515269 = enabled
fix 8247017 = enabled
fix 7325597 = enabled
fix 8531490 = enabled
fix 6163600 = enabled
fix 8589278 = disabled
fix 8557992 = enabled
fix 7556098 = enabled
fix 8580883 = enabled
fix 5892599 = disabled
fix 8609714 = enabled
fix 8514561 = enabled
fix 8619631 = disabled
Query Block Registry:
SEL$2 0xfdb563d0 (PARSER)
SEL$4B12EFE6 0xfdbfdca8 (VIEW MERGE SEL$31BE1502; SEL$2) [FINAL]
SEL$1 0xfdbfdca8 (PARSER)
SEL$31BE1502 0xfdbfdca8 (JOIN REMOVED FROM QUERY BLOCK SEL$1; SEL$1; "PROM"@"SEL$1")
SEL$4B12EFE6 0xfdbfdca8 (VIEW MERGE SEL$31BE1502; SEL$2) [FINAL]
SEL$31BE1502 0xfdbfdca8 (JOIN REMOVED FROM QUERY BLOCK SEL$1; SEL$1; "PROM"@"SEL$1")
...
:
End of Optimizer State Dump
Dumping Hints
=============
atom_hint=(@=3a4cf6098 err=0 resol=0 used=1 token=1087 org=1 lvl=1 txt=OPT_PARAM ())
====================== END SQL Statement Dump ======================