Trace file C:\APP\ORACLE\diag\rdbms\orclz\orclz\trace\orclz_ora_15528_BMJ.trc Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 Build label: RDBMS_19.3.0.0.0DBRU_WINDOWS.X64_190528 Windows NT Version V6.2 ORACLE_HOME = C:\app\oracle\product\19.3.0 Node name : JW CPU : 8 - type 86644 physical cores Process Affinity : 0x0000000000000000 Memory (Avail/Total): Ph:9137M/16287M, Ph+PgF:6838M/18719M Instance name: orclz Redo thread mounted by this instance: 1 Oracle process number: 59 Windows thread id: 15528, image: ORACLE.EXE (SHAD) *** 2020-10-08T10:08:10.973227+01:00 *** SESSION ID:(381.54982) 2020-10-08T10:08:10.973227+01:00 *** CLIENT ID:() 2020-10-08T10:08:10.973227+01:00 *** SERVICE NAME:(SYS$USERS) 2020-10-08T10:08:10.973227+01:00 *** MODULE NAME:(SQL*Plus) 2020-10-08T10:08:10.973227+01:00 *** ACTION NAME:() 2020-10-08T10:08:10.973227+01:00 *** CLIENT DRIVER:(SQL*PLUS) 2020-10-08T10:08:10.973227+01:00 *** TRACE CONTINUED FROM FILE C:\APP\ORACLE\diag\rdbms\orclz\orclz\trace\orclz_ora_15528.trc *** Registered qb: SEL$1 0x5e160d8 (PARSER) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$1 nbfros=2 flg=0 fro(0): flg=4 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=4 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" Registered qb: SEL$2 0x5e14410 (PARSER) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$2 nbfros=2 flg=0 fro(0): flg=4 objn=76358 hint_alias="LOCATIONS"@"SEL$2" fro(1): flg=5 objn=0 hint_alias="from$_subquery$_003"@"SEL$2" Registered qb: SEL$3 0x5e12870 (PARSER) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$3 nbfros=2 flg=0 fro(0): flg=4 objn=76351 hint_alias="COUNTRIES"@"SEL$3" fro(1): flg=5 objn=0 hint_alias="from$_subquery$_005"@"SEL$3" Registered qb: SEL$4 0x5e11330 (PARSER) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$4 nbfros=2 flg=0 fro(0): flg=4 objn=76369 hint_alias="REGIONS"@"SEL$4" fro(1): flg=5 objn=0 hint_alias="from$_subquery$_007"@"SEL$4" Registered qb: SEL$5 0x5c598b0 (PARSER) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$5 nbfros=1 flg=0 fro(0): flg=5 objn=0 hint_alias="from$_subquery$_009"@"SEL$5" ************************** Automatic degree of parallelism (AUTODOP) ************************** Automatic degree of parallelism is disabled: Parameter. kkopqSetForceParallelProperties: Hint:no Query: compute:yes forced:no forceDop:0 Global Manual Dop: 1 - Rounded?: no PM: Considering predicate move-around in query block SEL$5 (#0) ************************** Predicate Move-Around (PM) ************************** OPTIMIZER INFORMATION ****************************************** ----- Current SQL Statement for this session (sql_id=8n5ggzm2v03nb) ----- select count(*) from employees join departments using(department_id) join locations using(location_id) join countries using (country_id) join regions using (region_id) where region_name='Europe' ******************************************* 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 CBY - connect by SLP - select list pruning DP - distinct placement VT - vector transformation AAT - Approximate Aggregate Transformation ORE - CBQT OR-Expansion LORE - Legacy OR-Expansion 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 AP - adaptive plans *************************************** PARAMETERS USED BY THE OPTIMIZER ******************************** ************************************* PARAMETERS WITH ALTERED VALUES ****************************** Compilation Environment Dump optimizer_dynamic_sampling = 0 optimizer_use_sql_plan_baselines = false 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 = 19.1.0 _optimizer_search_limit = 5 cpu_count = 8 active_instance_count = 1 parallel_threads_per_cpu = 1 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 = 256000 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 = 256 KB _smm_max_size_static = 51200 KB _smm_px_max_size_static = 128000 KB _cpu_to_io = 0 _optimizer_undo_cost_change = 19.1.0 parallel_query_mode = enabled _enable_parallel_dml = 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 = false _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 _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_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 = 100 _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_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 = 192 _parallel_syspls_obey_force = true cell_offload_processing = true _rdbms_internal_fplib_enabled = false db_file_multiblock_read_count = 61 _bloom_folding_enabled = true _mv_generalized_oj_refresh_opt = true cell_offload_compaction = ADAPTIVE cell_offload_plan_display = AUTO _bloom_predicate_offload = true _bloom_filter_size = 0 _bloom_pushing_max = 512 parallel_degree_limit = 65535 parallel_force_local = false parallel_max_degree = 8 total_cpu_count = 8 _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 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 _dml_frequency_tracking = false _optimizer_interleave_jppd = true kkb_drop_empty_segments = 0 _px_partition_scan_enabled = true _px_partition_scan_threshold = 64 _optimizer_false_filter_pred_pullup = true _bloom_minmax_enabled = true only_move_row = 0 _optimizer_enable_table_lookup_by_nl = true parallel_execution_message_size = 16384 _px_loc_msg_cost = 1000 _px_net_msg_cost = 10000 _optimizer_generate_transitive_pred = true _optimizer_cube_join_enabled = true _optimizer_filter_pushdown = true deferred_segment_creation = true _optimizer_outer_join_to_inner = true _allow_level_without_connect_by = false _max_rwgs_groupings = 8192 _optimizer_hybrid_fpwj_enabled = true _px_replication_enabled = true ilm_filter = 0 _optimizer_partial_join_eval = true _px_concurrent = true _px_object_sampling_enabled = true _px_back_to_parallel = OFF _optimizer_unnest_scalar_sq = true _optimizer_full_outer_join_to_outer = true _px_filter_parallelized = true _px_filter_skew_handling = true _zonemap_use_enabled = true _zonemap_control = 0 _optimizer_multi_table_outerjoin = true _px_groupby_pushdown = force _partition_advisor_srs_active = true _optimizer_ansi_join_lateral_enhance = true _px_parallelize_expression = true _fast_index_maintenance = true _optimizer_ansi_rearchitecture = true _optimizer_gather_stats_on_load = true ilm_access_tracking = 0 ilm_dml_timestamp = 0 _px_adaptive_dist_method = choose _px_adaptive_dist_method_threshold = 0 _optimizer_batch_table_access_by_rowid = true optimizer_adaptive_reporting_only = false _optimizer_ads_max_table_count = 0 _optimizer_ads_time_limit = 0 _optimizer_ads_use_result_cache = true _px_wif_dfo_declumping = choose _px_wif_extend_distribution_keys = true _px_join_skew_handling = true _px_join_skew_ratio = 10 _px_join_skew_minfreq = 30 CLI_internal_cursor = 0 _parallel_fault_tolerance_enabled = false _parallel_fault_tolerance_threshold = 3 _px_partial_rollup_pushdown = adaptive _px_single_server_enabled = true _optimizer_dsdir_usage_control = 0 _px_cpu_autodop_enabled = true _px_cpu_process_bandwidth = 200 _sql_hvshare_threshold = 0 _px_tq_rowhvs = true _optimizer_use_gtt_session_stats = true _optimizer_proc_rate_level = basic _px_hybrid_TSM_HWMB_load = true _optimizer_use_histograms = true PMO_altidx_rebuild = 0 _cell_offload_expressions = true _cell_materialize_virtual_columns = true _cell_materialize_all_expressions = false _rowsets_enabled = true _rowsets_target_maxsize = 524288 _rowsets_max_rows = 256 _use_hidden_partitions = 0 _px_load_monitor_threshold = 10000 _px_numa_support_enabled = false total_processor_group_count = 1 _adaptive_window_consolidator_enabled = true _optimizer_strans_adaptive_pruning = true _bloom_rm_filter = false _optimizer_null_accepting_semijoin = true _long_varchar_allow_IOT = 0 _parallel_ctas_enabled = true _cell_offload_complex_processing = true _optimizer_performance_feedback = off _optimizer_proc_rate_source = DEFAULT _hashops_prefetch_size = 4 _cell_offload_sys_context = true _multi_commit_global_index_maint = 0 _stat_aggs_one_pass_algorithm = false _dbg_scan = 0 _oltp_comp_dbg_scan = 0 _arch_comp_dbg_scan = 0 _optimizer_gather_feedback = true _upddel_dba_hash_mask_bits = 0 _px_pwmr_enabled = true _px_cdb_view_enabled = true _bloom_sm_enabled = true _optimizer_cluster_by_rowid = true _optimizer_cluster_by_rowid_control = 129 _partition_cdb_view_enabled = true _common_data_view_enabled = true _pred_push_cdb_view_enabled = true _rowsets_cdb_view_enabled = true _distinct_agg_optimization_gsets = choose _array_cdb_view_enabled = true _optimizer_adaptive_plan_control = 0 _optimizer_adaptive_random_seed = 0 _optimizer_cbqt_or_expansion = on _inmemory_dbg_scan = 0 _gby_vector_aggregation_enabled = true _optimizer_vector_transformation = true _optimizer_vector_fact_dim_ratio = 10 _key_vector_max_size = 0 _key_vector_predicate_enabled = true _key_vector_predicate_threshold = 0 _vector_operations_control = 0 _optimizer_vector_min_fact_rows = 10000000 parallel_dblink = 0 _px_scalable_invdist = true _key_vector_offload = predicate _optimizer_aggr_groupby_elim = true _optimizer_reduce_groupby_key = true _vector_serialize_temp_threshold = 1000 _always_vector_transformation = false _optimizer_cluster_by_rowid_batched = true _object_link_fixed_enabled = true optimizer_inmemory_aware = true _optimizer_inmemory_table_expansion = true _optimizer_inmemory_gen_pushable_preds = true _optimizer_inmemory_autodop = true _optimizer_inmemory_access_path = true _optimizer_inmemory_bloom_filter = true _parallel_inmemory_min_time_threshold = 1 _parallel_inmemory_time_unit = 1 _rc_sys_obj_enabled = true _optimizer_nlj_hj_adaptive_join = true _indexable_con_id = true _bloom_serial_filter = on inmemory_force = default inmemory_query = enable _inmemory_query_scan = true _inmemory_query_fetch_by_rowid = false _inmemory_pruning = on _px_autodop_pq_overhead = true _px_external_table_default_stats = true _optimizer_key_vector_aggr_factor = 75 _optimizer_vector_cost_adj = 100 _cdb_cross_container = 65535 _cdb_view_parallel_degree = 65535 _optimizer_hll_entry = 4096 _px_cdb_view_join_enabled = true inmemory_size = 0 _external_table_smart_scan = hadoop_only _optimizer_inmemory_minmax_pruning = true _approx_cnt_distinct_gby_pushdown = choose _approx_cnt_distinct_optimization = 0 _optimizer_ads_use_partial_results = true _query_execution_time_limit = 0 _optimizer_inmemory_cluster_aware_dop = true _optimizer_db_blocks_buffers = 0 KB _query_rewrite_use_on_query_computation = true _px_scalable_invdist_mcol = true _optimizer_bushy_join = off _optimizer_bushy_fact_dim_ratio = 20 _optimizer_bushy_fact_min_size = 100000 _optimizer_bushy_cost_factor = 100 _rmt_for_table_redef_enabled = true _optimizer_eliminate_subquery = true _sqlexec_cache_aware_hash_join_enabled = true _zonemap_usage_tracking = true _sqlexec_hash_based_distagg_enabled = false _sqlexec_disable_hash_based_distagg_tiv = false _sqlexec_hash_based_distagg_ssf_enabled = true _sqlexec_distagg_optimization_settings = 0 approx_for_aggregation = false approx_for_count_distinct = false _optimizer_union_all_gsets = true _rowsets_use_encoding = true _rowsets_max_enc_rows = 64 _optimizer_enhanced_join_elimination = true _optimizer_multicol_join_elimination = true _key_vector_create_pushdown_threshold = 20000 _optimizer_enable_plsql_stats = true _recursive_with_parallel = true _recursive_with_branch_iterations = 7 _px_dist_agg_partial_rollup_pushdown = adaptive _px_adaptive_dist_bypass_enabled = true _enable_view_pdb = true _optimizer_key_vector_pruning_enabled = true _pwise_distinct_enabled = true _recursive_with_using_temp_table = false _partition_read_only = true _sql_alias_scope = true _cdb_view_no_skip_migrate = false _approx_perc_sampling_err_rate = 2 _sqlexec_encoding_aware_hj_enabled = true rim_node_exist = 0 _enable_containers_subquery = true _force_containers_subquery = false _cell_offload_vector_groupby = true _vector_encoding_mode = manual _ds_xt_split_count = 1 _ds_sampling_method = PROGRESSIVE _optimizer_ads_use_spd_cache = true _optimizer_use_table_scanrate = HADOOP_ONLY _optimizer_use_xt_rowid = true _xt_sampling_scan_granules = on _recursive_with_control = 0 _sqlexec_use_rwo_aware_expr_analysis = true _optimizer_band_join_aware = true _optimizer_vector_base_dim_fact_factor = 200 approx_for_percentile = none _approx_percentile_optimization = 0 _projection_pushdown = true _px_object_sampling = 200 _optimizer_adaptive_plans_continuous = false _optimizer_adaptive_plans_iterative = false _ds_enable_view_sampling = true _optimizer_generate_ptf_implied_preds = true _optimizer_inmemory_use_stored_stats = AUTO _cdb_special_old_xplan = true uniaud_internal_cursor = 0 _kd_dbg_control = 0 _mv_access_compute_fresh_data = on _bloom_filter_ratio = 35 _optimizer_control_shard_qry_processing = 65528 containers_parallel_degree = 65535 sql_from_coordinator = 0 _xt_sampling_scan_granules_min_granules = 1 _in_memory_cdt = LIMITED _in_memory_cdt_maxpx = 4 _px_partition_load_dist_threshold = 64 _px_adaptive_dist_bypass_optimization = 1 _optimizer_interleave_or_expansion = true optimizer_adaptive_plans = true optimizer_adaptive_statistics = false _optimizer_use_feedback_for_join = false _optimizer_ads_for_pq = false _px_join_skewed_values_count = 0 optimizer_ignore_parallel_hints = false parallel_min_degree = 1 _px_nlj_bcast_rr_threshold = 10 _optimizer_gather_stats_on_load_all = false _optimizer_gather_stats_on_load_hist = false _optimizer_allow_all_access_paths = true _key_vector_double_enabled = true _key_vector_timestamp_enabled = true _optimizer_answering_query_using_stats = false _disable_dblink_optim = true _cell_offload_hybrid_processing = true _read_optimized_table_lookup = true _optimizer_key_vector_payload = true _optimizer_vector_fact_payload_ratio = 20 _bloom_pruning_setops_enabled = true _bloom_filter_setops_enabled = true _key_vector_shared_dgk_ht = true _px_pwise_wif_enabled = true _sqlexec_reorder_wif_enabled = true _px_partition_skew_threshold = 80 _sqlexec_pwiseops_with_sqlfuncs_enabled = true _sqlexec_pwiseops_with_binds_enabled = true _px_shared_hash_join = false _px_reuse_server_groups = multi _px_join_skew_null_handling = true _px_join_skew_use_histogram = true _px_join_skew_sampling_time_limit = 50 _px_join_skew_sampling_percent = 0 _cdb_view_no_skip_restricted = false _inmemory_external_table = true _sqlexec_use_kgghash3 = true _cell_offload_vector_groupby_force = false _hcs_enable_pred_push = true parallel_dop_doubled = 0 _optimizer_gather_stats_on_load_index = true _con_map_sql_enforcement = true _uniq_cons_sql_enforcement = true _ref_cons_sql_enforcement = true _is_lock_table_for_split_merge = 0 _cell_offload_vector_groupby_fact_key = true _px_scalable_gby_invdist = true _px_dynamic_granules = true _px_dynamic_granules_adjust = 10 _px_hybrid_partition_execution_enabled = true _px_hybrid_partition_skew_threshold = 10 _optimizer_key_vector_use_max_size = 1048576 _cell_offload_vector_groupby_withnojoin = true _key_vector_join_pushdown_enabled = true _cell_offload_grand_total = true _optimizer_key_vector_payload_dim_aggs = false _optimizer_use_auto_indexes = AUTO _optimizer_use_stats_on_conventional_dml = true _optimizer_gather_stats_on_conventional_dml = true _optimizer_use_stats_on_conventional_config = 0 _skip_pset_col_chk = 0 _nls_binary = false _optimizer_quarantine_sql = true _optimizer_gather_stats_on_conventional_config = 0 _nls_forced_binary = 0 _utl32k_mv_query = false _optimizer_auto_index_allow = AUTO *************************************** PARAMETERS IN OPT_PARAM HINT **************************** *************************************** Column Usage Monitoring is ON: tracking level = 53 *************************************** Considering Query Transformations on query block SEL$5 (#0) ************************** Query transformations (QT) ************************** JF: Checking validity of join factorization for query block SEL$1 (#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$1 (#0) TE: Bypassed: No partitioned table in query block. ORE: Checking validity of OR Expansion for query block SEL$1 (#0) ORE: Predicate chain before QB validity check - SEL$1 "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" ORE: Predicate chain after QB validity check - SEL$1 "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$1 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$1 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. 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. ORE: Checking validity of OR Expansion for query block SEL$2 (#0) ORE: Predicate chain before QB validity check - SEL$2 "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID" ORE: Predicate chain after QB validity check - SEL$2 "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID" ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$2 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$2 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. JF: Checking validity of join factorization for query block SEL$3 (#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$3 (#0) TE: Bypassed: No partitioned table in query block. ORE: Checking validity of OR Expansion for query block SEL$3 (#0) ORE: Predicate chain before QB validity check - SEL$3 "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID" ORE: Predicate chain after QB validity check - SEL$3 "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID" ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$3 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$3 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. JF: Checking validity of join factorization for query block SEL$4 (#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$4 (#0) TE: Bypassed: No partitioned table in query block. ORE: Checking validity of OR Expansion for query block SEL$4 (#0) ORE: Predicate chain before QB validity check - SEL$4 "from$_subquery$_007"."REGION_ID_3"="REGIONS"."REGION_ID" ORE: Predicate chain after QB validity check - SEL$4 "from$_subquery$_007"."REGION_ID_3"="REGIONS"."REGION_ID" ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$4 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$4 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. Check Basic Validity for Non-Union View for query block SEL$4 (#0) JPPD: JPPD bypassed: View has unsupported constructs. Check Basic Validity for Non-Union View for query block SEL$3 (#0) JPPD: JPPD bypassed: View has unsupported constructs. Check Basic Validity for Non-Union View for query block SEL$2 (#0) JPPD: JPPD bypassed: View has unsupported constructs. Check Basic Validity for Non-Union View for query block SEL$1 (#0) JPPD: JPPD bypassed: View has unsupported constructs. JF: Checking validity of join factorization for query block SEL$5 (#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$5 (#0) TE: Bypassed: No partitioned table in query block. ORE: Checking validity of OR Expansion for query block SEL$5 (#0) ORE: Predicate chain before QB validity check - SEL$5 "from$_subquery$_009"."REGION_NAME_4"='Europe' ORE: Predicate chain after QB validity check - SEL$5 "from$_subquery$_009"."REGION_NAME_4"='Europe' ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$5 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$5 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. CBQT bypassed for query block SEL$5 (#0): no complex view, sub-queries or UNION (ALL) queries. CBQT: Validity checks failed for 8n5ggzm2v03nb. CSE: Considering common sub-expression elimination in query block SEL$5 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: Considering common sub-expression elimination in query block SEL$4 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: CSE not performed on query block SEL$4 (#0). CSE: Considering common sub-expression elimination in query block SEL$3 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: CSE not performed on query block SEL$3 (#0). 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: Considering common sub-expression elimination in query block SEL$1 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: CSE not performed on query block SEL$1 (#0). CSE: CSE not performed on query block SEL$5 (#0). OBYE: Considering Order-by Elimination from view SEL$5 (#0) *************************** Order-by elimination (OBYE) *************************** OBYE: OBYE bypassed: no order by to eliminate. JE:[V2] Considering Join Elimination on query block SEL$1 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2] Query block (0000016905E160D8) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using PRIMARY(DEPARTMENT_ID) <- FOREIGN(DEPARTMENT_ID) JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using PRIMARY() <- FOREIGN() JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905E160D8) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2] Considering Join Elimination on query block SEL$2 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID" JE:[V2] Query block (0000016905E14410) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID" JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905E14410) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID" JE:[V2] Considering Join Elimination on query block SEL$3 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID" JE:[V2] Query block (0000016905E12870) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID" JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905E12870) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID" JE:[V2] Considering Join Elimination on query block SEL$4 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT "REGIONS"."REGION_ID" "REGION_ID","from$_subquery$_007"."COUNTRY_ID_0" "COUNTRY_ID","from$_subquery$_007"."LOCATION_ID_1" "LOCATION_ID","from$_subquery$_007"."DEPARTMENT_ID_2" "DEPARTMENT_ID","REGIONS"."REGION_NAME" "REGION_NAME_4" FROM (SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID_0","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID_1","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID_2","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID") "from$_subquery$_007","HR"."REGIONS" "REGIONS" WHERE "from$_subquery$_007"."REGION_ID_3"="REGIONS"."REGION_ID" JE:[V2] Query block (0000016905E11330) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "REGIONS"."REGION_ID" "REGION_ID","from$_subquery$_007"."COUNTRY_ID_0" "COUNTRY_ID","from$_subquery$_007"."LOCATION_ID_1" "LOCATION_ID","from$_subquery$_007"."DEPARTMENT_ID_2" "DEPARTMENT_ID","REGIONS"."REGION_NAME" "REGION_NAME_4" FROM (SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID_0","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID_1","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID_2","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID") "from$_subquery$_007","HR"."REGIONS" "REGIONS" WHERE "from$_subquery$_007"."REGION_ID_3"="REGIONS"."REGION_ID" JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905E11330) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT "REGIONS"."REGION_ID" "REGION_ID","from$_subquery$_007"."COUNTRY_ID_0" "COUNTRY_ID","from$_subquery$_007"."LOCATION_ID_1" "LOCATION_ID","from$_subquery$_007"."DEPARTMENT_ID_2" "DEPARTMENT_ID","REGIONS"."REGION_NAME" "REGION_NAME_4" FROM (SELECT "COUNTRIES"."COUNTRY_ID" "COUNTRY_ID_0","from$_subquery$_005"."LOCATION_ID_0" "LOCATION_ID_1","from$_subquery$_005"."DEPARTMENT_ID_1" "DEPARTMENT_ID_2","COUNTRIES"."REGION_ID" "REGION_ID_3" FROM (SELECT "LOCATIONS"."LOCATION_ID" "LOCATION_ID_0","from$_subquery$_003"."DEPARTMENT_ID_0" "DEPARTMENT_ID_1","LOCATIONS"."COUNTRY_ID" "COUNTRY_ID_2" FROM (SELECT "DEPARTMENTS"."DEPARTMENT_ID" "DEPARTMENT_ID_0","DEPARTMENTS"."LOCATION_ID" "LOCATION_ID_1" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS" WHERE "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") "from$_subquery$_003","HR"."LOCATIONS" "LOCATIONS" WHERE "from$_subquery$_003"."LOCATION_ID_1"="LOCATIONS"."LOCATION_ID") "from$_subquery$_005","HR"."COUNTRIES" "COUNTRIES" WHERE "from$_subquery$_005"."COUNTRY_ID_2"="COUNTRIES"."COUNTRY_ID") "from$_subquery$_007","HR"."REGIONS" "REGIONS" WHERE "from$_subquery$_007"."REGION_ID_3"="REGIONS"."REGION_ID" CVM: Considering view merge in query block SEL$5 (#0) OJE: Begin: find best directive for query block SEL$5 (#0) OJE: End: finding best directive for query block SEL$5 (#0) CNT: Considering count(col) to count(*) on query block SEL$5 (#0) ************************* Count(col) to Count(*) (CNT) ************************* CNT: COUNT() to COUNT(*) not done. CVM: Checking validity of merging in query block SEL$4 (#0) CVM: Considering view merge in query block SEL$4 (#0) OJE: Begin: find best directive for query block SEL$4 (#0) OJE: End: finding best directive for query block SEL$4 (#0) CVM: Checking validity of merging in query block SEL$3 (#0) CVM: Considering view merge in query block SEL$3 (#0) OJE: Begin: find best directive for query block SEL$3 (#0) OJE: End: finding best directive for query block SEL$3 (#0) CVM: Checking validity of merging in query block SEL$2 (#0) CVM: Considering view merge in query block SEL$2 (#0) OJE: Begin: find best directive for query block SEL$2 (#0) OJE: End: finding best directive for query block SEL$2 (#0) CVM: Checking validity of merging in query block SEL$1 (#0) CVM: Considering view merge in query block SEL$1 (#0) OJE: Begin: find best directive for query block SEL$1 (#0) OJE: End: finding best directive for query block SEL$1 (#0) CVM: Merging SPJ view SEL$1 (#0) into SEL$2 (#0) Registered qb: SEL$58A6D7F6 0x5e14410 (VIEW MERGE SEL$2; SEL$1; SEL$2) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$58A6D7F6 nbfros=3 flg=0 fro(0): flg=0 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=0 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" fro(2): flg=0 objn=76358 hint_alias="LOCATIONS"@"SEL$2" OJE: Begin: find best directive for query block SEL$58A6D7F6 (#0) OJE: End: finding best directive for query block SEL$58A6D7F6 (#0) CVM: Merging SPJ view SEL$58A6D7F6 (#0) into SEL$3 (#0) Registered qb: SEL$9E43CB6E 0x5e12870 (VIEW MERGE SEL$3; SEL$58A6D7F6; SEL$3) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$9E43CB6E nbfros=4 flg=0 fro(0): flg=0 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=0 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" fro(2): flg=0 objn=76358 hint_alias="LOCATIONS"@"SEL$2" fro(3): flg=0 objn=76351 hint_alias="COUNTRIES"@"SEL$3" OJE: Begin: find best directive for query block SEL$9E43CB6E (#0) OJE: End: finding best directive for query block SEL$9E43CB6E (#0) CVM: Merging SPJ view SEL$9E43CB6E (#0) into SEL$4 (#0) Registered qb: SEL$EE94F965 0x5e11330 (VIEW MERGE SEL$4; SEL$9E43CB6E; SEL$4) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$EE94F965 nbfros=5 flg=0 fro(0): flg=0 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=0 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" fro(2): flg=0 objn=76358 hint_alias="LOCATIONS"@"SEL$2" fro(3): flg=0 objn=76351 hint_alias="COUNTRIES"@"SEL$3" fro(4): flg=0 objn=76369 hint_alias="REGIONS"@"SEL$4" OJE: Begin: find best directive for query block SEL$EE94F965 (#0) OJE: End: finding best directive for query block SEL$EE94F965 (#0) CVM: Merging SPJ view SEL$EE94F965 (#0) into SEL$5 (#0) CNT: Considering count(col) to count(*) on query block SEL$5 (#0) ************************* Count(col) to Count(*) (CNT) ************************* CNT: COUNT() to COUNT(*) not done. Registered qb: SEL$81719215 0x5c598b0 (VIEW MERGE SEL$5; SEL$EE94F965; SEL$5) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$81719215 nbfros=5 flg=0 fro(0): flg=0 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=0 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" fro(2): flg=0 objn=76358 hint_alias="LOCATIONS"@"SEL$2" fro(3): flg=0 objn=76351 hint_alias="COUNTRIES"@"SEL$3" fro(4): flg=0 objn=76369 hint_alias="REGIONS"@"SEL$4" OJE: Begin: find best directive for query block SEL$81719215 (#0) OJE: End: finding best directive for query block SEL$81719215 (#0) JE:[V2] Considering Join Elimination on query block SEL$81719215 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2] Query block (0000016905C598B0) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2]: Try to eliminate REGIONS by ref. join elim using PRIMARY(REGION_ID) <- FOREIGN(REGION_ID) JE:[V2]: Cannot eliminate REGIONS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using PRIMARY(COUNTRY_ID) <- FOREIGN(COUNTRY_ID) JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using PRIMARY(LOCATION_ID) <- FOREIGN(LOCATION_ID) JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using PRIMARY(DEPARTMENT_ID) <- FOREIGN(DEPARTMENT_ID) JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using PRIMARY() <- FOREIGN() JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905C598B0) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" query block SEL$5 transformed to SEL$81719215 (#0) Considering Query Transformations on query block SEL$81719215 (#0) ************************** Query transformations (QT) ************************** JF: Checking validity of join factorization for query block SEL$81719215 (#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$81719215 (#0) TE: Bypassed: No partitioned table in query block. ORE: Checking validity of OR Expansion for query block SEL$81719215 (#0) ORE: Predicate chain before QB validity check - SEL$81719215 "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" ORE: Predicate chain after QB validity check - SEL$81719215 "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" ORE: bypassed - No valid predicate for OR expansion. VT: Initial VT validity check for query block SEL$81719215 (#0) VT: Bypassed: inmemory is disabled. BJ: Checking validity for bushy join for query block SEL$81719215 (#0) invalid because Not enabled by hint/parameter BJ: Bypassed: Not enabled by hint/parameter. CBQT bypassed for query block SEL$81719215 (#0): no complex view, sub-queries or UNION (ALL) queries. CBQT: Validity checks failed for 8n5ggzm2v03nb. CSE: Considering common sub-expression elimination in query block SEL$81719215 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: CSE not performed on query block SEL$81719215 (#0). AAT: Considering Approximate Aggregate Transformation on query block SEL$81719215 (#0) ******************************************* Approximate Aggregate Transformation (AAT) ******************************************* AAT: no exact aggregates transformed SQE: Trying SQ elimination. Query after View Removal ******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" SU: Considering subquery unnesting in query block SEL$81719215 (#0) ******************** Subquery Unnest (SU) ******************** SJC: Considering set-join conversion in query block SEL$81719215 (#0) ************************* Set-Join Conversion (SJC) ************************* SJC: not performed DCL: Checking validity of group-by elimination SEL$81719215 (#0) DCL: Result of group-by elimination: Invalid JE:[V2] Considering Join Elimination on query block SEL$81719215 (#0) ************************* Join Elimination [JE:R 12.2] ************************* SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2] Query block (0000016905C598B0) before join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" JE:[V2]: Try to eliminate REGIONS by ref. join elim using PRIMARY(REGION_ID) <- FOREIGN(REGION_ID) JE:[V2]: Cannot eliminate REGIONS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate REGIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate REGIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using PRIMARY(COUNTRY_ID) <- FOREIGN(COUNTRY_ID) JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate COUNTRIES by ref. join elim using NTSID JE:[V2]: Cannot eliminate COUNTRIES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using PRIMARY(LOCATION_ID) <- FOREIGN(LOCATION_ID) JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate LOCATIONS by ref. join elim using NTSID JE:[V2]: Cannot eliminate LOCATIONS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using PRIMARY(DEPARTMENT_ID) <- FOREIGN(DEPARTMENT_ID) JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - predicate column refs. JE:[V2]: Try to eliminate DEPARTMENTS by ref. join elim using NTSID JE:[V2]: Cannot eliminate DEPARTMENTS by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using PRIMARY() <- FOREIGN() JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2]: Try to eliminate EMPLOYEES by ref. join elim using NTSID JE:[V2]: Cannot eliminate EMPLOYEES by ref. join elim - no constr. based join pred(s) JE:[V2] Query block (0x0000016905C598B0) after join elimination: SQL:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" PM: Considering predicate move-around in query block SEL$81719215 (#0) ************************** Predicate Move-Around (PM) ************************** PM: PM bypassed: Outer query contains no views. PM: PM bypassed: Outer query contains no views. isReduceGrByValid: Group By Validation (Failed). isReduceGrByValid: Group By Validation (Failed). SQT: Considering Statistic-based Query Transformation from query block SEL$81719215 (#0) *************************** Statistic-based Query Transformation (SQT) *************************** SQT: SQT bypassed: Disabled by parameter. query block SEL$81719215 (#0) unchanged FPD: Considering simple filter push in query block SEL$81719215 (#0) "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" try to generate transitive predicate from check constraints for query block SEL$81719215 (#0) finally: "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" apadrv-start sqlid=9950122820672425611 CSE: Considering common sub-expression elimination in query block SEL$81719215 (#0) ************************* Common Subexpression elimination (CSE) ************************* CSE: CSE not performed on query block SEL$81719215 (#0). : call(in-use=19672, alloc=32712), compile(in-use=304440, alloc=309888), execution(in-use=10016, alloc=12144) ******************************************* Peeked values of the binds in SQL statement ******************************************* ===================================== SPD: BEGIN context at statement level ===================================== Stmt: ******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" Objects referenced in the statement REGIONS[REGIONS] 76369, type = 1 COUNTRIES[COUNTRIES] 76351, type = 1 LOCATIONS[LOCATIONS] 76358, type = 1 DEPARTMENTS[DEPARTMENTS] 76354, type = 1 EMPLOYEES[EMPLOYEES] 76361, type = 1 Objects in the hash table Hash table Object 76351, type = 1, ownerid = 9567282843576098254: No Dynamic Sampling Directives for the object Hash table Object 76354, type = 1, ownerid = 9247774456209055247: No Dynamic Sampling Directives for the object Hash table Object 76358, type = 1, ownerid = 5373733186991955580: No Dynamic Sampling Directives for the object Hash table Object 76361, type = 1, ownerid = 5742086135608967110: No Dynamic Sampling Directives for the object Hash table Object 76369, type = 1, ownerid = 11196451752850215312: No Dynamic Sampling Directives for the object Return code in qosdInitDirCtx: ENBLD =================================== SPD: END context at statement level =================================== Final query after transformations:******* UNPARSED QUERY IS ******* SELECT COUNT(*) "COUNT(*)" FROM "HR"."EMPLOYEES" "EMPLOYEES","HR"."DEPARTMENTS" "DEPARTMENTS","HR"."LOCATIONS" "LOCATIONS","HR"."COUNTRIES" "COUNTRIES","HR"."REGIONS" "REGIONS" WHERE "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" kkoqbc: optimizing query block SEL$81719215 (#0) : call(in-use=20248, alloc=32712), compile(in-use=317256, alloc=318224), execution(in-use=10016, alloc=12144) kkoqbc-subheap (create addr=0x0000016905C5FB80) **************** QUERY BLOCK TEXT **************** select count(*) from employees join departments using(department_id) join locations using(location_id) join countries using (country_id) join regions using (region_id) where region_name='Europe' --------------------- QUERY BLOCK SIGNATURE --------------------- signature (optimizer): qb_name=SEL$81719215 nbfros=5 flg=0 fro(0): flg=0 objn=76354 hint_alias="DEPARTMENTS"@"SEL$1" fro(1): flg=0 objn=76361 hint_alias="EMPLOYEES"@"SEL$1" fro(2): flg=0 objn=76358 hint_alias="LOCATIONS"@"SEL$2" fro(3): flg=0 objn=76351 hint_alias="COUNTRIES"@"SEL$3" fro(4): flg=0 objn=76369 hint_alias="REGIONS"@"SEL$4" ----------------------------- SYSTEM STATISTICS INFORMATION ----------------------------- Using dictionary system stats. Using NOWORKLOAD Stats CPUSPEEDNW: 1096 millions instructions/sec (default is 100) IOTFRSPEED: 4096 bytes per millisecond (default is 4096) IOSEEKTIM: 10 milliseconds (default is 10) MBRC: NO VALUE blocks (default is 8) *************************************** BASE STATISTICAL INFORMATION *********************** Table Stats:: Table: REGIONS Alias: REGIONS #Rows: 4 SSZ: 0 LGR: 0 #Blks: 4 AvgRowLen: 14.00 NEB: 0 ChainCnt: 0.00 ScanRate: 0.00 SPC: 0 RFL: 0 RNF: 0 CBK: 0 CHR: 0 KQDFLG: 1 #IMCUs: 0 IMCRowCnt: 0 IMCJournalRowCnt: 0 #IMCBlocks: 0 IMCQuotient: 0.000000 Column (#1): REGION_ID(NUMBER) AvgLen: 3 NDV: 4 Nulls: 0 Density: 0.250000 Min: 0.000000 Max: 1.000000 Index Stats:: Index: REG_ID_PK Col#: 1 LVLS: 0 #LB: 1 #DK: 4 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 4.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 *********************** Table Stats:: Table: COUNTRIES Alias: COUNTRIES #Rows: 25 SSZ: 0 LGR: 0 #Blks: 1 AvgRowLen: 15.00 NEB: 0 ChainCnt: 0.00 ScanRate: 0.00 SPC: 0 RFL: 0 RNF: 0 CBK: 0 CHR: 0 KQDFLG: 1 #IMCUs: 0 IMCRowCnt: 0 IMCJournalRowCnt: 0 #IMCBlocks: 0 IMCQuotient: 0.000000 Column (#3): REGION_ID(NUMBER) AvgLen: 3 NDV: 4 Nulls: 0 Density: 0.100000 Min: 0.000000 Max: 1.000000 Histogram: Freq #Bkts: 4 UncompBkts: 25 EndPtVals: 4 ActualVal: yes Column (#1): COUNTRY_ID(CHARACTER) AvgLen: 3 NDV: 25 Nulls: 0 Density: 0.020000 Histogram: Freq #Bkts: 25 UncompBkts: 25 EndPtVals: 25 ActualVal: yes Index Stats:: Index: COUNTRY_C_ID_PK Col#: 1 LVLS: 0 #LB: 1 #DK: 25 LB/K: 1.00 DB/K: 1.00 CLUF: 0.00 NRW: 25.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 *********************** Table Stats:: Table: LOCATIONS Alias: LOCATIONS #Rows: 23 SSZ: 0 LGR: 0 #Blks: 4 AvgRowLen: 49.00 NEB: 0 ChainCnt: 0.00 ScanRate: 0.00 SPC: 0 RFL: 0 RNF: 0 CBK: 0 CHR: 0 KQDFLG: 1 #IMCUs: 0 IMCRowCnt: 0 IMCJournalRowCnt: 0 #IMCBlocks: 0 IMCQuotient: 0.000000 Column (#6): COUNTRY_ID(CHARACTER) AvgLen: 3 NDV: 14 Nulls: 0 Density: 0.021739 Histogram: Freq #Bkts: 14 UncompBkts: 23 EndPtVals: 14 ActualVal: yes Column (#1): LOCATION_ID(NUMBER) AvgLen: 3 NDV: 23 Nulls: 0 Density: 0.043478 Min: 0.000000 Max: 1000.000000 Index Stats:: Index: LOC_CITY_IX Col#: 4 LVLS: 0 #LB: 1 #DK: 23 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 23.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: LOC_COUNTRY_IX Col#: 6 LVLS: 0 #LB: 1 #DK: 14 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 23.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: LOC_ID_PK Col#: 1 LVLS: 0 #LB: 1 #DK: 23 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 23.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: LOC_STATE_PROVINCE_IX Col#: 5 LVLS: 0 #LB: 1 #DK: 17 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 17.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 *********************** Table Stats:: Table: DEPARTMENTS Alias: DEPARTMENTS #Rows: 27 SSZ: 0 LGR: 0 #Blks: 4 AvgRowLen: 21.00 NEB: 0 ChainCnt: 0.00 ScanRate: 0.00 SPC: 0 RFL: 0 RNF: 0 CBK: 0 CHR: 0 KQDFLG: 1 #IMCUs: 0 IMCRowCnt: 0 IMCJournalRowCnt: 0 #IMCBlocks: 0 IMCQuotient: 0.000000 Column (#4): LOCATION_ID(NUMBER) AvgLen: 3 NDV: 7 Nulls: 0 Density: 0.018519 Min: 0.000000 Max: 1400.000000 Histogram: Freq #Bkts: 7 UncompBkts: 27 EndPtVals: 7 ActualVal: yes Column (#1): DEPARTMENT_ID(NUMBER) AvgLen: 4 NDV: 27 Nulls: 0 Density: 0.037037 Min: 0.000000 Max: 10.000000 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 NRW: 27.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: DEPT_LOCATION_IX Col#: 4 LVLS: 0 #LB: 1 #DK: 7 LB/K: 1.00 DB/K: 1.00 CLUF: 1.00 NRW: 27.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 *********************** Table Stats:: Table: EMPLOYEES Alias: EMPLOYEES #Rows: 107 SSZ: 0 LGR: 0 #Blks: 5 AvgRowLen: 69.00 NEB: 0 ChainCnt: 0.00 ScanRate: 0.00 SPC: 0 RFL: 0 RNF: 0 CBK: 0 CHR: 0 KQDFLG: 1 #IMCUs: 0 IMCRowCnt: 0 IMCJournalRowCnt: 0 #IMCBlocks: 0 IMCQuotient: 0.000000 Column (#11): DEPARTMENT_ID(NUMBER) AvgLen: 3 NDV: 11 Nulls: 1 Density: 0.004717 Min: 0.000000 Max: 10.000000 Histogram: Freq #Bkts: 11 UncompBkts: 106 EndPtVals: 11 ActualVal: yes Index Stats:: Index: EMP_DEPARTMENT_IX Col#: 11 LVLS: 0 #LB: 1 #DK: 11 LB/K: 1.00 DB/K: 1.00 CLUF: 3.00 NRW: 106.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_EMAIL_UK Col#: 4 LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 19.00 NRW: 107.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_EMP_ID_PK Col#: 1 LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 3.00 NRW: 107.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_JOB_IX Col#: 7 LVLS: 0 #LB: 1 #DK: 19 LB/K: 1.00 DB/K: 1.00 CLUF: 3.00 NRW: 107.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_MANAGER_IX Col#: 10 LVLS: 0 #LB: 1 #DK: 18 LB/K: 1.00 DB/K: 1.00 CLUF: 7.00 NRW: 106.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_NAME_IX Col#: 3 2 LVLS: 0 #LB: 1 #DK: 107 LB/K: 1.00 DB/K: 1.00 CLUF: 19.00 NRW: 107.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Index: EMP_REG Col#: 12 LVLS: 0 #LB: 1 #DK: 2 LB/K: 1.00 DB/K: 1.00 CLUF: 2.00 NRW: 2.00 SSZ: 0.00 LGR: 0.00 CBK: 0.00 GQL: 0.00 CHR: 0.00 KQDFLG: 0 BSZ: 8192 KKEISFLG: 1 Marked valid join index: EMP_REG(78559) try to generate single-table filter predicates from ORs for query block SEL$81719215 (#0) finally: "REGIONS"."REGION_NAME"='Europe' AND "COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" AND "LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" AND "DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" AND "EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" ======================================= SPD: BEGIN context at query block level ======================================= Query Block SEL$81719215 (#0) Return code in qosdSetupDirCtx4QB: NOCTX ===================================== SPD: END context at query block level ===================================== Access path analysis for EMPLOYEES *************************************** SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for EMPLOYEES[EMPLOYEES] SPD: Return code in qosdDSDirSetup: NOCTX, estType = TABLE Table: EMPLOYEES Alias: EMPLOYEES Card: Original: 107.000000 Rounded: 107 Computed: 107.000000 Non Adjusted: 107.000000 Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 73057.200000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 73057.200000 (scan (Disk)) = 73057.200000 Access Path: TableScan Cost: 3.005557 Resp: 3.005557 Degree: 0 Cost_io: 3.000000 Cost_cpu: 73057 Resp_io: 3.000000 Resp_cpu: 73057 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 2.000000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Access Path: index (FFS) Cost: 2.001509 Resp: 2.001509 Degree: 1 Cost_io: 2.000000 Cost_cpu: 19841 Resp_io: 2.000000 Resp_cpu: 19841 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 1 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_REG SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Column (#2): REGION_NAME(VARCHAR2) AvgLen: 11 NDV: 4 Nulls: 0 Density: 0.250000 Estimated selectivity: 0.250000 , col: #2 Access Path: index (AllEqRange) Index: EMP_REG resc_io: 1.000000 resc_cpu: 7321 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 Cost: 1.000557 Resp: 1.000557 Degree: 0 Bitmap nodes: Used EMP_REG Cost = 1.000557, sel = 0.500000 Access path: Bitmap index - accepted Cost: 1.000557 Cost_io: 1.000000 Cost_cpu: 7321.440000 Sel: 0.500000 Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best:: AccessPath: IndexBitmap Index: EMP_DEPARTMENT_IX Cost: 1.000557 Degree: 1 Resp: 1.000557 Card: 107.000000 Bytes: 0.000000 Card adjusted, Rounded Card: 54 Computed Card: 53.500000 Access path analysis for DEPARTMENTS *************************************** SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for DEPARTMENTS[DEPARTMENTS] SPD: Return code in qosdDSDirSetup: NOCTX, estType = TABLE Table: DEPARTMENTS Alias: DEPARTMENTS Card: Original: 27.000000 Rounded: 27 Computed: 27.000000 Non Adjusted: 27.000000 Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 34155.760000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 34155.760000 (scan (Disk)) = 34155.760000 Access Path: TableScan Cost: 3.002598 Resp: 3.002598 Degree: 0 Cost_io: 3.000000 Cost_cpu: 34156 Resp_io: 3.000000 Resp_cpu: 34156 ******** Begin index join costing ******** ****** trying bitmap/domain indexes ****** ****** Costing Index DEPT_ID_PK Access Path: index (FullScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 12521 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000952 Resp: 1.000952 Degree: 0 ****** Costing Index DEPT_LOCATION_IX Access Path: index (FullScan) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 12521 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000952 Resp: 1.000952 Degree: 0 ****** Costing Index DEPT_ID_PK Access Path: index (FullScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 12521 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000952 Resp: 1.000952 Degree: 0 Bitmap nodes: Used DEPT_ID_PK Cost = 1.251191, sel = 1.000000 ****** finished trying bitmap/domain indexes ****** ****** Costing Index DEPT_LOCATION_IX Access Path: index (FullScan) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 12521 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000952 Resp: 1.000952 Degree: 0 ******** Cost index join ******** Index join: Joining index DEPT_ID_PK Index join: Joining index DEPT_LOCATION_IX Ix HA Join Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 1.000952 card 27.000000 bytes: deg: 1 resp: 1.000952 Inner table: Alias: resc: 1.000952 card: 27.000000 bytes: deg: 1 resp: 1.000952 using dmeth: 2 #groups: 1 Cost per ptn: 0.046153 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 2.048058 Resp: 2.048058 [multiMatchCost=0.000000] ******** Index join cost ******** Cost: 2.048058 ******** Index join OK ******** ******** End index join costing ******** Best:: AccessPath: IndexJoin Cost: 2.048058 Degree: 1 Resp: 2.048058 Card: 27.000000 Bytes: 0.000000 Access path analysis for LOCATIONS *************************************** SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for LOCATIONS[LOCATIONS] SPD: Return code in qosdDSDirSetup: NOCTX, estType = TABLE Table: LOCATIONS Alias: LOCATIONS Card: Original: 23.000000 Rounded: 23 Computed: 23.000000 Non Adjusted: 23.000000 Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 34235.760000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 34235.760000 (scan (Disk)) = 34235.760000 Access Path: TableScan Cost: 3.002604 Resp: 3.002604 Degree: 0 Cost_io: 3.000000 Cost_cpu: 34236 Resp_io: 3.000000 Resp_cpu: 34236 ******** Begin index join costing ******** ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_CITY_IX Access Path: index (FullScan) Index: LOC_CITY_IX resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 ****** Costing Index LOC_COUNTRY_IX Access Path: index (FullScan) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 ****** Costing Index LOC_ID_PK Access Path: index (FullScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 ****** Costing Index LOC_CITY_IX Access Path: index (FullScan) Index: LOC_CITY_IX resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 Bitmap nodes: Used LOC_CITY_IX Cost = 1.251115, sel = 1.000000 ****** finished trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX Access Path: index (FullScan) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 ****** Costing Index LOC_ID_PK Access Path: index (FullScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 11721 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000892 Resp: 1.000892 Degree: 0 ******** Cost index join ******** Index join: Joining index LOC_COUNTRY_IX Index join: Joining index LOC_ID_PK Ix HA Join Outer table: LOCATIONS Alias: LOCATIONS resc: 1.000892 card 23.000000 bytes: deg: 1 resp: 1.000892 Inner table: Alias: resc: 1.000892 card: 23.000000 bytes: deg: 1 resp: 1.000892 using dmeth: 2 #groups: 1 Cost per ptn: 0.046077 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 2.047860 Resp: 2.047860 [multiMatchCost=0.000000] ******** Index join cost ******** Cost: 2.047860 ******** Index join OK ******** ******** End index join costing ******** Best:: AccessPath: IndexJoin Cost: 2.047860 Degree: 1 Resp: 2.047860 Card: 23.000000 Bytes: 0.000000 Access path analysis for COUNTRIES *************************************** SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for COUNTRIES[COUNTRIES] SPD: Return code in qosdDSDirSetup: NOCTX, estType = TABLE Table: COUNTRIES Alias: COUNTRIES Card: Original: 25.000000 Rounded: 25 Computed: 25.000000 Non Adjusted: 25.000000 Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 2.000000 resc_cpu: 10121 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Access Path: index (FFS) Cost: 2.000770 Resp: 2.000770 Degree: 1 Cost_io: 2.000000 Cost_cpu: 10121 Resp_io: 2.000000 Resp_cpu: 10121 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.000922 Resp: 1.000922 Degree: 1 Best:: AccessPath: IndexRange Index: COUNTRY_C_ID_PK Cost: 1.000922 Degree: 1 Resp: 1.000922 Card: 25.000000 Bytes: 0.000000 Access path analysis for REGIONS *************************************** SINGLE TABLE ACCESS PATH Single Table Cardinality Estimation for REGIONS[REGIONS] SPD: Return code in qosdDSDirSetup: NOCTX, estType = TABLE kkecdn: Single Table Predicate:"REGIONS"."REGION_NAME"='Europe' Estimated selectivity: 0.250000 , col: #2 Table: REGIONS Alias: REGIONS Card: Original: 4.000000 Rounded: 1 Computed: 1.000000 Non Adjusted: 1.000000 Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 3.000000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 3.000000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Access Path: TableScan Cost: 3.002234 Resp: 3.002234 Degree: 0 Cost_io: 3.000000 Cost_cpu: 29366 Resp_io: 3.000000 Resp_cpu: 29366 Best:: AccessPath: TableScan Cost: 3.002234 Degree: 1 Resp: 3.002234 Card: 1.000000 Bytes: 0.000000 *************************************** OPTIMIZER STATISTICS AND COMPUTATIONS PJE: Bypassed; QB is not duplicate insignificant SEL$81719215 (#0) *************************************** GENERAL PLANS *************************************** Considering cardinality-based initial join order. Permutations for Starting Table :0 Join order[1]: REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 1.000000 Cost: 3.002234 Resp: 3.002234 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 34235.760000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 34235.760000 (scan (Disk)) = 34235.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 6.004838 Resp: 6.004838 Degree: 1 Cost_io: 6.000000 Cost_cpu: 63602 Resp_io: 6.000000 Resp_cpu: 63602 Best NL cost: 6.004838 resc: 6.004838 resc_io: 6.000000 resc_cpu: 63602 resp: 6.004838 resp_io: 6.000000 resc_cpu: 63602 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 23.000000 = outer (1.000000) * inner (23.000000) * sel (1.000000) Join Card - Rounded: 23 Computed: 23.000000 Best:: JoinMethod: NestedLoop Cost: 6.004838 Degree: 1 Resp: 6.004838 Card: 23.000000 Bytes: *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 23.000000 Cost: 6.004838 Resp: 6.004838 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.347826 resc_cpu: 12934 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 14.027466 Resp: 14.027466 Degree: 1 Cost_io: 14.000000 Cost_cpu: 361082 Resp_io: 14.000000 Resp_cpu: 361082 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 6.006675 Resp: 6.006675 Degree: 1 Cost_io: 6.000000 Cost_cpu: 87752 Resp_io: 6.000000 Resp_cpu: 87752 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 6.006675 Resp: 6.006675 Degree: 1 Cost_io: 6.000000 Cost_cpu: 87752 Resp_io: 6.000000 Resp_cpu: 87752 Best NL cost: 6.006675 resc: 6.006675 resc_io: 6.000000 resc_cpu: 87752 resp: 6.006675 resp_io: 6.000000 resc_cpu: 87752 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 5.750000 = outer (23.000000) * inner (25.000000) * sel (0.010000) Join Card - Rounded: 6 Computed: 5.750000 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.004838 card 23.000000 bytes: deg: 1 resp: 6.004838 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 32 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 9.006514 Resp: 9.006514 [multiMatchCost=0.000000] SM Join SM cost: 9.006514 resc: 9.006514 resc_io: 7.000000 resc_cpu: 26378539 resp: 9.006514 resp_io: 7.000000 resp_cpu: 26378539 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.004838 card 23.000000 bytes: deg: 1 resp: 6.004838 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046092 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.051852 Resp: 7.051852 [multiMatchCost=0.000000] HA Join HA cost: 7.051852 resc: 7.051852 resc_io: 7.000000 resc_cpu: 681673 resp: 7.051852 resp_io: 7.000000 resp_cpu: 681673 Best:: JoinMethod: NestedLoop Cost: 6.006675 Degree: 1 Resp: 6.006675 Card: 5.750000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 5.750000 Cost: 6.006675 Resp: 6.006675 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2048 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 14.022880 Resp: 14.022880 Degree: 1 Cost_io: 14.000000 Cost_cpu: 300786 Resp_io: 14.000000 Resp_cpu: 300786 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 7.834621 Resp: 7.834621 Degree: 1 Cost_io: 7.826087 Cost_cpu: 112190 Resp_io: 7.826087 Resp_cpu: 112190 Best NL cost: 7.834621 resc: 7.834621 resc_io: 7.826087 resc_cpu: 112190 resp: 7.834621 resp_io: 7.826087 resc_cpu: 112190 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (5.750000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 7 Computed: 6.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 6.006675 card 5.750000 bytes: deg: 1 resp: 6.006675 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 39 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 10.055226 Resp: 10.055226 [multiMatchCost=0.000000] SM Join SM cost: 10.055226 resc: 10.055226 resc_io: 8.000000 resc_cpu: 27018925 resp: 10.055226 resp_io: 8.000000 resp_cpu: 27018925 Outer table: COUNTRIES Alias: COUNTRIES resc: 6.006675 card 5.750000 bytes: deg: 1 resp: 6.006675 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.045914 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.100647 Resp: 8.100647 [multiMatchCost=0.000000] HA Join HA cost: 8.100647 resc: 8.100647 resc_io: 8.000000 resc_cpu: 1323144 resp: 8.100647 resp_io: 8.000000 resp_cpu: 1323144 Best:: JoinMethod: NestedLoop Cost: 7.834621 Degree: 1 Resp: 7.834621 Card: 6.750000 Bytes: *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 6.750000 Cost: 7.834621 Resp: 7.834621 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.571429 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2048 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.571429 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.571429 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 18.876370 Resp: 18.876370 Degree: 1 Cost_io: 18.826087 Cost_cpu: 661040 Resp_io: 18.826087 Resp_cpu: 661040 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.571429 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 11.848008 Resp: 11.848008 Degree: 1 Cost_io: 11.826087 Cost_cpu: 288180 Resp_io: 11.826087 Resp_cpu: 288180 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 7.836138 Resp: 7.836138 Degree: 1 Cost_io: 7.826087 Cost_cpu: 132140 Resp_io: 7.826087 Resp_cpu: 132140 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 7.836138 resc: 7.836138 resc_io: 7.826087 resc_cpu: 132140 resp: 7.836138 resp_io: 7.826087 resc_cpu: 132140 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (6.750000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 13 Computed: 13.250000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 7.834621 card 6.750000 bytes: deg: 1 resp: 7.834621 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 47 Total Rows: 7 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147334 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 10.836310 Resp: 10.836310 [multiMatchCost=0.000000] SM Join SM cost: 10.836310 resc: 10.836310 resc_io: 8.826087 resc_cpu: 26427296 resp: 10.836310 resp_io: 8.826087 resp_cpu: 26427296 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 7.834621 card 6.750000 bytes: deg: 1 resp: 7.834621 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046130 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.881308 Resp: 8.881308 [multiMatchCost=0.000000] HA Join HA cost: 8.881308 resc: 8.881308 resc_io: 8.826087 resc_cpu: 725961 resp: 8.881308 resp_io: 8.826087 resp_cpu: 725961 Best:: JoinMethod: NestedLoop Cost: 7.836138 Degree: 1 Resp: 7.836138 Card: 13.250000 Bytes: *********************** Best so far: Table#: 0 cost: 3.002234 card: 1.000000 bytes: 14.000000 Table#: 1 cost: 6.004838 card: 23.000000 bytes: 460.000000 Table#: 2 cost: 6.006675 card: 5.750000 bytes: 156.000000 Table#: 3 cost: 7.834621 card: 6.750000 bytes: 231.000000 Table#: 4 cost: 7.836138 card: 13.250000 bytes: 468.000000 *********************** Join order[2]: REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 5.750000 Cost: 6.006675 Resp: 6.006675 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 16.034696 Resp: 16.034696 Degree: 1 Cost_io: 16.000000 Cost_cpu: 456135 Resp_io: 16.000000 Resp_cpu: 456135 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 9.015730 Resp: 9.015730 Degree: 1 Cost_io: 9.000000 Cost_cpu: 206800 Resp_io: 9.000000 Resp_cpu: 206800 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 12.019601 Resp: 12.019601 Degree: 1 Cost_io: 12.000000 Cost_cpu: 257680 Resp_io: 12.000000 Resp_cpu: 257680 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 9.015730 resc: 9.015730 resc_io: 9.000000 resc_cpu: 206800 resp: 9.015730 resp_io: 9.000000 resc_cpu: 206800 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (5.750000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 308 Computed: 307.625000 Join order aborted: cost > best plan cost *********************** Join order[3]: REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 23.000000 Cost: 6.004838 Resp: 6.004838 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 33.066956 Resp: 33.066956 Degree: 1 Cost_io: 33.000000 Cost_cpu: 880234 Resp_io: 33.000000 Resp_cpu: 880234 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 13.011964 Resp: 13.011964 Degree: 1 Cost_io: 13.000000 Cost_cpu: 157282 Resp_io: 13.000000 Resp_cpu: 157282 Best NL cost: 13.011964 resc: 13.011964 resc_io: 13.000000 resc_cpu: 157282 resp: 13.011964 resp_io: 13.000000 resc_cpu: 157282 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (23.000000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.004838 card 23.000000 bytes: deg: 1 resp: 6.004838 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 32 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 10.053693 Resp: 10.053693 [multiMatchCost=0.000000] SM Join SM cost: 10.053693 resc: 10.053693 resc_io: 8.000000 resc_cpu: 26998764 resp: 10.053693 resp_io: 8.000000 resp_cpu: 26998764 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.004838 card 23.000000 bytes: deg: 1 resp: 6.004838 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046108 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.099003 Resp: 8.099003 [multiMatchCost=0.000000] HA Join HA cost: 8.099003 resc: 8.099003 resc_io: 8.000000 resc_cpu: 1301544 resp: 8.099003 resp_io: 8.000000 resp_cpu: 1301544 Join order aborted: cost > best plan cost *********************** Join order[4]: REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 23.000000 Cost: 6.004838 Resp: 6.004838 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.434783 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.434783 (scan (Disk)) = 1.434783 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 39.112254 Resp: 39.112254 Degree: 1 Cost_io: 39.000000 Cost_cpu: 1475737 Resp_io: 39.000000 Resp_cpu: 1475737 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.347826 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 14.039551 Resp: 14.039551 Degree: 1 Cost_io: 14.000000 Cost_cpu: 519955 Resp_io: 14.000000 Resp_cpu: 519955 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 29.054387 Resp: 29.054387 Degree: 1 Cost_io: 29.000000 Cost_cpu: 714995 Resp_io: 29.000000 Resp_cpu: 714995 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 14.039551 resc: 14.039551 resc_io: 14.000000 resc_cpu: 519955 resp: 14.039551 resp_io: 14.000000 resc_cpu: 519955 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (23.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[5]: REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 1.000000 Cost: 3.002234 Resp: 3.002234 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 2.000000 resc_cpu: 11371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 5.003099 Resp: 5.003099 Degree: 1 Cost_io: 5.000000 Cost_cpu: 40737 Resp_io: 5.000000 Resp_cpu: 40737 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 4.003156 Resp: 4.003156 Degree: 1 Cost_io: 4.000000 Cost_cpu: 41487 Resp_io: 4.000000 Resp_cpu: 41487 Best NL cost: 4.003156 resc: 4.003156 resc_io: 4.000000 resc_cpu: 41487 resp: 4.003156 resp_io: 4.000000 resc_cpu: 41487 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.250000 = outer (1.000000) * inner (25.000000) * sel (0.250000) Join Card - Rounded: 6 Computed: 6.250000 Outer table: REGIONS Alias: REGIONS resc: 3.002234 card 1.000000 bytes: deg: 1 resp: 3.002234 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 6.003554 Resp: 6.003554 [multiMatchCost=0.000000] SM Join SM cost: 6.003554 resc: 6.003554 resc_io: 4.000000 resc_cpu: 26339615 resp: 6.003554 resp_io: 4.000000 resp_cpu: 26339615 SM Join (with index on outer) ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (FullScan) Index: REG_ID_PK resc_io: 2.000000 resc_cpu: 15923 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 2.001211 Resp: 2.001211 Degree: 1 Outer table: REGIONS Alias: REGIONS resc: 2.001211 card 1.000000 bytes: deg: 1 resp: 2.001211 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 4.002531 Resp: 4.002531 [multiMatchCost=0.000000] Outer table: REGIONS Alias: REGIONS resc: 3.002234 card 1.000000 bytes: deg: 1 resp: 3.002234 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.045841 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.048997 Resp: 4.048997 [multiMatchCost=0.000000] HA Join HA cost: 4.048997 resc: 4.048997 resc_io: 4.000000 resc_cpu: 644137 resp: 4.048997 resp_io: 4.000000 resp_cpu: 644137 Best:: JoinMethod: SortMerge Cost: 4.002531 Degree: 1 Resp: 4.002531 Card: 6.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 6.250000 Cost: 4.002531 Resp: 4.002531 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 5750.000000 (cpu filter eval) (= 250.000000 (per row) * 23.000000 (#rows)) = 39985.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 12.020780 Resp: 12.020780 Degree: 1 Cost_io: 11.000000 Cost_cpu: 13419638 Resp_io: 11.000000 Resp_cpu: 13419638 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8871 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.365050 Resp: 7.365050 Degree: 1 Cost_io: 6.360000 Cost_cpu: 13212832 Resp_io: 6.360000 Resp_cpu: 13212832 Best NL cost: 7.365050 resc: 7.365050 resc_io: 6.360000 resc_cpu: 13212832 resp: 7.365050 resp_io: 6.360000 resc_cpu: 13212832 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 5.750000 = outer (6.250000) * inner (23.000000) * sel (0.040000) Join Card - Rounded: 6 Computed: 5.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.002531 card 6.250000 bytes: deg: 1 resp: 4.002531 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 32 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 8.050801 Resp: 8.050801 [multiMatchCost=0.000000] SM Join SM cost: 8.050801 resc: 8.050801 resc_io: 5.000000 resc_cpu: 40107201 resp: 8.050801 resp_io: 5.000000 resp_cpu: 40107201 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.002531 card 6.250000 bytes: deg: 1 resp: 4.002531 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.045883 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.096275 Resp: 6.096275 [multiMatchCost=0.000000] HA Join HA cost: 6.096275 resc: 6.096275 resc_io: 5.000000 resc_cpu: 14412117 resp: 6.096275 resp_io: 5.000000 resp_cpu: 14412117 Best:: JoinMethod: Hash Cost: 6.096275 Degree: 1 Resp: 6.096275 Card: 5.750000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 5.750000 Cost: 6.096275 Resp: 6.096275 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 14.112479 Resp: 14.112479 Degree: 1 Cost_io: 13.000000 Cost_cpu: 14625151 Resp_io: 13.000000 Resp_cpu: 14625151 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 7.924220 Resp: 7.924220 Degree: 1 Cost_io: 6.826087 Cost_cpu: 14436555 Resp_io: 6.826087 Resp_cpu: 14436555 Best NL cost: 7.924220 resc: 7.924220 resc_io: 6.826087 resc_cpu: 14436555 resp: 7.924220 resp_io: 6.826087 resc_cpu: 14436555 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (5.750000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 7 Computed: 6.750000 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.096275 card 5.750000 bytes: deg: 1 resp: 6.096275 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 39 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 10.144826 Resp: 10.144826 [multiMatchCost=0.000000] SM Join SM cost: 10.144826 resc: 10.144826 resc_io: 7.000000 resc_cpu: 41343290 resp: 10.144826 resp_io: 7.000000 resp_cpu: 41343290 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.096275 card 5.750000 bytes: deg: 1 resp: 6.096275 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.045914 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.190246 Resp: 8.190246 [multiMatchCost=0.000000] HA Join HA cost: 8.190246 resc: 8.190246 resc_io: 7.000000 resc_cpu: 15647510 resp: 8.190246 resp_io: 7.000000 resp_cpu: 15647510 Join order aborted: cost > best plan cost *********************** Join order[6]: REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 5.750000 Cost: 6.096275 Resp: 6.096275 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 16.124296 Resp: 16.124296 Degree: 1 Cost_io: 15.000000 Cost_cpu: 14780500 Resp_io: 15.000000 Resp_cpu: 14780500 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 9.105330 Resp: 9.105330 Degree: 1 Cost_io: 8.000000 Cost_cpu: 14531165 Resp_io: 8.000000 Resp_cpu: 14531165 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 12.109200 Resp: 12.109200 Degree: 1 Cost_io: 11.000000 Cost_cpu: 14582045 Resp_io: 11.000000 Resp_cpu: 14582045 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 9.105330 resc: 9.105330 resc_io: 8.000000 resc_cpu: 14531165 resp: 9.105330 resp_io: 8.000000 resc_cpu: 14531165 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (5.750000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 308 Computed: 307.625000 Join order aborted: cost > best plan cost *********************** Join order[7]: REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 6.250000 Cost: 4.002531 Resp: 4.002531 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Total Scan IO Cost = 1.333333 (scan (Disk)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) = 34155.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 12.018120 Resp: 12.018120 Degree: 1 Cost_io: 11.000000 Cost_cpu: 13384658 Resp_io: 11.000000 Resp_cpu: 13384658 Best NL cost: 12.018120 resc: 12.018120 resc_io: 11.000000 resc_cpu: 13384658 resp: 12.018120 resp_io: 11.000000 resc_cpu: 13384658 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 168.750000 = outer (6.250000) * inner (27.000000) * sel (1.000000) Join Card - Rounded: 169 Computed: 168.750000 Join order aborted: cost > best plan cost *********************** Join order[8]: REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 6.250000 Cost: 4.002531 Resp: 4.002531 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 14.030553 Resp: 14.030553 Degree: 1 Cost_io: 13.000000 Cost_cpu: 13548107 Resp_io: 13.000000 Resp_cpu: 13548107 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 7.011587 Resp: 7.011587 Degree: 1 Cost_io: 6.000000 Cost_cpu: 13298772 Resp_io: 6.000000 Resp_cpu: 13298772 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 10.015457 Resp: 10.015457 Degree: 1 Cost_io: 9.000000 Cost_cpu: 13349652 Resp_io: 9.000000 Resp_cpu: 13349652 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 7.011587 resc: 7.011587 resc_io: 6.000000 resc_cpu: 13298772 resp: 7.011587 resp_io: 6.000000 resc_cpu: 13298772 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 334.375000 = outer (6.250000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 334 Computed: 334.375000 Best:: JoinMethod: NestedLoop Cost: 7.011587 Degree: 1 Resp: 7.011587 Card: 334.375000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 334.375000 Cost: 7.011587 Resp: 7.011587 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.086826 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") Total Scan IO Cost = 1.086826 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.086826 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 5750.000000 (cpu filter eval) (= 250.000000 (per row) * 23.000000 (#rows)) = 39985.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 371.027469 Resp: 371.027469 Degree: 1 Cost_io: 369.000000 Cost_cpu: 26654016 Resp_io: 369.000000 Resp_cpu: 26654016 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8871 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 194.191778 Resp: 194.191778 Degree: 1 Cost_io: 193.040000 Cost_cpu: 15141787 Resp_io: 193.040000 Resp_cpu: 15141787 Best NL cost: 194.191778 resc: 194.191778 resc_io: 193.040000 resc_cpu: 15141787 resp: 194.191778 resp_io: 193.040000 resc_cpu: 15141787 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (334.375000) * inner (23.000000) * sel (0.040000) Join Card - Rounded: 308 Computed: 307.625000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card 334.375000 bytes: deg: 1 resp: 7.011587 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 36 Total Rows: 334 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13272609 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.069400 Resp: 11.069400 [multiMatchCost=0.000000] SM Join SM cost: 11.069400 resc: 11.069400 resc_io: 8.000000 resc_cpu: 40351710 resp: 11.069400 resp_io: 8.000000 resp_cpu: 40351710 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card 334.375000 bytes: deg: 1 resp: 7.011587 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049626 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.111240 Resp: 9.111240 [multiMatchCost=0.002168] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card: 334.375000 bytes: deg: 1 resp: 7.011587 using dmeth: 2 #groups: 1 Cost per ptn: 0.048443 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.107890 Resp: 9.107890 [multiMatchCost=0.000000] HA Join HA cost: 9.107890 swapped resc: 9.107890 resc_io: 8.000000 resc_cpu: 14564815 resp: 9.107890 resp_io: 8.000000 resp_cpu: 14564815 Join order aborted: cost > best plan cost *********************** Join order[9]: REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 334.375000 Cost: 7.011587 Resp: 7.011587 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.086826 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.086826 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.086826 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 370.913650 Resp: 370.913650 Degree: 1 Cost_io: 369.000000 Cost_cpu: 25157696 Resp_io: 369.000000 Resp_cpu: 25157696 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 341.224526 Resp: 341.224526 Degree: 1 Cost_io: 340.000000 Cost_cpu: 16098173 Resp_io: 340.000000 Resp_cpu: 16098173 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 341.224526 Resp: 341.224526 Degree: 1 Cost_io: 340.000000 Cost_cpu: 16098173 Resp_io: 340.000000 Resp_cpu: 16098173 Best NL cost: 341.224526 resc: 341.224526 resc_io: 340.000000 resc_cpu: 16098173 resp: 341.224526 resp_io: 340.000000 resc_cpu: 16098173 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 331.250000 = outer (334.375000) * inner (27.000000) * sel (0.036691) Join Card - Rounded: 331 Computed: 331.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card 334.375000 bytes: deg: 1 resp: 7.011587 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 36 Total Rows: 334 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13272609 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 11.069681 Resp: 11.069681 [multiMatchCost=0.000000] SM Join SM cost: 11.069681 resc: 11.069681 resc_io: 8.000000 resc_cpu: 40355407 resp: 11.069681 resp_io: 8.000000 resp_cpu: 40355407 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card 334.375000 bytes: deg: 1 resp: 7.011587 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.049656 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.111613 Resp: 9.111613 [multiMatchCost=0.002312] Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 7.011587 card: 334.375000 bytes: deg: 1 resp: 7.011587 using dmeth: 2 #groups: 1 Cost per ptn: 0.048488 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.108133 Resp: 9.108133 [multiMatchCost=0.000000] HA Join HA cost: 9.108133 swapped resc: 9.108133 resc_io: 8.000000 resc_cpu: 14568015 resp: 9.108133 resp_io: 8.000000 resp_cpu: 14568015 Join order aborted: cost > best plan cost *********************** Join order[10]: REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 1.000000 Cost: 3.002234 Resp: 3.002234 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 34155.760000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 34155.760000 (scan (Disk)) = 34155.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 6.004832 Resp: 6.004832 Degree: 1 Cost_io: 6.000000 Cost_cpu: 63522 Resp_io: 6.000000 Resp_cpu: 63522 Best NL cost: 6.004832 resc: 6.004832 resc_io: 6.000000 resc_cpu: 63522 resp: 6.004832 resp_io: 6.000000 resc_cpu: 63522 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (1.000000) * inner (27.000000) * sel (1.000000) Join Card - Rounded: 27 Computed: 27.000000 Best:: JoinMethod: NestedLoop Cost: 6.004832 Degree: 1 Resp: 6.004832 Card: 27.000000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 27.000000 Cost: 6.004832 Resp: 6.004832 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 37.077507 Resp: 37.077507 Degree: 1 Cost_io: 37.000000 Cost_cpu: 1018937 Resp_io: 37.000000 Resp_cpu: 1018937 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 33.022128 Resp: 33.022128 Degree: 1 Cost_io: 33.000000 Cost_cpu: 290900 Resp_io: 33.000000 Resp_cpu: 290900 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 33.022128 Resp: 33.022128 Degree: 1 Cost_io: 33.000000 Cost_cpu: 290900 Resp_io: 33.000000 Resp_cpu: 290900 Best NL cost: 33.022128 resc: 33.022128 resc_io: 33.000000 resc_cpu: 290900 resp: 33.022128 resp_io: 33.000000 resc_cpu: 290900 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 34 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 10.053489 Resp: 10.053489 [multiMatchCost=0.000000] SM Join SM cost: 10.053489 resc: 10.053489 resc_io: 8.000000 resc_cpu: 26996084 resp: 10.053489 resp_io: 8.000000 resp_cpu: 26996084 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046123 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.098845 Resp: 8.098845 [multiMatchCost=0.000030] HA Join HA cost: 8.098845 resc: 8.098845 resc_io: 8.000000 resc_cpu: 1299464 resp: 8.098845 resp_io: 8.000000 resp_cpu: 1299464 Join order aborted: cost > best plan cost *********************** Join order[11]: REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 27.000000 Cost: 6.004832 Resp: 6.004832 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.333333 resc_cpu: 11371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 15.028186 Resp: 15.028186 Degree: 1 Cost_io: 15.000000 Cost_cpu: 370550 Resp_io: 15.000000 Resp_cpu: 370550 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 33.029727 Resp: 33.029727 Degree: 1 Cost_io: 33.000000 Cost_cpu: 390800 Resp_io: 33.000000 Resp_cpu: 390800 Best NL cost: 15.028186 resc: 15.028186 resc_io: 15.000000 resc_cpu: 370550 resp: 15.028186 resp_io: 15.000000 resc_cpu: 370550 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 168.750000 = outer (27.000000) * inner (25.000000) * sel (0.250000) Join Card - Rounded: 169 Computed: 168.750000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 34 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 9.007672 Resp: 9.007672 [multiMatchCost=0.001080] SM Join SM cost: 9.007672 resc: 9.007672 resc_io: 7.000000 resc_cpu: 26393755 resp: 9.007672 resp_io: 7.000000 resp_cpu: 26393755 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046138 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.052987 Resp: 7.052987 [multiMatchCost=0.001095] HA Join HA cost: 7.052987 resc: 7.052987 resc_io: 7.000000 resc_cpu: 696593 resp: 7.052987 resp_io: 7.000000 resp_cpu: 696593 Best:: JoinMethod: Hash Cost: 7.052987 Degree: 1 Resp: 7.052987 Card: 168.750000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 168.750000 Cost: 7.052987 Resp: 7.052987 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.094675 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.094675 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.094675 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1400.000000 (cpu filter eval) (= 60.869565 (per row) * 23.000000 (#rows)) = 35635.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 192.511091 Resp: 192.511091 Degree: 1 Cost_io: 192.000000 Cost_cpu: 6719036 Resp_io: 192.000000 Resp_cpu: 6719036 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 176.164460 Resp: 176.164460 Degree: 1 Cost_io: 176.000000 Cost_cpu: 2162066 Resp_io: 176.000000 Resp_cpu: 2162066 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8954 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 101.764513 Resp: 101.764513 Degree: 1 Cost_io: 101.640000 Cost_cpu: 1636910 Resp_io: 101.640000 Resp_cpu: 1636910 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 176.164460 Resp: 176.164460 Degree: 1 Cost_io: 176.000000 Cost_cpu: 2162066 Resp_io: 176.000000 Resp_cpu: 2162066 ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 0.000000 resc_cpu: 1250 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.069056 Resp: 7.069056 Degree: 1 Cost_io: 7.000000 Cost_cpu: 907843 Resp_io: 7.000000 Resp_cpu: 907843 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 7.066485 Resp: 7.066485 Degree: 1 Cost_io: 7.000000 Cost_cpu: 874043 Resp_io: 7.000000 Resp_cpu: 874043 Bitmap nodes: Used LOC_COUNTRY_IX Cost = 7.069066, sel = 0.040000 Used LOC_ID_PK Cost = 7.066495, sel = 0.043478 Access path: Bitmap index - accepted Cost: 25.750837 Cost_io: 25.556537 Cost_cpu: 2554349.785017 Sel: 0.001739 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 25.750837 resc: 25.750837 resc_io: 25.556537 resc_cpu: 2554350 resp: 25.750837 resp_io: 25.556537 resc_cpu: 2554350 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (168.750000) * inner (23.000000) * sel (0.001739) Join Card - Rounded: 7 Computed: 6.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.052987 card 168.750000 bytes: deg: 1 resp: 7.052987 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 40 Total Rows: 169 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13202801 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.105490 Resp: 11.105490 [multiMatchCost=0.000000] SM Join SM cost: 11.105490 resc: 11.105490 resc_io: 9.000000 resc_cpu: 27679723 resp: 11.105490 resp_io: 9.000000 resp_cpu: 27679723 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.052987 card 168.750000 bytes: deg: 1 resp: 7.052987 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.047743 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 9.148590 Resp: 9.148590 [multiMatchCost=0.000000] HA Join HA cost: 9.148590 resc: 9.148590 resc_io: 9.000000 resc_cpu: 1953436 resp: 9.148590 resp_io: 9.000000 resp_cpu: 1953436 Join order aborted: cost > best plan cost *********************** Join order[12]: REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 168.750000 Cost: 7.052987 Resp: 7.052987 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.366864 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.366864 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.366864 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 239.060926 Resp: 239.060926 Degree: 1 Cost_io: 238.000000 Cost_cpu: 13947410 Resp_io: 238.000000 Resp_cpu: 13947410 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.284024 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 55.376185 Resp: 55.376185 Degree: 1 Cost_io: 55.000000 Cost_cpu: 4945496 Resp_io: 55.000000 Resp_cpu: 4945496 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 7.089624 Resp: 7.089624 Degree: 1 Cost_io: 7.000000 Cost_cpu: 1178243 Resp_io: 7.000000 Resp_cpu: 1178243 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 7.089624 resc: 7.089624 resc_io: 7.000000 resc_cpu: 1178243 resp: 7.089624 resp_io: 7.000000 resc_cpu: 1178243 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 331.250000 = outer (168.750000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 331 Computed: 331.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.052987 card 168.750000 bytes: deg: 1 resp: 7.052987 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 40 Total Rows: 169 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13202801 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 10.060128 Resp: 10.060128 [multiMatchCost=0.001232] SM Join SM cost: 10.060128 resc: 10.060128 resc_io: 8.000000 resc_cpu: 27083365 resp: 10.060128 resp_io: 8.000000 resp_cpu: 27083365 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.052987 card 168.750000 bytes: deg: 1 resp: 7.052987 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.047979 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.103630 Resp: 8.103630 [multiMatchCost=0.002107] HA Join HA cost: 8.103630 resc: 8.103630 resc_io: 8.000000 resc_cpu: 1362364 resp: 8.103630 resp_io: 8.000000 resp_cpu: 1362364 Best:: JoinMethod: NestedLoop Cost: 7.089624 Degree: 1 Resp: 7.089624 Card: 331.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 331.250000 Cost: 7.089624 Resp: 7.089624 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.087613 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2048 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.087613 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.087613 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1400.000000 (cpu filter eval) (= 60.869565 (per row) * 23.000000 (#rows)) = 35635.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 367.986858 Resp: 367.986858 Degree: 1 Cost_io: 367.000000 Cost_cpu: 12973680 Resp_io: 367.000000 Resp_cpu: 12973680 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.307953 Resp: 338.307953 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4048490 Resp_io: 338.000000 Resp_cpu: 4048490 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8954 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 192.589714 Resp: 192.589714 Degree: 1 Cost_io: 192.360000 Cost_cpu: 3019929 Resp_io: 192.360000 Resp_cpu: 3019929 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.307953 Resp: 338.307953 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4048490 Resp_io: 338.000000 Resp_cpu: 4048490 ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 0.000000 resc_cpu: 1250 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.121097 Resp: 7.121097 Degree: 1 Cost_io: 7.000000 Cost_cpu: 1591993 Resp_io: 7.000000 Resp_cpu: 1591993 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 7.116061 Resp: 7.116061 Degree: 1 Cost_io: 7.000000 Cost_cpu: 1525793 Resp_io: 7.000000 Resp_cpu: 1525793 Bitmap nodes: Used LOC_COUNTRY_IX Cost = 7.121106, sel = 0.040000 Used LOC_ID_PK Cost = 7.116071, sel = 0.043478 Access path: Bitmap index - accepted Cost: 30.262409 Cost_io: 29.924342 Cost_cpu: 4444379.644264 Sel: 0.001739 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 30.262409 resc: 30.262409 resc_io: 29.924342 resc_cpu: 4444380 resp: 30.262409 resp_io: 29.924342 resc_cpu: 4444380 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (331.250000) * inner (23.000000) * sel (0.001739) Join Card - Rounded: 13 Computed: 13.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.089624 card 331.250000 bytes: deg: 1 resp: 7.089624 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 43 Total Rows: 331 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13271281 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.147337 Resp: 11.147337 [multiMatchCost=0.000000] SM Join SM cost: 11.147337 resc: 11.147337 resc_io: 9.000000 resc_cpu: 28229854 resp: 11.147337 resp_io: 9.000000 resp_cpu: 28229854 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 7.089624 card 331.250000 bytes: deg: 1 resp: 7.089624 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049591 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.187076 Resp: 9.187076 [multiMatchCost=0.000000] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 7.089624 card: 331.250000 bytes: deg: 1 resp: 7.089624 using dmeth: 2 #groups: 1 Cost per ptn: 0.048420 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.185905 Resp: 9.185905 [multiMatchCost=0.000000] HA Join HA cost: 9.185905 swapped resc: 9.185905 resc_io: 9.000000 resc_cpu: 2443986 resp: 9.185905 resp_io: 9.000000 resp_cpu: 2443986 Join order aborted: cost > best plan cost *********************** Join order[13]: REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 6.004832 Resp: 6.004832 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 44.165863 Resp: 44.165863 Degree: 1 Cost_io: 44.000000 Cost_cpu: 2180516 Resp_io: 44.000000 Resp_cpu: 2180516 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 15.056467 Resp: 15.056467 Degree: 1 Cost_io: 15.000000 Cost_cpu: 742340 Resp_io: 15.000000 Resp_cpu: 742340 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 6.010685 Resp: 6.010685 Degree: 1 Cost_io: 6.000000 Cost_cpu: 140472 Resp_io: 6.000000 Resp_cpu: 140472 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 6.010685 resc: 6.010685 resc_io: 6.000000 resc_cpu: 140472 resp: 6.010685 resp_io: 6.000000 resc_cpu: 140472 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 34 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 9.006894 Resp: 9.006894 [multiMatchCost=0.000000] SM Join SM cost: 9.006894 resc: 9.006894 resc_io: 7.000000 resc_cpu: 26383526 resp: 9.006894 resp_io: 7.000000 resp_cpu: 26383526 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.004832 card 27.000000 bytes: deg: 1 resp: 6.004832 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.051747 Resp: 7.051747 [multiMatchCost=0.000000] HA Join HA cost: 7.051747 resc: 7.051747 resc_io: 7.000000 resc_cpu: 680293 resp: 7.051747 resp_io: 7.000000 resp_cpu: 680293 Best:: JoinMethod: NestedLoop Cost: 6.010685 Degree: 1 Resp: 6.010685 Card: 53.000000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.000000 Cost: 6.010685 Resp: 6.010685 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 65.153343 Resp: 65.153343 Degree: 1 Cost_io: 65.000000 Cost_cpu: 2015917 Resp_io: 65.000000 Resp_cpu: 2015917 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 59.044636 Resp: 59.044636 Degree: 1 Cost_io: 59.000000 Cost_cpu: 586808 Resp_io: 59.000000 Resp_cpu: 586808 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 59.044636 Resp: 59.044636 Degree: 1 Cost_io: 59.000000 Cost_cpu: 586808 Resp_io: 59.000000 Resp_cpu: 586808 Best NL cost: 59.044636 resc: 59.044636 resc_io: 59.000000 resc_cpu: 586808 resp: 59.044636 resp_io: 59.000000 resc_cpu: 586808 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 6.010685 card 53.000000 bytes: deg: 1 resp: 6.010685 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 37 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 10.059942 Resp: 10.059942 [multiMatchCost=0.000000] SM Join SM cost: 10.059942 resc: 10.059942 resc_io: 8.000000 resc_cpu: 27080927 resp: 10.059942 resp_io: 8.000000 resp_cpu: 27080927 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 6.010685 card 53.000000 bytes: deg: 1 resp: 6.010685 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046419 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.105193 Resp: 8.105193 [multiMatchCost=0.000228] HA Join HA cost: 8.105193 resc: 8.105193 resc_io: 8.000000 resc_cpu: 1382914 resp: 8.105193 resp_io: 8.000000 resp_cpu: 1382914 Join order aborted: cost > best plan cost *********************** Join order[14]: REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 6.010685 Resp: 6.010685 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 11371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 22.056529 Resp: 22.056529 Degree: 1 Cost_io: 22.000000 Cost_cpu: 743158 Resp_io: 22.000000 Resp_cpu: 743158 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 59.059553 Resp: 59.059553 Degree: 1 Cost_io: 59.000000 Cost_cpu: 782908 Resp_io: 59.000000 Resp_cpu: 782908 Best NL cost: 22.056529 resc: 22.056529 resc_io: 22.000000 resc_cpu: 743158 resp: 22.056529 resp_io: 22.000000 resc_cpu: 743158 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 331.250000 = outer (53.000000) * inner (25.000000) * sel (0.250000) Join Card - Rounded: 331 Computed: 331.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 6.010685 card 53.000000 bytes: deg: 1 resp: 6.010685 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 37 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 9.015160 Resp: 9.015160 [multiMatchCost=0.002115] SM Join SM cost: 9.015160 resc: 9.015160 resc_io: 7.000000 resc_cpu: 26492199 resp: 9.015160 resp_io: 7.000000 resp_cpu: 26492199 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 6.010685 card 53.000000 bytes: deg: 1 resp: 6.010685 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.060369 Resp: 7.060369 [multiMatchCost=0.002328] HA Join HA cost: 7.060369 resc: 7.060369 resc_io: 7.000000 resc_cpu: 793643 resp: 7.060369 resp_io: 7.000000 resp_cpu: 793643 Best:: JoinMethod: Hash Cost: 7.060369 Degree: 1 Resp: 7.060369 Card: 331.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 331.250000 Cost: 7.060369 Resp: 7.060369 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.087613 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2048 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.087613 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.087613 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1400.000000 (cpu filter eval) (= 60.869565 (per row) * 23.000000 (#rows)) = 35635.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 367.957603 Resp: 367.957603 Degree: 1 Cost_io: 367.000000 Cost_cpu: 12589080 Resp_io: 367.000000 Resp_cpu: 12589080 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.278698 Resp: 338.278698 Degree: 1 Cost_io: 338.000000 Cost_cpu: 3663890 Resp_io: 338.000000 Resp_cpu: 3663890 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8954 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 192.560459 Resp: 192.560459 Degree: 1 Cost_io: 192.360000 Cost_cpu: 2635329 Resp_io: 192.360000 Resp_cpu: 2635329 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.278698 Resp: 338.278698 Degree: 1 Cost_io: 338.000000 Cost_cpu: 3663890 Resp_io: 338.000000 Resp_cpu: 3663890 ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 0.000000 resc_cpu: 1250 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.091842 Resp: 7.091842 Degree: 1 Cost_io: 7.000000 Cost_cpu: 1207393 Resp_io: 7.000000 Resp_cpu: 1207393 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 7.086806 Resp: 7.086806 Degree: 1 Cost_io: 7.000000 Cost_cpu: 1141193 Resp_io: 7.000000 Resp_cpu: 1141193 Bitmap nodes: Used LOC_COUNTRY_IX Cost = 7.091851, sel = 0.040000 Used LOC_ID_PK Cost = 7.086816, sel = 0.043478 Access path: Bitmap index - accepted Cost: 30.174644 Cost_io: 29.924342 Cost_cpu: 3290579.644264 Sel: 0.001739 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 30.174644 resc: 30.174644 resc_io: 29.924342 resc_cpu: 3290580 resp: 30.174644 resp_io: 29.924342 resc_cpu: 3290580 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (331.250000) * inner (23.000000) * sel (0.001739) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.060369 card 331.250000 bytes: deg: 1 resp: 7.060369 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 43 Total Rows: 331 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13271281 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.118082 Resp: 11.118082 [multiMatchCost=0.000000] SM Join SM cost: 11.118082 resc: 11.118082 resc_io: 9.000000 resc_cpu: 27845254 resp: 11.118082 resp_io: 9.000000 resp_cpu: 27845254 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.060369 card 331.250000 bytes: deg: 1 resp: 7.060369 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049591 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.157821 Resp: 9.157821 [multiMatchCost=0.000000] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 7.060369 card: 331.250000 bytes: deg: 1 resp: 7.060369 using dmeth: 2 #groups: 1 Cost per ptn: 0.048420 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.156650 Resp: 9.156650 [multiMatchCost=0.000000] HA Join HA cost: 9.156650 swapped resc: 9.156650 resc_io: 9.000000 resc_cpu: 2059386 resp: 9.156650 resp_io: 9.000000 resp_cpu: 2059386 Join order aborted: cost > best plan cost *********************** Join order[15]: REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 1.000000 Cost: 3.002234 Resp: 3.002234 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 3.000000 (scan (Disk)) = 3.000000 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 6.006904 Resp: 6.006904 Degree: 1 Cost_io: 6.000000 Cost_cpu: 90763 Resp_io: 6.000000 Resp_cpu: 90763 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 2.000000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 5.003743 Resp: 5.003743 Degree: 1 Cost_io: 5.000000 Cost_cpu: 49207 Resp_io: 5.000000 Resp_cpu: 49207 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 4.004388 Resp: 4.004388 Degree: 1 Cost_io: 4.000000 Cost_cpu: 57687 Resp_io: 4.000000 Resp_cpu: 57687 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.004388 resc: 4.004388 resc_io: 4.000000 resc_cpu: 57687 resp: 4.004388 resp_io: 4.000000 resc_cpu: 57687 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.500000 = outer (1.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 54 Computed: 53.500000 Best:: JoinMethod: NestedLoop Cost: 4.004388 Degree: 1 Resp: 4.004388 Card: 53.500000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.500000 Cost: 4.004388 Resp: 4.004388 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.111111 Scan CPU Cost (Disk) = 34235.760000 Total Scan IO Cost = 1.111111 (scan (Disk)) = 1.111111 Total Scan CPU Cost = 34235.760000 (scan (Disk)) = 34235.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 64.145014 Resp: 64.145014 Degree: 1 Cost_io: 64.000000 Cost_cpu: 1906418 Resp_io: 64.000000 Resp_cpu: 1906418 Best NL cost: 64.145014 resc: 64.145014 resc_io: 64.000000 resc_cpu: 1906418 resp: 64.145014 resp_io: 64.000000 resc_cpu: 1906418 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (53.500000) * inner (23.000000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[16]: REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.500000 Cost: 4.004388 Resp: 4.004388 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.296296 resc_cpu: 11371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 20.051097 Resp: 20.051097 Degree: 1 Cost_io: 20.000000 Cost_cpu: 671745 Resp_io: 20.000000 Resp_cpu: 671745 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 58.054178 Resp: 58.054178 Degree: 1 Cost_io: 58.000000 Cost_cpu: 712245 Resp_io: 58.000000 Resp_cpu: 712245 Best NL cost: 20.051097 resc: 20.051097 resc_io: 20.000000 resc_cpu: 671745 resp: 20.051097 resp_io: 20.000000 resc_cpu: 671745 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 334.375000 = outer (53.500000) * inner (25.000000) * sel (0.250000) Join Card - Rounded: 334 Computed: 334.375000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.004388 card 53.500000 bytes: deg: 1 resp: 4.004388 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 29 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.008903 Resp: 7.008903 [multiMatchCost=0.002130] SM Join SM cost: 7.008903 resc: 7.008903 resc_io: 5.000000 resc_cpu: 26409938 resp: 7.008903 resp_io: 5.000000 resp_cpu: 26409938 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.004388 card 53.500000 bytes: deg: 1 resp: 4.004388 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046446 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.054107 Resp: 5.054107 [multiMatchCost=0.002350] HA Join HA cost: 5.054107 resc: 5.054107 resc_io: 5.000000 resc_cpu: 711309 resp: 5.054107 resp_io: 5.000000 resp_cpu: 711309 Best:: JoinMethod: Hash Cost: 5.054107 Degree: 1 Resp: 5.054107 Card: 334.375000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 334.375000 Cost: 5.054107 Resp: 5.054107 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.086826 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2048 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") Total Scan IO Cost = 1.086826 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.086826 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 5750.000000 (cpu filter eval) (= 250.000000 (per row) * 23.000000 (#rows)) = 39985.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 369.069989 Resp: 369.069989 Degree: 1 Cost_io: 368.000000 Cost_cpu: 14066552 Resp_io: 368.000000 Resp_cpu: 14066552 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8871 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 192.234298 Resp: 192.234298 Degree: 1 Cost_io: 192.040000 Cost_cpu: 2554323 Resp_io: 192.040000 Resp_cpu: 2554323 Best NL cost: 192.234298 resc: 192.234298 resc_io: 192.040000 resc_cpu: 2554323 resp: 192.234298 resp_io: 192.040000 resc_cpu: 2554323 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (334.375000) * inner (23.000000) * sel (0.040000) Join Card - Rounded: 308 Computed: 307.625000 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card 334.375000 bytes: deg: 1 resp: 5.054107 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 36 Total Rows: 334 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13272609 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 9.111920 Resp: 9.111920 [multiMatchCost=0.000000] SM Join SM cost: 9.111920 resc: 9.111920 resc_io: 7.000000 resc_cpu: 27764247 resp: 9.111920 resp_io: 7.000000 resp_cpu: 27764247 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card 334.375000 bytes: deg: 1 resp: 5.054107 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049626 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 7.153760 Resp: 7.153760 [multiMatchCost=0.002168] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card: 334.375000 bytes: deg: 1 resp: 5.054107 using dmeth: 2 #groups: 1 Cost per ptn: 0.048443 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 7.150410 Resp: 7.150410 [multiMatchCost=0.000000] HA Join HA cost: 7.150410 swapped resc: 7.150410 resc_io: 7.000000 resc_cpu: 1977352 resp: 7.150410 resp_io: 7.000000 resp_cpu: 1977352 Best:: JoinMethod: Hash Cost: 7.150410 Degree: 1 Resp: 7.150410 Card: 307.625000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 307.625000 Cost: 7.150410 Resp: 7.150410 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.087662 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.087662 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.087662 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1399.532710 (cpu filter eval) (= 51.834545 (per row) * 27.000000 (#rows)) = 35555.292710 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 342.983412 Resp: 342.983412 Degree: 1 Cost_io: 342.000000 Cost_cpu: 12928382 Resp_io: 342.000000 Resp_cpu: 12928382 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8431 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 315.347945 Resp: 315.347945 Degree: 1 Cost_io: 315.000000 Cost_cpu: 4574235 Resp_io: 315.000000 Resp_cpu: 4574235 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8431 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 315.347945 Resp: 315.347945 Degree: 1 Cost_io: 315.000000 Cost_cpu: 4574235 Resp_io: 315.000000 Resp_cpu: 4574235 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9804 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 100.986340 Resp: 100.986340 Degree: 1 Cost_io: 100.739130 Cost_cpu: 3249928 Resp_io: 100.739130 Resp_cpu: 3249928 ****** trying bitmap/domain indexes ****** ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 7.175009 Resp: 7.175009 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2300752 Resp_io: 7.000000 Resp_cpu: 2300752 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 0.000000 resc_cpu: 1650 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 7.189066 Resp: 7.189066 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2485552 Resp_io: 7.000000 Resp_cpu: 2485552 Bitmap nodes: Used DEPT_ID_PK Cost = 7.175020, sel = 0.036691 Used DEPT_LOCATION_IX Cost = 7.189078, sel = 0.043478 Access path: Bitmap index - accepted Cost: 29.589553 Cost_io: 29.065620 Cost_cpu: 6887856.538314 Sel: 0.001595 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 29.589553 resc: 29.589553 resc_io: 29.065620 resc_cpu: 6887857 resp: 29.589553 resp_io: 29.065620 resc_cpu: 6887857 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (307.625000) * inner (27.000000) * sel (0.001595) Join Card - Rounded: 13 Computed: 13.250000 Outer table: LOCATIONS Alias: LOCATIONS resc: 7.150410 card 307.625000 bytes: deg: 1 resp: 7.150410 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 42 Total Rows: 308 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13261165 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 11.207634 Resp: 11.207634 [multiMatchCost=0.000000] SM Join SM cost: 11.207634 resc: 11.207634 resc_io: 9.000000 resc_cpu: 29022543 resp: 11.207634 resp_io: 9.000000 resp_cpu: 29022543 Outer table: LOCATIONS Alias: LOCATIONS resc: 7.150410 card 307.625000 bytes: deg: 1 resp: 7.150410 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.049359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.247827 Resp: 9.247827 [multiMatchCost=0.000000] Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: LOCATIONS Alias: LOCATIONS resc: 7.150410 card: 307.625000 bytes: deg: 1 resp: 7.150410 using dmeth: 2 #groups: 1 Cost per ptn: 0.048291 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.246758 Resp: 9.246758 [multiMatchCost=0.000000] HA Join HA cost: 9.246758 swapped resc: 9.246758 resc_io: 9.000000 resc_cpu: 3243994 resp: 9.246758 resp_io: 9.000000 resp_cpu: 3243994 Plan cardinality mismatch: best card= 13.25000000000 curr card= 13.25000000000 Join order aborted: cost > best plan cost *********************** Join order[17]: REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 334.375000 Cost: 5.054107 Resp: 5.054107 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.086826 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2048 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.086826 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.086826 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 368.956169 Resp: 368.956169 Degree: 1 Cost_io: 368.000000 Cost_cpu: 12570232 Resp_io: 368.000000 Resp_cpu: 12570232 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 339.267046 Resp: 339.267046 Degree: 1 Cost_io: 339.000000 Cost_cpu: 3510710 Resp_io: 339.000000 Resp_cpu: 3510710 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 339.267046 Resp: 339.267046 Degree: 1 Cost_io: 339.000000 Cost_cpu: 3510710 Resp_io: 339.000000 Resp_cpu: 3510710 Best NL cost: 339.267046 resc: 339.267046 resc_io: 339.000000 resc_cpu: 3510710 resp: 339.267046 resp_io: 339.000000 resc_cpu: 3510710 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 331.250000 = outer (334.375000) * inner (27.000000) * sel (0.036691) Join Card - Rounded: 331 Computed: 331.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card 334.375000 bytes: deg: 1 resp: 5.054107 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 36 Total Rows: 334 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13272609 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 9.112201 Resp: 9.112201 [multiMatchCost=0.000000] SM Join SM cost: 9.112201 resc: 9.112201 resc_io: 7.000000 resc_cpu: 27767943 resp: 9.112201 resp_io: 7.000000 resp_cpu: 27767943 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card 334.375000 bytes: deg: 1 resp: 5.054107 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.049656 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 7.154133 Resp: 7.154133 [multiMatchCost=0.002312] Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: COUNTRIES Alias: COUNTRIES resc: 5.054107 card: 334.375000 bytes: deg: 1 resp: 5.054107 using dmeth: 2 #groups: 1 Cost per ptn: 0.048488 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 7.150653 Resp: 7.150653 [multiMatchCost=0.000000] HA Join HA cost: 7.150653 swapped resc: 7.150653 resc_io: 7.000000 resc_cpu: 1980552 resp: 7.150653 resp_io: 7.000000 resp_cpu: 1980552 Best:: JoinMethod: Hash Cost: 7.150653 Degree: 1 Resp: 7.150653 Card: 331.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 331.250000 Cost: 7.150653 Resp: 7.150653 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.087613 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.087613 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.087613 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1400.000000 (cpu filter eval) (= 60.869565 (per row) * 23.000000 (#rows)) = 35635.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 368.047887 Resp: 368.047887 Degree: 1 Cost_io: 367.000000 Cost_cpu: 13775988 Resp_io: 367.000000 Resp_cpu: 13775988 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.368982 Resp: 338.368982 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4850798 Resp_io: 338.000000 Resp_cpu: 4850798 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8954 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 192.650743 Resp: 192.650743 Degree: 1 Cost_io: 192.360000 Cost_cpu: 3822238 Resp_io: 192.360000 Resp_cpu: 3822238 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.368982 Resp: 338.368982 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4850798 Resp_io: 338.000000 Resp_cpu: 4850798 ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 0.000000 resc_cpu: 1250 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.182125 Resp: 7.182125 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2394302 Resp_io: 7.000000 Resp_cpu: 2394302 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 7.177090 Resp: 7.177090 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2328102 Resp_io: 7.000000 Resp_cpu: 2328102 Bitmap nodes: Used LOC_COUNTRY_IX Cost = 7.182135, sel = 0.040000 Used LOC_ID_PK Cost = 7.177100, sel = 0.043478 Access path: Bitmap index - accepted Cost: 30.445494 Cost_io: 29.924342 Cost_cpu: 6851305.324264 Sel: 0.001739 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 30.445494 resc: 30.445494 resc_io: 29.924342 resc_cpu: 6851305 resp: 30.445494 resp_io: 29.924342 resc_cpu: 6851305 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (331.250000) * inner (23.000000) * sel (0.001739) Join Card - Rounded: 13 Computed: 13.250000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 7.150653 card 331.250000 bytes: deg: 1 resp: 7.150653 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 43 Total Rows: 331 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13271281 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.208365 Resp: 11.208365 [multiMatchCost=0.000000] SM Join SM cost: 11.208365 resc: 11.208365 resc_io: 9.000000 resc_cpu: 29032162 resp: 11.208365 resp_io: 9.000000 resp_cpu: 29032162 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 7.150653 card 331.250000 bytes: deg: 1 resp: 7.150653 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049591 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.248105 Resp: 9.248105 [multiMatchCost=0.000000] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 7.150653 card: 331.250000 bytes: deg: 1 resp: 7.150653 using dmeth: 2 #groups: 1 Cost per ptn: 0.048420 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.246933 Resp: 9.246933 [multiMatchCost=0.000000] HA Join HA cost: 9.246933 swapped resc: 9.246933 resc_io: 9.000000 resc_cpu: 3246294 resp: 9.246933 resp_io: 9.000000 resp_cpu: 3246294 Join order aborted: cost > best plan cost *********************** Join order[18]: REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 53.500000 Cost: 4.004388 Resp: 4.004388 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.111111 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.111111 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.111111 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 64.150231 Resp: 64.150231 Degree: 1 Cost_io: 64.000000 Cost_cpu: 1974998 Resp_io: 64.000000 Resp_cpu: 1974998 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 58.038815 Resp: 58.038815 Degree: 1 Cost_io: 58.000000 Cost_cpu: 510285 Resp_io: 58.000000 Resp_cpu: 510285 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 58.038815 Resp: 58.038815 Degree: 1 Cost_io: 58.000000 Cost_cpu: 510285 Resp_io: 58.000000 Resp_cpu: 510285 Best NL cost: 58.038815 resc: 58.038815 resc_io: 58.000000 resc_cpu: 510285 resp: 58.038815 resp_io: 58.000000 resc_cpu: 510285 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.500000) * inner (27.000000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.004388 card 53.500000 bytes: deg: 1 resp: 4.004388 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 29 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 8.053951 Resp: 8.053951 [multiMatchCost=0.000000] SM Join SM cost: 8.053951 resc: 8.053951 resc_io: 6.000000 resc_cpu: 27002163 resp: 8.053951 resp_io: 6.000000 resp_cpu: 27002163 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.004388 card 53.500000 bytes: deg: 1 resp: 4.004388 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046461 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.099105 Resp: 6.099105 [multiMatchCost=0.000198] HA Join HA cost: 6.099105 resc: 6.099105 resc_io: 6.000000 resc_cpu: 1302880 resp: 6.099105 resp_io: 6.000000 resp_cpu: 1302880 Best:: JoinMethod: Hash Cost: 6.099105 Degree: 1 Resp: 6.099105 Card: 53.000000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.000000 Cost: 6.099105 Resp: 6.099105 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 65.241763 Resp: 65.241763 Degree: 1 Cost_io: 65.000000 Cost_cpu: 3178325 Resp_io: 65.000000 Resp_cpu: 3178325 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 59.133056 Resp: 59.133056 Degree: 1 Cost_io: 59.000000 Cost_cpu: 1749216 Resp_io: 59.000000 Resp_cpu: 1749216 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 59.133056 Resp: 59.133056 Degree: 1 Cost_io: 59.000000 Cost_cpu: 1749216 Resp_io: 59.000000 Resp_cpu: 1749216 Best NL cost: 59.133056 resc: 59.133056 resc_io: 59.000000 resc_cpu: 1749216 resp: 59.133056 resp_io: 59.000000 resc_cpu: 1749216 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.099105 card 53.000000 bytes: deg: 1 resp: 6.099105 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 37 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 10.148362 Resp: 10.148362 [multiMatchCost=0.000000] SM Join SM cost: 10.148362 resc: 10.148362 resc_io: 8.000000 resc_cpu: 28243336 resp: 10.148362 resp_io: 8.000000 resp_cpu: 28243336 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.099105 card 53.000000 bytes: deg: 1 resp: 6.099105 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046419 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.193613 Resp: 8.193613 [multiMatchCost=0.000228] HA Join HA cost: 8.193613 resc: 8.193613 resc_io: 8.000000 resc_cpu: 2545323 resp: 8.193613 resp_io: 8.000000 resp_cpu: 2545323 Join order aborted: cost > best plan cost *********************** Join order[19]: REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 6.099105 Resp: 6.099105 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 11371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 22.144949 Resp: 22.144949 Degree: 1 Cost_io: 22.000000 Cost_cpu: 1905566 Resp_io: 22.000000 Resp_cpu: 1905566 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 59.147973 Resp: 59.147973 Degree: 1 Cost_io: 59.000000 Cost_cpu: 1945316 Resp_io: 59.000000 Resp_cpu: 1945316 Best NL cost: 22.144949 resc: 22.144949 resc_io: 22.000000 resc_cpu: 1905566 resp: 22.144949 resp_io: 22.000000 resc_cpu: 1905566 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 331.250000 = outer (53.000000) * inner (25.000000) * sel (0.250000) Join Card - Rounded: 331 Computed: 331.250000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.099105 card 53.000000 bytes: deg: 1 resp: 6.099105 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 37 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 9.103580 Resp: 9.103580 [multiMatchCost=0.002115] SM Join SM cost: 9.103580 resc: 9.103580 resc_io: 7.000000 resc_cpu: 27654607 resp: 9.103580 resp_io: 7.000000 resp_cpu: 27654607 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.099105 card 53.000000 bytes: deg: 1 resp: 6.099105 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.148789 Resp: 7.148789 [multiMatchCost=0.002328] HA Join HA cost: 7.148789 resc: 7.148789 resc_io: 7.000000 resc_cpu: 1956052 resp: 7.148789 resp_io: 7.000000 resp_cpu: 1956052 Best:: JoinMethod: Hash Cost: 7.148789 Degree: 1 Resp: 7.148789 Card: 331.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 331.250000 Cost: 7.148789 Resp: 7.148789 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.087613 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2048 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.087613 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.087613 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1400.000000 (cpu filter eval) (= 60.869565 (per row) * 23.000000 (#rows)) = 35635.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 368.046023 Resp: 368.046023 Degree: 1 Cost_io: 367.000000 Cost_cpu: 13751488 Resp_io: 367.000000 Resp_cpu: 13751488 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.367118 Resp: 338.367118 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4826298 Resp_io: 338.000000 Resp_cpu: 4826298 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8954 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 192.648879 Resp: 192.648879 Degree: 1 Cost_io: 192.360000 Cost_cpu: 3797738 Resp_io: 192.360000 Resp_cpu: 3797738 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8671 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 338.367118 Resp: 338.367118 Degree: 1 Cost_io: 338.000000 Cost_cpu: 4826298 Resp_io: 338.000000 Resp_cpu: 4826298 ****** trying bitmap/domain indexes ****** ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 0.000000 resc_cpu: 1250 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.180262 Resp: 7.180262 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2369802 Resp_io: 7.000000 Resp_cpu: 2369802 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 7.175226 Resp: 7.175226 Degree: 1 Cost_io: 7.000000 Cost_cpu: 2303602 Resp_io: 7.000000 Resp_cpu: 2303602 Bitmap nodes: Used LOC_COUNTRY_IX Cost = 7.180271, sel = 0.040000 Used LOC_ID_PK Cost = 7.175236, sel = 0.043478 Access path: Bitmap index - accepted Cost: 30.439903 Cost_io: 29.924342 Cost_cpu: 6777805.324264 Sel: 0.001739 Not Believed to be index-only ****** finished trying bitmap/domain indexes ****** Best NL cost: 30.439903 resc: 30.439903 resc_io: 29.924342 resc_cpu: 6777805 resp: 30.439903 resp_io: 29.924342 resc_cpu: 6777805 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (331.250000) * inner (23.000000) * sel (0.001739) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.148789 card 331.250000 bytes: deg: 1 resp: 7.148789 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 2 Row size: 43 Total Rows: 331 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13271281 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 11.206502 Resp: 11.206502 [multiMatchCost=0.000000] SM Join SM cost: 11.206502 resc: 11.206502 resc_io: 9.000000 resc_cpu: 29007662 resp: 11.206502 resp_io: 9.000000 resp_cpu: 29007662 Outer table: COUNTRIES Alias: COUNTRIES resc: 7.148789 card 331.250000 bytes: deg: 1 resp: 7.148789 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.049591 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 2 probefrag: 1 ppasses: 1 Hash join: Resc: 9.246241 Resp: 9.246241 [multiMatchCost=0.000000] Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 7.148789 card: 331.250000 bytes: deg: 1 resp: 7.148789 using dmeth: 2 #groups: 1 Cost per ptn: 0.048420 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 2 ppasses: 1 Hash join: Resc: 9.245070 Resp: 9.245070 [multiMatchCost=0.000000] HA Join HA cost: 9.245070 swapped resc: 9.245070 resc_io: 9.000000 resc_cpu: 3221794 resp: 9.245070 resp_io: 9.000000 resp_cpu: 3221794 Join order aborted: cost > best plan cost *********************** Join order[20]: LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 23.000000 Cost: 2.047860 Resp: 2.047860 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 29.099236 Resp: 29.099236 Degree: 1 Cost_io: 29.000000 Cost_cpu: 1304605 Resp_io: 29.000000 Resp_cpu: 1304605 Best NL cost: 29.099236 resc: 29.099236 resc_io: 29.000000 resc_cpu: 1304605 resp: 29.099236 resp_io: 29.000000 resc_cpu: 1304605 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 23.000000 = outer (23.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 23 Computed: 23.000000 Join order aborted: cost > best plan cost *********************** Join order[21]: LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 23.000000 Cost: 2.047860 Resp: 2.047860 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.347826 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 10.076502 Resp: 10.076502 Degree: 1 Cost_io: 10.000000 Cost_cpu: 1005736 Resp_io: 10.000000 Resp_cpu: 1005736 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 2.049697 Resp: 2.049697 Degree: 1 Cost_io: 2.000000 Cost_cpu: 653343 Resp_io: 2.000000 Resp_cpu: 653343 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 2.049697 Resp: 2.049697 Degree: 1 Cost_io: 2.000000 Cost_cpu: 653343 Resp_io: 2.000000 Resp_cpu: 653343 Best NL cost: 2.049697 resc: 2.049697 resc_io: 2.000000 resc_cpu: 653343 resp: 2.049697 resp_io: 2.000000 resc_cpu: 653343 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 23.000000 = outer (23.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 23 Computed: 23.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 5.049537 Resp: 5.049537 [multiMatchCost=0.000000] SM Join SM cost: 5.049537 resc: 5.049537 resc_io: 3.000000 resc_cpu: 26944130 resp: 5.049537 resp_io: 3.000000 resp_cpu: 26944130 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046092 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 3.094875 Resp: 3.094875 [multiMatchCost=0.000000] HA Join HA cost: 3.094875 resc: 3.094875 resc_io: 3.000000 resc_cpu: 1247264 resp: 3.094875 resp_io: 3.000000 resp_cpu: 1247264 Best:: JoinMethod: NestedLoop Cost: 2.049697 Degree: 1 Resp: 2.049697 Card: 23.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 23.000000 Cost: 2.049697 Resp: 2.049697 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 29.101161 Resp: 29.101161 Degree: 1 Cost_io: 29.000000 Cost_cpu: 1329905 Resp_io: 29.000000 Resp_cpu: 1329905 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 25.064378 Resp: 25.064378 Degree: 1 Cost_io: 25.000000 Cost_cpu: 846346 Resp_io: 25.000000 Resp_cpu: 846346 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 25.064378 Resp: 25.064378 Degree: 1 Cost_io: 25.000000 Cost_cpu: 846346 Resp_io: 25.000000 Resp_cpu: 846346 Best NL cost: 25.064378 resc: 25.064378 resc_io: 25.000000 resc_cpu: 846346 resp: 25.064378 resp_io: 25.000000 resc_cpu: 846346 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 5.750000 = outer (23.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 6 Computed: 5.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 23.000000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 24 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 7.052288 Resp: 7.052288 [multiMatchCost=0.000000] SM Join SM cost: 7.052288 resc: 7.052288 resc_io: 5.000000 resc_cpu: 26980294 resp: 7.052288 resp_io: 5.000000 resp_cpu: 26980294 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 23.000000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045910 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097879 Resp: 5.097879 [multiMatchCost=0.000038] HA Join HA cost: 5.097879 resc: 5.097879 resc_io: 5.000000 resc_cpu: 1286759 resp: 5.097879 resp_io: 5.000000 resp_cpu: 1286759 Best:: JoinMethod: Hash Cost: 5.097879 Degree: 1 Resp: 5.097879 Card: 5.750000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 5.750000 Cost: 5.097879 Resp: 5.097879 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 13.114084 Resp: 13.114084 Degree: 1 Cost_io: 13.000000 Cost_cpu: 1499793 Resp_io: 13.000000 Resp_cpu: 1499793 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 6.925825 Resp: 6.925825 Degree: 1 Cost_io: 6.826087 Cost_cpu: 1311197 Resp_io: 6.826087 Resp_cpu: 1311197 Best NL cost: 6.925825 resc: 6.925825 resc_io: 6.826087 resc_cpu: 1311197 resp: 6.925825 resp_io: 6.826087 resc_cpu: 1311197 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (5.750000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 7 Computed: 6.750000 Outer table: REGIONS Alias: REGIONS resc: 5.097879 card 5.750000 bytes: deg: 1 resp: 5.097879 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 39 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 9.146430 Resp: 9.146430 [multiMatchCost=0.000000] SM Join SM cost: 9.146430 resc: 9.146430 resc_io: 7.000000 resc_cpu: 28217932 resp: 9.146430 resp_io: 7.000000 resp_cpu: 28217932 Outer table: REGIONS Alias: REGIONS resc: 5.097879 card 5.750000 bytes: deg: 1 resp: 5.097879 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.045914 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.191850 Resp: 7.191850 [multiMatchCost=0.000000] HA Join HA cost: 7.191850 resc: 7.191850 resc_io: 7.000000 resc_cpu: 2522152 resp: 7.191850 resp_io: 7.000000 resp_cpu: 2522152 Best:: JoinMethod: NestedLoop Cost: 6.925825 Degree: 1 Resp: 6.925825 Card: 6.750000 Bytes: *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 6.750000 Cost: 6.925825 Resp: 6.925825 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.571429 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.571429 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.571429 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 17.967574 Resp: 17.967574 Degree: 1 Cost_io: 17.826087 Cost_cpu: 1860047 Resp_io: 17.826087 Resp_cpu: 1860047 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.571429 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 10.939212 Resp: 10.939212 Degree: 1 Cost_io: 10.826087 Cost_cpu: 1487187 Resp_io: 10.826087 Resp_cpu: 1487187 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 6.927342 Resp: 6.927342 Degree: 1 Cost_io: 6.826087 Cost_cpu: 1331147 Resp_io: 6.826087 Resp_cpu: 1331147 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 6.927342 resc: 6.927342 resc_io: 6.826087 resc_cpu: 1331147 resp: 6.927342 resp_io: 6.826087 resc_cpu: 1331147 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (6.750000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 13 Computed: 13.250000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.925825 card 6.750000 bytes: deg: 1 resp: 6.925825 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 47 Total Rows: 7 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147334 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 9.927514 Resp: 9.927514 [multiMatchCost=0.000000] SM Join SM cost: 9.927514 resc: 9.927514 resc_io: 7.826087 resc_cpu: 27626303 resp: 9.927514 resp_io: 7.826087 resp_cpu: 27626303 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.925825 card 6.750000 bytes: deg: 1 resp: 6.925825 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046130 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.972512 Resp: 7.972512 [multiMatchCost=0.000000] HA Join HA cost: 7.972512 resc: 7.972512 resc_io: 7.826087 resc_cpu: 1924968 resp: 7.972512 resp_io: 7.826087 resp_cpu: 1924968 Best:: JoinMethod: NestedLoop Cost: 6.927342 Degree: 1 Resp: 6.927342 Card: 13.250000 Bytes: *********************** Best so far: Table#: 1 cost: 2.047860 card: 23.000000 bytes: 138.000000 Table#: 2 cost: 2.049697 card: 23.000000 bytes: 276.000000 Table#: 0 cost: 5.097879 card: 5.750000 bytes: 156.000000 Table#: 3 cost: 6.925825 card: 6.750000 bytes: 231.000000 Table#: 4 cost: 6.927342 card: 13.250000 bytes: 468.000000 *********************** Join order[22]: LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 5.750000 Cost: 5.097879 Resp: 5.097879 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 15.125900 Resp: 15.125900 Degree: 1 Cost_io: 15.000000 Cost_cpu: 1655142 Resp_io: 15.000000 Resp_cpu: 1655142 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 8.106934 Resp: 8.106934 Degree: 1 Cost_io: 8.000000 Cost_cpu: 1405807 Resp_io: 8.000000 Resp_cpu: 1405807 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 11.110805 Resp: 11.110805 Degree: 1 Cost_io: 11.000000 Cost_cpu: 1456687 Resp_io: 11.000000 Resp_cpu: 1456687 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 8.106934 resc: 8.106934 resc_io: 8.000000 resc_cpu: 1405807 resp: 8.106934 resp_io: 8.000000 resc_cpu: 1405807 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (5.750000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 308 Computed: 307.625000 Join order aborted: cost > best plan cost *********************** Join order[23]: LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 23.000000 Cost: 2.049697 Resp: 2.049697 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 29.111815 Resp: 29.111815 Degree: 1 Cost_io: 29.000000 Cost_cpu: 1469975 Resp_io: 29.000000 Resp_cpu: 1469975 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 9.056823 Resp: 9.056823 Degree: 1 Cost_io: 9.000000 Cost_cpu: 747023 Resp_io: 9.000000 Resp_cpu: 747023 Best NL cost: 9.056823 resc: 9.056823 resc_io: 9.000000 resc_cpu: 747023 resp: 9.056823 resp_io: 9.000000 resc_cpu: 747023 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (23.000000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 23.000000 bytes: deg: 1 resp: 2.049697 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 24 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 6.098552 Resp: 6.098552 [multiMatchCost=0.000000] SM Join SM cost: 6.098552 resc: 6.098552 resc_io: 4.000000 resc_cpu: 27588505 resp: 6.098552 resp_io: 4.000000 resp_cpu: 27588505 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 23.000000 bytes: deg: 1 resp: 2.049697 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046108 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.143863 Resp: 4.143863 [multiMatchCost=0.000000] HA Join HA cost: 4.143863 resc: 4.143863 resc_io: 4.000000 resc_cpu: 1891286 resp: 4.143863 resp_io: 4.000000 resp_cpu: 1891286 Best:: JoinMethod: Hash Cost: 4.143863 Degree: 1 Resp: 4.143863 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 4.143863 Resp: 4.143863 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 35.204277 Resp: 35.204277 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2685511 Resp_io: 35.000000 Resp_cpu: 2685511 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161097 Resp: 31.161097 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2117855 Resp_io: 31.000000 Resp_cpu: 2117855 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161097 Resp: 31.161097 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2117855 Resp_io: 31.000000 Resp_cpu: 2117855 Best NL cost: 31.161097 resc: 31.161097 resc_io: 31.000000 resc_cpu: 2117855 resp: 31.161097 resp_io: 31.000000 resc_cpu: 2117855 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (27.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 7 Computed: 6.750000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.143863 card 27.000000 bytes: deg: 1 resp: 4.143863 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.146537 Resp: 9.146537 [multiMatchCost=0.000000] SM Join SM cost: 9.146537 resc: 9.146537 resc_io: 7.000000 resc_cpu: 28219333 resp: 9.146537 resp_io: 7.000000 resp_cpu: 28219333 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.143863 card 27.000000 bytes: deg: 1 resp: 4.143863 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045955 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.192098 Resp: 7.192098 [multiMatchCost=0.000046] HA Join HA cost: 7.192098 resc: 7.192098 resc_io: 7.000000 resc_cpu: 2525402 resp: 7.192098 resp_io: 7.000000 resp_cpu: 2525402 Join order aborted: cost > best plan cost *********************** Join order[24]: LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 4.143863 Resp: 4.143863 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 42.304895 Resp: 42.304895 Degree: 1 Cost_io: 42.000000 Cost_cpu: 4008280 Resp_io: 42.000000 Resp_cpu: 4008280 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 13.195498 Resp: 13.195498 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2570105 Resp_io: 13.000000 Resp_cpu: 2570105 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 4.149716 Resp: 4.149716 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1968236 Resp_io: 4.000000 Resp_cpu: 1968236 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.149716 resc: 4.149716 resc_io: 4.000000 resc_cpu: 1968236 resp: 4.149716 resp_io: 4.000000 resc_cpu: 1968236 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.143863 card 27.000000 bytes: deg: 1 resp: 4.143863 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 7.145925 Resp: 7.145925 [multiMatchCost=0.000000] SM Join SM cost: 7.145925 resc: 7.145925 resc_io: 5.000000 resc_cpu: 28211290 resp: 7.145925 resp_io: 5.000000 resp_cpu: 28211290 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.143863 card 27.000000 bytes: deg: 1 resp: 4.143863 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.190778 Resp: 5.190778 [multiMatchCost=0.000000] HA Join HA cost: 5.190778 resc: 5.190778 resc_io: 5.000000 resc_cpu: 2508057 resp: 5.190778 resp_io: 5.000000 resp_cpu: 2508057 Best:: JoinMethod: NestedLoop Cost: 4.149716 Degree: 1 Resp: 4.149716 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.149716 Resp: 4.149716 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.268306 Resp: 63.268306 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3527271 Resp_io: 63.000000 Resp_cpu: 3527271 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183546 Resp: 57.183546 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2412982 Resp_io: 57.000000 Resp_cpu: 2412982 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183546 Resp: 57.183546 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2412982 Resp_io: 57.000000 Resp_cpu: 2412982 Best NL cost: 57.183546 resc: 57.183546 resc_io: 57.000000 resc_cpu: 2412982 resp: 57.183546 resp_io: 57.000000 resc_cpu: 2412982 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.149716 card 53.000000 bytes: deg: 1 resp: 4.149716 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.152990 Resp: 9.152990 [multiMatchCost=0.000000] SM Join SM cost: 9.152990 resc: 9.152990 resc_io: 7.000000 resc_cpu: 28304177 resp: 9.152990 resp_io: 7.000000 resp_cpu: 28304177 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.149716 card 53.000000 bytes: deg: 1 resp: 4.149716 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.198293 Resp: 7.198293 [multiMatchCost=0.000091] HA Join HA cost: 7.198293 resc: 7.198293 resc_io: 7.000000 resc_cpu: 2606852 resp: 7.198293 resp_io: 7.000000 resp_cpu: 2606852 Join order aborted: cost > best plan cost *********************** Join order[25]: LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 23.000000 Cost: 2.049697 Resp: 2.049697 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.434783 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.434783 (scan (Disk)) = 1.434783 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 35.157113 Resp: 35.157113 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2065478 Resp_io: 35.000000 Resp_cpu: 2065478 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.347826 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 10.084410 Resp: 10.084410 Degree: 1 Cost_io: 10.000000 Cost_cpu: 1109696 Resp_io: 10.000000 Resp_cpu: 1109696 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 25.099246 Resp: 25.099246 Degree: 1 Cost_io: 25.000000 Cost_cpu: 1304736 Resp_io: 25.000000 Resp_cpu: 1304736 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 10.084410 resc: 10.084410 resc_io: 10.000000 resc_cpu: 1109696 resp: 10.084410 resp_io: 10.000000 resc_cpu: 1109696 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (23.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[26]: LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 23.000000 Cost: 2.047860 Resp: 2.047860 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 29.109978 Resp: 29.109978 Degree: 1 Cost_io: 29.000000 Cost_cpu: 1445825 Resp_io: 29.000000 Resp_cpu: 1445825 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 9.054986 Resp: 9.054986 Degree: 1 Cost_io: 9.000000 Cost_cpu: 722873 Resp_io: 9.000000 Resp_cpu: 722873 Best NL cost: 9.054986 resc: 9.054986 resc_io: 9.000000 resc_cpu: 722873 resp: 9.054986 resp_io: 9.000000 resc_cpu: 722873 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (23.000000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 6.096715 Resp: 6.096715 [multiMatchCost=0.000000] SM Join SM cost: 6.096715 resc: 6.096715 resc_io: 4.000000 resc_cpu: 27564355 resp: 6.096715 resp_io: 4.000000 resp_cpu: 27564355 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046108 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.142026 Resp: 4.142026 [multiMatchCost=0.000000] HA Join HA cost: 4.142026 resc: 4.142026 resc_io: 4.000000 resc_cpu: 1867136 resp: 4.142026 resp_io: 4.000000 resp_cpu: 1867136 Best:: JoinMethod: Hash Cost: 4.142026 Degree: 1 Resp: 4.142026 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142026 Resp: 4.142026 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 35.202337 Resp: 35.202337 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2660011 Resp_io: 35.000000 Resp_cpu: 2660011 Best NL cost: 35.202337 resc: 35.202337 resc_io: 35.000000 resc_cpu: 2660011 resp: 35.202337 resp_io: 35.000000 resc_cpu: 2660011 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 27 Computed: 27.000000 Join order aborted: cost > best plan cost *********************** Join order[27]: LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142026 Resp: 4.142026 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.333333 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 13.175649 Resp: 13.175649 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2309165 Resp_io: 13.000000 Resp_cpu: 2309165 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.144182 Resp: 4.144182 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1895486 Resp_io: 4.000000 Resp_cpu: 1895486 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.144182 Resp: 4.144182 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1895486 Resp_io: 4.000000 Resp_cpu: 1895486 Best NL cost: 4.144182 resc: 4.144182 resc_io: 4.000000 resc_cpu: 1895486 resp: 4.144182 resp_io: 4.000000 resc_cpu: 1895486 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 27 Computed: 27.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.142026 card 27.000000 bytes: deg: 1 resp: 4.142026 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 25 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.143786 Resp: 7.143786 [multiMatchCost=0.000000] SM Join SM cost: 7.143786 resc: 7.143786 resc_io: 5.000000 resc_cpu: 28183170 resp: 7.143786 resp_io: 5.000000 resp_cpu: 28183170 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.142026 card 27.000000 bytes: deg: 1 resp: 4.142026 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046138 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.189101 Resp: 5.189101 [multiMatchCost=0.000015] HA Join HA cost: 5.189101 resc: 5.189101 resc_io: 5.000000 resc_cpu: 2486007 resp: 5.189101 resp_io: 5.000000 resp_cpu: 2486007 Best:: JoinMethod: NestedLoop Cost: 4.144182 Degree: 1 Resp: 4.144182 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 4.144182 Resp: 4.144182 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 35.204596 Resp: 35.204596 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2689711 Resp_io: 35.000000 Resp_cpu: 2689711 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161417 Resp: 31.161417 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2122055 Resp_io: 31.000000 Resp_cpu: 2122055 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161417 Resp: 31.161417 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2122055 Resp_io: 31.000000 Resp_cpu: 2122055 Best NL cost: 31.161417 resc: 31.161417 resc_io: 31.000000 resc_cpu: 2122055 resp: 31.161417 resp_io: 31.000000 resc_cpu: 2122055 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (27.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 7 Computed: 6.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144182 card 27.000000 bytes: deg: 1 resp: 4.144182 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.146856 Resp: 9.146856 [multiMatchCost=0.000000] SM Join SM cost: 9.146856 resc: 9.146856 resc_io: 7.000000 resc_cpu: 28223533 resp: 9.146856 resp_io: 7.000000 resp_cpu: 28223533 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144182 card 27.000000 bytes: deg: 1 resp: 4.144182 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045955 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.192417 Resp: 7.192417 [multiMatchCost=0.000046] HA Join HA cost: 7.192417 resc: 7.192417 resc_io: 7.000000 resc_cpu: 2529602 resp: 7.192417 resp_io: 7.000000 resp_cpu: 2529602 Join order aborted: cost > best plan cost *********************** Join order[28]: LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 4.144182 Resp: 4.144182 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 42.305214 Resp: 42.305214 Degree: 1 Cost_io: 42.000000 Cost_cpu: 4012480 Resp_io: 42.000000 Resp_cpu: 4012480 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 13.195817 Resp: 13.195817 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2574305 Resp_io: 13.000000 Resp_cpu: 2574305 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 4.150036 Resp: 4.150036 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1972436 Resp_io: 4.000000 Resp_cpu: 1972436 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.150036 resc: 4.150036 resc_io: 4.000000 resc_cpu: 1972436 resp: 4.150036 resp_io: 4.000000 resc_cpu: 1972436 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144182 card 27.000000 bytes: deg: 1 resp: 4.144182 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 7.146244 Resp: 7.146244 [multiMatchCost=0.000000] SM Join SM cost: 7.146244 resc: 7.146244 resc_io: 5.000000 resc_cpu: 28215490 resp: 7.146244 resp_io: 5.000000 resp_cpu: 28215490 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144182 card 27.000000 bytes: deg: 1 resp: 4.144182 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.191098 Resp: 5.191098 [multiMatchCost=0.000000] HA Join HA cost: 5.191098 resc: 5.191098 resc_io: 5.000000 resc_cpu: 2512257 resp: 5.191098 resp_io: 5.000000 resp_cpu: 2512257 Best:: JoinMethod: NestedLoop Cost: 4.150036 Degree: 1 Resp: 4.150036 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.150036 Resp: 4.150036 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.268625 Resp: 63.268625 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3531471 Resp_io: 63.000000 Resp_cpu: 3531471 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183866 Resp: 57.183866 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2417182 Resp_io: 57.000000 Resp_cpu: 2417182 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183866 Resp: 57.183866 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2417182 Resp_io: 57.000000 Resp_cpu: 2417182 Best NL cost: 57.183866 resc: 57.183866 resc_io: 57.000000 resc_cpu: 2417182 resp: 57.183866 resp_io: 57.000000 resc_cpu: 2417182 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.150036 card 53.000000 bytes: deg: 1 resp: 4.150036 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.153310 Resp: 9.153310 [multiMatchCost=0.000000] SM Join SM cost: 9.153310 resc: 9.153310 resc_io: 7.000000 resc_cpu: 28308377 resp: 9.153310 resp_io: 7.000000 resp_cpu: 28308377 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.150036 card 53.000000 bytes: deg: 1 resp: 4.150036 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.198613 Resp: 7.198613 [multiMatchCost=0.000091] HA Join HA cost: 7.198613 resc: 7.198613 resc_io: 7.000000 resc_cpu: 2611052 resp: 7.198613 resp_io: 7.000000 resp_cpu: 2611052 Join order aborted: cost > best plan cost *********************** Join order[29]: LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142026 Resp: 4.142026 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 42.303058 Resp: 42.303058 Degree: 1 Cost_io: 42.000000 Cost_cpu: 3984130 Resp_io: 42.000000 Resp_cpu: 3984130 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 13.193661 Resp: 13.193661 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2545955 Resp_io: 13.000000 Resp_cpu: 2545955 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 4.147879 Resp: 4.147879 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1944086 Resp_io: 4.000000 Resp_cpu: 1944086 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.147879 resc: 4.147879 resc_io: 4.000000 resc_cpu: 1944086 resp: 4.147879 resp_io: 4.000000 resc_cpu: 1944086 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.142026 card 27.000000 bytes: deg: 1 resp: 4.142026 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 25 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 7.144088 Resp: 7.144088 [multiMatchCost=0.000000] SM Join SM cost: 7.144088 resc: 7.144088 resc_io: 5.000000 resc_cpu: 28187140 resp: 7.144088 resp_io: 5.000000 resp_cpu: 28187140 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 4.142026 card 27.000000 bytes: deg: 1 resp: 4.142026 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.188941 Resp: 5.188941 [multiMatchCost=0.000000] HA Join HA cost: 5.188941 resc: 5.188941 resc_io: 5.000000 resc_cpu: 2483907 resp: 5.188941 resp_io: 5.000000 resp_cpu: 2483907 Best:: JoinMethod: NestedLoop Cost: 4.147879 Degree: 1 Resp: 4.147879 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.147879 Resp: 4.147879 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.266267 Resp: 63.266267 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3500471 Resp_io: 63.000000 Resp_cpu: 3500471 Best NL cost: 63.266267 resc: 63.266267 resc_io: 63.000000 resc_cpu: 3500471 resp: 63.266267 resp_io: 63.000000 resc_cpu: 3500471 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[30]: LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 4.147879 Resp: 4.147879 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 20.213881 Resp: 20.213881 Degree: 1 Cost_io: 20.000000 Cost_cpu: 2811772 Resp_io: 20.000000 Resp_cpu: 2811772 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152112 Resp: 4.152112 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1999736 Resp_io: 4.000000 Resp_cpu: 1999736 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152112 Resp: 4.152112 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1999736 Resp_io: 4.000000 Resp_cpu: 1999736 Best NL cost: 4.152112 resc: 4.152112 resc_io: 4.000000 resc_cpu: 1999736 resp: 4.152112 resp_io: 4.000000 resc_cpu: 1999736 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.147879 card 53.000000 bytes: deg: 1 resp: 4.147879 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 28 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.150239 Resp: 7.150239 [multiMatchCost=0.000000] SM Join SM cost: 7.150239 resc: 7.150239 resc_io: 5.000000 resc_cpu: 28268013 resp: 7.150239 resp_io: 5.000000 resp_cpu: 28268013 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.147879 card 53.000000 bytes: deg: 1 resp: 4.147879 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.195449 Resp: 5.195449 [multiMatchCost=0.000213] HA Join HA cost: 5.195449 resc: 5.195449 resc_io: 5.000000 resc_cpu: 2569457 resp: 5.195449 resp_io: 5.000000 resp_cpu: 2569457 Best:: JoinMethod: NestedLoop Cost: 4.152112 Degree: 1 Resp: 4.152112 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.152112 Resp: 4.152112 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.270702 Resp: 63.270702 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3558771 Resp_io: 63.000000 Resp_cpu: 3558771 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.185942 Resp: 57.185942 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2444482 Resp_io: 57.000000 Resp_cpu: 2444482 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.185942 Resp: 57.185942 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2444482 Resp_io: 57.000000 Resp_cpu: 2444482 Best NL cost: 57.185942 resc: 57.185942 resc_io: 57.000000 resc_cpu: 2444482 resp: 57.185942 resp_io: 57.000000 resc_cpu: 2444482 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152112 card 53.000000 bytes: deg: 1 resp: 4.152112 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.155386 Resp: 9.155386 [multiMatchCost=0.000000] SM Join SM cost: 9.155386 resc: 9.155386 resc_io: 7.000000 resc_cpu: 28335677 resp: 9.155386 resp_io: 7.000000 resp_cpu: 28335677 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152112 card 53.000000 bytes: deg: 1 resp: 4.152112 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.200689 Resp: 7.200689 [multiMatchCost=0.000091] HA Join HA cost: 7.200689 resc: 7.200689 resc_io: 7.000000 resc_cpu: 2638352 resp: 7.200689 resp_io: 7.000000 resp_cpu: 2638352 Join order aborted: cost > best plan cost *********************** Join order[31]: LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 23.000000 Cost: 2.047860 Resp: 2.047860 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.434783 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.434783 (scan (Disk)) = 1.434783 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 35.155276 Resp: 35.155276 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2041328 Resp_io: 35.000000 Resp_cpu: 2041328 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.347826 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 10.082573 Resp: 10.082573 Degree: 1 Cost_io: 10.000000 Cost_cpu: 1085546 Resp_io: 10.000000 Resp_cpu: 1085546 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 25.097409 Resp: 25.097409 Degree: 1 Cost_io: 25.000000 Cost_cpu: 1280586 Resp_io: 25.000000 Resp_cpu: 1280586 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 10.082573 resc: 10.082573 resc_io: 10.000000 resc_cpu: 1085546 resp: 10.082573 resp_io: 10.000000 resc_cpu: 1085546 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (23.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[32]: COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 25.000000 Cost: 1.000922 Resp: 1.000922 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.160000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.160000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.160000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 30.056861 Resp: 30.056861 Degree: 1 Cost_io: 30.000000 Cost_cpu: 747515 Resp_io: 30.000000 Resp_cpu: 747515 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 26.016880 Resp: 26.016880 Degree: 1 Cost_io: 26.000000 Cost_cpu: 221907 Resp_io: 26.000000 Resp_cpu: 221907 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 26.016880 Resp: 26.016880 Degree: 1 Cost_io: 26.000000 Cost_cpu: 221907 Resp_io: 26.000000 Resp_cpu: 221907 Best NL cost: 26.016880 resc: 26.016880 resc_io: 26.000000 resc_cpu: 221907 resp: 26.016880 resp_io: 26.000000 resc_cpu: 221907 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.250000 = outer (25.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 6 Computed: 6.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card 25.000000 bytes: deg: 1 resp: 1.000922 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 6.003554 Resp: 6.003554 [multiMatchCost=0.000000] SM Join SM cost: 6.003554 resc: 6.003554 resc_io: 4.000000 resc_cpu: 26339615 resp: 6.003554 resp_io: 4.000000 resp_cpu: 26339615 Outer table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card 25.000000 bytes: deg: 1 resp: 1.000922 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045933 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.049126 Resp: 4.049126 [multiMatchCost=0.000038] HA Join HA cost: 4.049126 resc: 4.049126 resc_io: 4.000000 resc_cpu: 645837 resp: 4.049126 resp_io: 4.000000 resp_cpu: 645837 Best:: JoinMethod: Hash Cost: 4.049126 Degree: 1 Resp: 4.049126 Card: 6.250000 Bytes: *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 6.250000 Cost: 4.049126 Resp: 4.049126 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 5750.000000 (cpu filter eval) (= 250.000000 (per row) * 23.000000 (#rows)) = 39985.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 12.067376 Resp: 12.067376 Degree: 1 Cost_io: 12.000000 Cost_cpu: 885752 Resp_io: 12.000000 Resp_cpu: 885752 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8871 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join : Cost: 7.411645 Resp: 7.411645 Degree: 1 Cost_io: 7.360000 Cost_cpu: 678945 Resp_io: 7.360000 Resp_cpu: 678945 Best NL cost: 7.411645 resc: 7.411645 resc_io: 7.360000 resc_cpu: 678945 resp: 7.411645 resp_io: 7.360000 resc_cpu: 678945 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 5.750000 = outer (6.250000) * inner (23.000000) * sel (0.040000) Join Card - Rounded: 6 Computed: 5.750000 Outer table: REGIONS Alias: REGIONS resc: 4.049126 card 6.250000 bytes: deg: 1 resp: 4.049126 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 32 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 8.097396 Resp: 8.097396 [multiMatchCost=0.000000] SM Join SM cost: 8.097396 resc: 8.097396 resc_io: 6.000000 resc_cpu: 27573314 resp: 8.097396 resp_io: 6.000000 resp_cpu: 27573314 Outer table: REGIONS Alias: REGIONS resc: 4.049126 card 6.250000 bytes: deg: 1 resp: 4.049126 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.045883 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.142870 Resp: 6.142870 [multiMatchCost=0.000000] HA Join HA cost: 6.142870 resc: 6.142870 resc_io: 6.000000 resc_cpu: 1878230 resp: 6.142870 resp_io: 6.000000 resp_cpu: 1878230 Best:: JoinMethod: Hash Cost: 6.142870 Degree: 1 Resp: 6.142870 Card: 5.750000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 5.750000 Cost: 6.142870 Resp: 6.142870 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 14.159074 Resp: 14.159074 Degree: 1 Cost_io: 14.000000 Cost_cpu: 2091265 Resp_io: 14.000000 Resp_cpu: 2091265 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 7.970816 Resp: 7.970816 Degree: 1 Cost_io: 7.826087 Cost_cpu: 1902668 Resp_io: 7.826087 Resp_cpu: 1902668 Best NL cost: 7.970816 resc: 7.970816 resc_io: 7.826087 resc_cpu: 1902668 resp: 7.970816 resp_io: 7.826087 resc_cpu: 1902668 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (5.750000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 7 Computed: 6.750000 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.142870 card 5.750000 bytes: deg: 1 resp: 6.142870 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 39 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 10.191421 Resp: 10.191421 [multiMatchCost=0.000000] SM Join SM cost: 10.191421 resc: 10.191421 resc_io: 8.000000 resc_cpu: 28809403 resp: 10.191421 resp_io: 8.000000 resp_cpu: 28809403 Outer table: LOCATIONS Alias: LOCATIONS resc: 6.142870 card 5.750000 bytes: deg: 1 resp: 6.142870 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.045914 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.236841 Resp: 8.236841 [multiMatchCost=0.000000] HA Join HA cost: 8.236841 resc: 8.236841 resc_io: 8.000000 resc_cpu: 3113623 resp: 8.236841 resp_io: 8.000000 resp_cpu: 3113623 Join order aborted: cost > best plan cost *********************** Join order[33]: COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 5.750000 Cost: 6.142870 Resp: 6.142870 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 16.170891 Resp: 16.170891 Degree: 1 Cost_io: 16.000000 Cost_cpu: 2246613 Resp_io: 16.000000 Resp_cpu: 2246613 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 9.151925 Resp: 9.151925 Degree: 1 Cost_io: 9.000000 Cost_cpu: 1997279 Resp_io: 9.000000 Resp_cpu: 1997279 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 12.155796 Resp: 12.155796 Degree: 1 Cost_io: 12.000000 Cost_cpu: 2048159 Resp_io: 12.000000 Resp_cpu: 2048159 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 9.151925 resc: 9.151925 resc_io: 9.000000 resc_cpu: 1997279 resp: 9.151925 resp_io: 9.000000 resc_cpu: 1997279 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (5.750000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 308 Computed: 307.625000 Join order aborted: cost > best plan cost *********************** Join order[34]: COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 6.250000 Cost: 4.049126 Resp: 4.049126 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Total Scan IO Cost = 1.333333 (scan (Disk)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) = 34155.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 12.064715 Resp: 12.064715 Degree: 1 Cost_io: 12.000000 Cost_cpu: 850772 Resp_io: 12.000000 Resp_cpu: 850772 Best NL cost: 12.064715 resc: 12.064715 resc_io: 12.000000 resc_cpu: 850772 resp: 12.064715 resp_io: 12.000000 resc_cpu: 850772 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 168.750000 = outer (6.250000) * inner (27.000000) * sel (1.000000) Join Card - Rounded: 169 Computed: 168.750000 Join order aborted: cost > best plan cost *********************** Join order[35]: COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 6.250000 Cost: 4.049126 Resp: 4.049126 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 14.077148 Resp: 14.077148 Degree: 1 Cost_io: 14.000000 Cost_cpu: 1014220 Resp_io: 14.000000 Resp_cpu: 1014220 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 7.058182 Resp: 7.058182 Degree: 1 Cost_io: 7.000000 Cost_cpu: 764886 Resp_io: 7.000000 Resp_cpu: 764886 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 10.062052 Resp: 10.062052 Degree: 1 Cost_io: 10.000000 Cost_cpu: 815766 Resp_io: 10.000000 Resp_cpu: 815766 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 7.058182 resc: 7.058182 resc_io: 7.000000 resc_cpu: 764886 resp: 7.058182 resp_io: 7.000000 resc_cpu: 764886 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 334.375000 = outer (6.250000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 334 Computed: 334.375000 Join order aborted: cost > best plan cost *********************** Join order[36]: COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 25.000000 Cost: 1.000922 Resp: 1.000922 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.160000 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 250.000000, sel = 0.040000 flag = 2064 ("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") Total Scan IO Cost = 1.160000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.160000 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 5750.000000 (cpu filter eval) (= 250.000000 (per row) * 23.000000 (#rows)) = 39985.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 30.076961 Resp: 30.076961 Degree: 1 Cost_io: 30.000000 Cost_cpu: 1011765 Resp_io: 30.000000 Resp_cpu: 1011765 ****** Costing Index LOC_COUNTRY_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: LOC_COUNTRY_IX resc_io: 1.000000 resc_cpu: 8871 ix_sel: 0.071429 ix_sel_with_filters: 0.071429 NL Join (ordered): Cost: 15.011415 Resp: 15.011415 Degree: 1 Cost_io: 15.000000 Cost_cpu: 150072 Resp_io: 15.000000 Resp_cpu: 150072 Best NL cost: 15.011415 resc: 15.011415 resc_io: 15.000000 resc_cpu: 150072 resp: 15.011415 resp_io: 15.000000 resc_cpu: 150072 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 23.000000 = outer (25.000000) * inner (23.000000) * sel (0.040000) Join Card - Rounded: 23 Computed: 23.000000 Outer table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card 25.000000 bytes: deg: 1 resp: 1.000922 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 4.049139 Resp: 4.049139 [multiMatchCost=0.000000] SM Join SM cost: 4.049139 resc: 4.049139 resc_io: 3.000000 resc_cpu: 13792451 resp: 4.049139 resp_io: 3.000000 resp_cpu: 13792451 Outer table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card 25.000000 bytes: deg: 1 resp: 1.000922 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046100 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 3.094882 Resp: 3.094882 [multiMatchCost=0.000000] HA Join HA cost: 3.094882 resc: 3.094882 resc_io: 3.000000 resc_cpu: 1247364 resp: 3.094882 resp_io: 3.000000 resp_cpu: 1247364 Best:: JoinMethod: Hash Cost: 3.094882 Degree: 1 Resp: 3.094882 Card: 23.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 23.000000 Cost: 3.094882 Resp: 3.094882 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 30.146346 Resp: 30.146346 Degree: 1 Cost_io: 30.000000 Cost_cpu: 1923927 Resp_io: 30.000000 Resp_cpu: 1923927 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 26.109563 Resp: 26.109563 Degree: 1 Cost_io: 26.000000 Cost_cpu: 1440367 Resp_io: 26.000000 Resp_cpu: 1440367 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 26.109563 Resp: 26.109563 Degree: 1 Cost_io: 26.000000 Cost_cpu: 1440367 Resp_io: 26.000000 Resp_cpu: 1440367 Best NL cost: 26.109563 resc: 26.109563 resc_io: 26.000000 resc_cpu: 1440367 resp: 26.109563 resp_io: 26.000000 resc_cpu: 1440367 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 5.750000 = outer (23.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 6 Computed: 5.750000 Outer table: LOCATIONS Alias: LOCATIONS resc: 3.094882 card 23.000000 bytes: deg: 1 resp: 3.094882 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 24 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 8.097473 Resp: 8.097473 [multiMatchCost=0.000000] SM Join SM cost: 8.097473 resc: 8.097473 resc_io: 6.000000 resc_cpu: 27574315 resp: 8.097473 resp_io: 6.000000 resp_cpu: 27574315 Outer table: LOCATIONS Alias: LOCATIONS resc: 3.094882 card 23.000000 bytes: deg: 1 resp: 3.094882 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045910 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.143064 Resp: 6.143064 [multiMatchCost=0.000038] HA Join HA cost: 6.143064 resc: 6.143064 resc_io: 6.000000 resc_cpu: 1880780 resp: 6.143064 resp_io: 6.000000 resp_cpu: 1880780 Best:: JoinMethod: Hash Cost: 6.143064 Degree: 1 Resp: 6.143064 Card: 5.750000 Bytes: *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 5.750000 Cost: 6.143064 Resp: 6.143064 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 14.159268 Resp: 14.159268 Degree: 1 Cost_io: 14.000000 Cost_cpu: 2093815 Resp_io: 14.000000 Resp_cpu: 2093815 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 7.971010 Resp: 7.971010 Degree: 1 Cost_io: 7.826087 Cost_cpu: 1905218 Resp_io: 7.826087 Resp_cpu: 1905218 Best NL cost: 7.971010 resc: 7.971010 resc_io: 7.826087 resc_cpu: 1905218 resp: 7.971010 resp_io: 7.826087 resc_cpu: 1905218 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (5.750000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 7 Computed: 6.750000 Outer table: REGIONS Alias: REGIONS resc: 6.143064 card 5.750000 bytes: deg: 1 resp: 6.143064 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 39 Total Rows: 6 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13147148 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 10.191615 Resp: 10.191615 [multiMatchCost=0.000000] SM Join SM cost: 10.191615 resc: 10.191615 resc_io: 8.000000 resc_cpu: 28811953 resp: 10.191615 resp_io: 8.000000 resp_cpu: 28811953 Outer table: REGIONS Alias: REGIONS resc: 6.143064 card 5.750000 bytes: deg: 1 resp: 6.143064 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.045914 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.237035 Resp: 8.237035 [multiMatchCost=0.000000] HA Join HA cost: 8.237035 resc: 8.237035 resc_io: 8.000000 resc_cpu: 3116173 resp: 8.237035 resp_io: 8.000000 resp_cpu: 3116173 Join order aborted: cost > best plan cost *********************** Join order[37]: COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 5.750000 Cost: 6.143064 Resp: 6.143064 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.666667 (scan (Disk)) = 1.666667 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 16.171085 Resp: 16.171085 Degree: 1 Cost_io: 16.000000 Cost_cpu: 2249163 Resp_io: 16.000000 Resp_cpu: 2249163 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.500000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 9.152119 Resp: 9.152119 Degree: 1 Cost_io: 9.000000 Cost_cpu: 1999829 Resp_io: 9.000000 Resp_cpu: 1999829 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 12.155990 Resp: 12.155990 Degree: 1 Cost_io: 12.000000 Cost_cpu: 2050709 Resp_io: 12.000000 Resp_cpu: 2050709 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 9.152119 resc: 9.152119 resc_io: 9.000000 resc_cpu: 1999829 resp: 9.152119 resp_io: 9.000000 resc_cpu: 1999829 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 307.625000 = outer (5.750000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 308 Computed: 307.625000 Join order aborted: cost > best plan cost *********************** Join order[38]: COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 23.000000 Cost: 3.094882 Resp: 3.094882 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 30.157000 Resp: 30.157000 Degree: 1 Cost_io: 30.000000 Cost_cpu: 2063997 Resp_io: 30.000000 Resp_cpu: 2063997 ****** Costing Index DEPT_LOCATION_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: DEPT_LOCATION_IX resc_io: 1.000000 resc_cpu: 9611 ix_sel: 0.142857 ix_sel_with_filters: 0.142857 NL Join : Cost: 10.102008 Resp: 10.102008 Degree: 1 Cost_io: 10.000000 Cost_cpu: 1341044 Resp_io: 10.000000 Resp_cpu: 1341044 Best NL cost: 10.102008 resc: 10.102008 resc_io: 10.000000 resc_cpu: 1341044 resp: 10.102008 resp_io: 10.000000 resc_cpu: 1341044 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (23.000000) * inner (27.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 3.094882 card 23.000000 bytes: deg: 1 resp: 3.094882 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 24 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 7.143737 Resp: 7.143737 [multiMatchCost=0.000000] SM Join SM cost: 7.143737 resc: 7.143737 resc_io: 5.000000 resc_cpu: 28182527 resp: 7.143737 resp_io: 5.000000 resp_cpu: 28182527 Outer table: LOCATIONS Alias: LOCATIONS resc: 3.094882 card 23.000000 bytes: deg: 1 resp: 3.094882 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046108 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.189048 Resp: 5.189048 [multiMatchCost=0.000000] HA Join HA cost: 5.189048 resc: 5.189048 resc_io: 5.000000 resc_cpu: 2485307 resp: 5.189048 resp_io: 5.000000 resp_cpu: 2485307 Best:: JoinMethod: Hash Cost: 5.189048 Degree: 1 Resp: 5.189048 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 5.189048 Resp: 5.189048 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 36.249461 Resp: 36.249461 Degree: 1 Cost_io: 36.000000 Cost_cpu: 3279533 Resp_io: 36.000000 Resp_cpu: 3279533 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 32.206282 Resp: 32.206282 Degree: 1 Cost_io: 32.000000 Cost_cpu: 2711876 Resp_io: 32.000000 Resp_cpu: 2711876 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 32.206282 Resp: 32.206282 Degree: 1 Cost_io: 32.000000 Cost_cpu: 2711876 Resp_io: 32.000000 Resp_cpu: 2711876 Best NL cost: 32.206282 resc: 32.206282 resc_io: 32.000000 resc_cpu: 2711876 resp: 32.206282 resp_io: 32.000000 resc_cpu: 2711876 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (27.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 7 Computed: 6.750000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 5.189048 card 27.000000 bytes: deg: 1 resp: 5.189048 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 10.191722 Resp: 10.191722 [multiMatchCost=0.000000] SM Join SM cost: 10.191722 resc: 10.191722 resc_io: 8.000000 resc_cpu: 28813355 resp: 10.191722 resp_io: 8.000000 resp_cpu: 28813355 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 5.189048 card 27.000000 bytes: deg: 1 resp: 5.189048 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045955 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.237283 Resp: 8.237283 [multiMatchCost=0.000046] HA Join HA cost: 8.237283 resc: 8.237283 resc_io: 8.000000 resc_cpu: 3119423 resp: 8.237283 resp_io: 8.000000 resp_cpu: 3119423 Join order aborted: cost > best plan cost *********************** Join order[39]: COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 5.189048 Resp: 5.189048 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 43.350079 Resp: 43.350079 Degree: 1 Cost_io: 43.000000 Cost_cpu: 4602302 Resp_io: 43.000000 Resp_cpu: 4602302 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 14.240683 Resp: 14.240683 Degree: 1 Cost_io: 14.000000 Cost_cpu: 3164126 Resp_io: 14.000000 Resp_cpu: 3164126 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 5.194901 Resp: 5.194901 Degree: 1 Cost_io: 5.000000 Cost_cpu: 2562257 Resp_io: 5.000000 Resp_cpu: 2562257 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 5.194901 resc: 5.194901 resc_io: 5.000000 resc_cpu: 2562257 resp: 5.194901 resp_io: 5.000000 resc_cpu: 2562257 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 5.189048 card 27.000000 bytes: deg: 1 resp: 5.189048 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 8.191110 Resp: 8.191110 [multiMatchCost=0.000000] SM Join SM cost: 8.191110 resc: 8.191110 resc_io: 6.000000 resc_cpu: 28805312 resp: 8.191110 resp_io: 6.000000 resp_cpu: 28805312 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 5.189048 card 27.000000 bytes: deg: 1 resp: 5.189048 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.235963 Resp: 6.235963 [multiMatchCost=0.000000] HA Join HA cost: 6.235963 resc: 6.235963 resc_io: 6.000000 resc_cpu: 3102079 resp: 6.235963 resp_io: 6.000000 resp_cpu: 3102079 Best:: JoinMethod: NestedLoop Cost: 5.194901 Degree: 1 Resp: 5.194901 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 5.194901 Resp: 5.194901 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 64.313491 Resp: 64.313491 Degree: 1 Cost_io: 64.000000 Cost_cpu: 4121292 Resp_io: 64.000000 Resp_cpu: 4121292 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 58.228731 Resp: 58.228731 Degree: 1 Cost_io: 58.000000 Cost_cpu: 3007004 Resp_io: 58.000000 Resp_cpu: 3007004 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 58.228731 Resp: 58.228731 Degree: 1 Cost_io: 58.000000 Cost_cpu: 3007004 Resp_io: 58.000000 Resp_cpu: 3007004 Best NL cost: 58.228731 resc: 58.228731 resc_io: 58.000000 resc_cpu: 3007004 resp: 58.228731 resp_io: 58.000000 resc_cpu: 3007004 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 5.194901 card 53.000000 bytes: deg: 1 resp: 5.194901 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 10.198175 Resp: 10.198175 [multiMatchCost=0.000000] SM Join SM cost: 10.198175 resc: 10.198175 resc_io: 8.000000 resc_cpu: 28898198 resp: 10.198175 resp_io: 8.000000 resp_cpu: 28898198 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 5.194901 card 53.000000 bytes: deg: 1 resp: 5.194901 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.243478 Resp: 8.243478 [multiMatchCost=0.000091] HA Join HA cost: 8.243478 resc: 8.243478 resc_io: 8.000000 resc_cpu: 3200873 resp: 8.243478 resp_io: 8.000000 resp_cpu: 3200873 Join order aborted: cost > best plan cost *********************** Join order[40]: COUNTRIES[COUNTRIES]#2 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 23.000000 Cost: 3.094882 Resp: 3.094882 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.434783 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.434783 (scan (Disk)) = 1.434783 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 36.202298 Resp: 36.202298 Degree: 1 Cost_io: 36.000000 Cost_cpu: 2659500 Resp_io: 36.000000 Resp_cpu: 2659500 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.347826 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 11.129595 Resp: 11.129595 Degree: 1 Cost_io: 11.000000 Cost_cpu: 1703717 Resp_io: 11.000000 Resp_cpu: 1703717 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 26.144431 Resp: 26.144431 Degree: 1 Cost_io: 26.000000 Cost_cpu: 1898757 Resp_io: 26.000000 Resp_cpu: 1898757 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 11.129595 resc: 11.129595 resc_io: 11.000000 resc_cpu: 1703717 resp: 11.129595 resp_io: 11.000000 resc_cpu: 1703717 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (23.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[41]: COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 25.000000 Cost: 1.000922 Resp: 1.000922 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.160000 Scan CPU Cost (Disk) = 34155.760000 Total Scan IO Cost = 1.160000 (scan (Disk)) = 1.160000 Total Scan CPU Cost = 34155.760000 (scan (Disk)) = 34155.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 30.065874 Resp: 30.065874 Degree: 1 Cost_io: 30.000000 Cost_cpu: 866015 Resp_io: 30.000000 Resp_cpu: 866015 Best NL cost: 30.065874 resc: 30.065874 resc_io: 30.000000 resc_cpu: 866015 resp: 30.065874 resp_io: 30.000000 resc_cpu: 866015 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 675.000000 = outer (25.000000) * inner (27.000000) * sel (1.000000) Join Card - Rounded: 675 Computed: 675.000000 Join order aborted: cost > best plan cost *********************** Join order[42]: COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 25.000000 Cost: 1.000922 Resp: 1.000922 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.440000 Scan CPU Cost (Disk) = 61397.200000 Total Scan IO Cost = 1.440000 (scan (Disk)) = 1.440000 Total Scan CPU Cost = 61397.200000 (scan (Disk)) = 61397.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 37.117678 Resp: 37.117678 Degree: 1 Cost_io: 37.000000 Cost_cpu: 1547051 Resp_io: 37.000000 Resp_cpu: 1547051 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.360000 resc_cpu: 19841 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 10.038654 Resp: 10.038654 Degree: 1 Cost_io: 10.000000 Cost_cpu: 508157 Resp_io: 10.000000 Resp_cpu: 508157 ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 26.054780 Resp: 26.054780 Degree: 1 Cost_io: 26.000000 Cost_cpu: 720157 Resp_io: 26.000000 Resp_cpu: 720157 ****** trying bitmap/domain indexes ****** ****** Costing Index EMP_DEPARTMENT_IX Access Path: index (FullScan) Index: EMP_DEPARTMENT_IX resc_io: 1.000000 resc_cpu: 28321 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 Cost: 1.002154 Resp: 1.002154 Degree: 0 ****** finished trying bitmap/domain indexes ****** Best NL cost: 10.038654 resc: 10.038654 resc_io: 10.000000 resc_cpu: 508157 resp: 10.038654 resp_io: 10.000000 resc_cpu: 508157 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1337.500000 = outer (25.000000) * inner (53.500000) * sel (1.000000) Join Card - Rounded: 1338 Computed: 1337.500000 Join order aborted: cost > best plan cost *********************** Join order[43]: DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 2.048058 Resp: 2.048058 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 33.108369 Resp: 33.108369 Degree: 1 Cost_io: 33.000000 Cost_cpu: 1424668 Resp_io: 33.000000 Resp_cpu: 1424668 Best NL cost: 33.108369 resc: 33.108369 resc_io: 33.000000 resc_cpu: 1424668 resp: 33.108369 resp_io: 33.000000 resc_cpu: 1424668 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 27 Computed: 27.000000 Join order aborted: cost > best plan cost *********************** Join order[44]: DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 27.000000 Cost: 2.048058 Resp: 2.048058 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 33.120733 Resp: 33.120733 Degree: 1 Cost_io: 33.000000 Cost_cpu: 1587208 Resp_io: 33.000000 Resp_cpu: 1587208 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 29.065354 Resp: 29.065354 Degree: 1 Cost_io: 29.000000 Cost_cpu: 859172 Resp_io: 29.000000 Resp_cpu: 859172 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 29.065354 Resp: 29.065354 Degree: 1 Cost_io: 29.000000 Cost_cpu: 859172 Resp_io: 29.000000 Resp_cpu: 859172 Best NL cost: 29.065354 resc: 29.065354 resc_io: 29.000000 resc_cpu: 859172 resp: 29.065354 resp_io: 29.000000 resc_cpu: 859172 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 27 Computed: 27.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 6.096715 Resp: 6.096715 [multiMatchCost=0.000000] SM Join SM cost: 6.096715 resc: 6.096715 resc_io: 4.000000 resc_cpu: 27564355 resp: 6.096715 resp_io: 4.000000 resp_cpu: 27564355 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046123 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.142072 Resp: 4.142072 [multiMatchCost=0.000030] HA Join HA cost: 4.142072 resc: 4.142072 resc_io: 4.000000 resc_cpu: 1867736 resp: 4.142072 resp_io: 4.000000 resp_cpu: 1867736 Best:: JoinMethod: Hash Cost: 4.142072 Degree: 1 Resp: 4.142072 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142072 Resp: 4.142072 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 35.202383 Resp: 35.202383 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2660611 Resp_io: 35.000000 Resp_cpu: 2660611 Best NL cost: 35.202383 resc: 35.202383 resc_io: 35.000000 resc_cpu: 2660611 resp: 35.202383 resp_io: 35.000000 resc_cpu: 2660611 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 27 Computed: 27.000000 Join order aborted: cost > best plan cost *********************** Join order[45]: DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142072 Resp: 4.142072 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.333333 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 13.175695 Resp: 13.175695 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2309765 Resp_io: 13.000000 Resp_cpu: 2309765 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.144228 Resp: 4.144228 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1896086 Resp_io: 4.000000 Resp_cpu: 1896086 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.144228 Resp: 4.144228 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1896086 Resp_io: 4.000000 Resp_cpu: 1896086 Best NL cost: 4.144228 resc: 4.144228 resc_io: 4.000000 resc_cpu: 1896086 resp: 4.144228 resp_io: 4.000000 resc_cpu: 1896086 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 27.000000 = outer (27.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 27 Computed: 27.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.142072 card 27.000000 bytes: deg: 1 resp: 4.142072 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 25 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.143831 Resp: 7.143831 [multiMatchCost=0.000000] SM Join SM cost: 7.143831 resc: 7.143831 resc_io: 5.000000 resc_cpu: 28183770 resp: 7.143831 resp_io: 5.000000 resp_cpu: 28183770 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.142072 card 27.000000 bytes: deg: 1 resp: 4.142072 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046138 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.189147 Resp: 5.189147 [multiMatchCost=0.000015] HA Join HA cost: 5.189147 resc: 5.189147 resc_io: 5.000000 resc_cpu: 2486607 resp: 5.189147 resp_io: 5.000000 resp_cpu: 2486607 Best:: JoinMethod: NestedLoop Cost: 4.144228 Degree: 1 Resp: 4.144228 Card: 27.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 27.000000 Cost: 4.144228 Resp: 4.144228 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.148148 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.148148 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.148148 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 35.204642 Resp: 35.204642 Degree: 1 Cost_io: 35.000000 Cost_cpu: 2690311 Resp_io: 35.000000 Resp_cpu: 2690311 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161462 Resp: 31.161462 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2122655 Resp_io: 31.000000 Resp_cpu: 2122655 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 31.161462 Resp: 31.161462 Degree: 1 Cost_io: 31.000000 Cost_cpu: 2122655 Resp_io: 31.000000 Resp_cpu: 2122655 Best NL cost: 31.161462 resc: 31.161462 resc_io: 31.000000 resc_cpu: 2122655 resp: 31.161462 resp_io: 31.000000 resc_cpu: 2122655 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 6.750000 = outer (27.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 7 Computed: 6.750000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144228 card 27.000000 bytes: deg: 1 resp: 4.144228 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.146902 Resp: 9.146902 [multiMatchCost=0.000000] SM Join SM cost: 9.146902 resc: 9.146902 resc_io: 7.000000 resc_cpu: 28224133 resp: 9.146902 resp_io: 7.000000 resp_cpu: 28224133 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144228 card 27.000000 bytes: deg: 1 resp: 4.144228 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045955 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.192463 Resp: 7.192463 [multiMatchCost=0.000046] HA Join HA cost: 7.192463 resc: 7.192463 resc_io: 7.000000 resc_cpu: 2530202 resp: 7.192463 resp_io: 7.000000 resp_cpu: 2530202 Join order aborted: cost > best plan cost *********************** Join order[46]: DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 4.144228 Resp: 4.144228 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 42.305260 Resp: 42.305260 Degree: 1 Cost_io: 42.000000 Cost_cpu: 4013080 Resp_io: 42.000000 Resp_cpu: 4013080 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 13.195863 Resp: 13.195863 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2574905 Resp_io: 13.000000 Resp_cpu: 2574905 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 4.150081 Resp: 4.150081 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1973036 Resp_io: 4.000000 Resp_cpu: 1973036 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.150081 resc: 4.150081 resc_io: 4.000000 resc_cpu: 1973036 resp: 4.150081 resp_io: 4.000000 resc_cpu: 1973036 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144228 card 27.000000 bytes: deg: 1 resp: 4.144228 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 31 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 7.146290 Resp: 7.146290 [multiMatchCost=0.000000] SM Join SM cost: 7.146290 resc: 7.146290 resc_io: 5.000000 resc_cpu: 28216090 resp: 7.146290 resp_io: 5.000000 resp_cpu: 28216090 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.144228 card 27.000000 bytes: deg: 1 resp: 4.144228 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.191143 Resp: 5.191143 [multiMatchCost=0.000000] HA Join HA cost: 5.191143 resc: 5.191143 resc_io: 5.000000 resc_cpu: 2512857 resp: 5.191143 resp_io: 5.000000 resp_cpu: 2512857 Best:: JoinMethod: NestedLoop Cost: 4.150081 Degree: 1 Resp: 4.150081 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.150081 Resp: 4.150081 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.268671 Resp: 63.268671 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3532071 Resp_io: 63.000000 Resp_cpu: 3532071 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183911 Resp: 57.183911 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2417782 Resp_io: 57.000000 Resp_cpu: 2417782 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.183911 Resp: 57.183911 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2417782 Resp_io: 57.000000 Resp_cpu: 2417782 Best NL cost: 57.183911 resc: 57.183911 resc_io: 57.000000 resc_cpu: 2417782 resp: 57.183911 resp_io: 57.000000 resc_cpu: 2417782 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.150081 card 53.000000 bytes: deg: 1 resp: 4.150081 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.153355 Resp: 9.153355 [multiMatchCost=0.000000] SM Join SM cost: 9.153355 resc: 9.153355 resc_io: 7.000000 resc_cpu: 28308977 resp: 9.153355 resp_io: 7.000000 resp_cpu: 28308977 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.150081 card 53.000000 bytes: deg: 1 resp: 4.150081 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.198658 Resp: 7.198658 [multiMatchCost=0.000091] HA Join HA cost: 7.198658 resc: 7.198658 resc_io: 7.000000 resc_cpu: 2611652 resp: 7.198658 resp_io: 7.000000 resp_cpu: 2611652 Join order aborted: cost > best plan cost *********************** Join order[47]: DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 4.142072 Resp: 4.142072 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 42.303103 Resp: 42.303103 Degree: 1 Cost_io: 42.000000 Cost_cpu: 3984730 Resp_io: 42.000000 Resp_cpu: 3984730 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 13.193707 Resp: 13.193707 Degree: 1 Cost_io: 13.000000 Cost_cpu: 2546555 Resp_io: 13.000000 Resp_cpu: 2546555 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 4.147925 Resp: 4.147925 Degree: 1 Cost_io: 4.000000 Cost_cpu: 1944686 Resp_io: 4.000000 Resp_cpu: 1944686 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 4.147925 resc: 4.147925 resc_io: 4.000000 resc_cpu: 1944686 resp: 4.147925 resp_io: 4.000000 resc_cpu: 1944686 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.142072 card 27.000000 bytes: deg: 1 resp: 4.142072 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 25 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 7.144133 Resp: 7.144133 [multiMatchCost=0.000000] SM Join SM cost: 7.144133 resc: 7.144133 resc_io: 5.000000 resc_cpu: 28187740 resp: 7.144133 resp_io: 5.000000 resp_cpu: 28187740 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.142072 card 27.000000 bytes: deg: 1 resp: 4.142072 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.188987 Resp: 5.188987 [multiMatchCost=0.000000] HA Join HA cost: 5.188987 resc: 5.188987 resc_io: 5.000000 resc_cpu: 2484507 resp: 5.188987 resp_io: 5.000000 resp_cpu: 2484507 Best:: JoinMethod: NestedLoop Cost: 4.147925 Degree: 1 Resp: 4.147925 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.147925 Resp: 4.147925 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.266313 Resp: 63.266313 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3501071 Resp_io: 63.000000 Resp_cpu: 3501071 Best NL cost: 63.266313 resc: 63.266313 resc_io: 63.000000 resc_cpu: 3501071 resp: 63.266313 resp_io: 63.000000 resc_cpu: 3501071 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[48]: DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 4.147925 Resp: 4.147925 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 20.213926 Resp: 20.213926 Degree: 1 Cost_io: 20.000000 Cost_cpu: 2812372 Resp_io: 20.000000 Resp_cpu: 2812372 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152158 Resp: 4.152158 Degree: 1 Cost_io: 4.000000 Cost_cpu: 2000336 Resp_io: 4.000000 Resp_cpu: 2000336 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152158 Resp: 4.152158 Degree: 1 Cost_io: 4.000000 Cost_cpu: 2000336 Resp_io: 4.000000 Resp_cpu: 2000336 Best NL cost: 4.152158 resc: 4.152158 resc_io: 4.000000 resc_cpu: 2000336 resp: 4.152158 resp_io: 4.000000 resc_cpu: 2000336 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.147925 card 53.000000 bytes: deg: 1 resp: 4.147925 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 28 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.150285 Resp: 7.150285 [multiMatchCost=0.000000] SM Join SM cost: 7.150285 resc: 7.150285 resc_io: 5.000000 resc_cpu: 28268613 resp: 7.150285 resp_io: 5.000000 resp_cpu: 28268613 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 4.147925 card 53.000000 bytes: deg: 1 resp: 4.147925 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.195494 Resp: 5.195494 [multiMatchCost=0.000213] HA Join HA cost: 5.195494 resc: 5.195494 resc_io: 5.000000 resc_cpu: 2570057 resp: 5.195494 resp_io: 5.000000 resp_cpu: 2570057 Best:: JoinMethod: NestedLoop Cost: 4.152158 Degree: 1 Resp: 4.152158 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.152158 Resp: 4.152158 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.270748 Resp: 63.270748 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3559371 Resp_io: 63.000000 Resp_cpu: 3559371 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.185988 Resp: 57.185988 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2445082 Resp_io: 57.000000 Resp_cpu: 2445082 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.185988 Resp: 57.185988 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2445082 Resp_io: 57.000000 Resp_cpu: 2445082 Best NL cost: 57.185988 resc: 57.185988 resc_io: 57.000000 resc_cpu: 2445082 resp: 57.185988 resp_io: 57.000000 resc_cpu: 2445082 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152158 card 53.000000 bytes: deg: 1 resp: 4.152158 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.155432 Resp: 9.155432 [multiMatchCost=0.000000] SM Join SM cost: 9.155432 resc: 9.155432 resc_io: 7.000000 resc_cpu: 28336277 resp: 9.155432 resp_io: 7.000000 resp_cpu: 28336277 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152158 card 53.000000 bytes: deg: 1 resp: 4.152158 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.200735 Resp: 7.200735 [multiMatchCost=0.000091] HA Join HA cost: 7.200735 resc: 7.200735 resc_io: 7.000000 resc_cpu: 2638952 resp: 7.200735 resp_io: 7.000000 resp_cpu: 2638952 Join order aborted: cost > best plan cost *********************** Join order[49]: DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 EMPLOYEES[EMPLOYEES]#4 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 27.000000 Cost: 2.048058 Resp: 2.048058 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.333333 resc_cpu: 10121 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 11.068845 Resp: 11.068845 Degree: 1 Cost_io: 11.000000 Cost_cpu: 905072 Resp_io: 11.000000 Resp_cpu: 905072 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 29.072953 Resp: 29.072953 Degree: 1 Cost_io: 29.000000 Cost_cpu: 959072 Resp_io: 29.000000 Resp_cpu: 959072 Best NL cost: 11.068845 resc: 11.068845 resc_io: 11.000000 resc_cpu: 905072 resp: 11.068845 resp_io: 11.000000 resc_cpu: 905072 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 675.000000 = outer (27.000000) * inner (25.000000) * sel (1.000000) Join Card - Rounded: 675 Computed: 675.000000 Join order aborted: cost > best plan cost *********************** Join order[50]: DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 *************** Now joining: EMPLOYEES[EMPLOYEES]#4 *************** NL Join Outer table: Card: 27.000000 Cost: 2.048058 Resp: 2.048058 Degree: 1 Bytes: Access path analysis for EMPLOYEES Scan IO Cost (Disk) = 1.407407 Scan CPU Cost (Disk) = 73057.200000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.407407 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 107.000000 (#rows)) = 1.407407 Total Scan CPU Cost = 73057.200000 (scan (Disk)) + 5350.000000 (cpu filter eval) (= 50.000000 (per row) * 107.000000 (#rows)) = 78407.200000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: TableScan NL Join: Cost: 40.209090 Resp: 40.209090 Degree: 1 Cost_io: 40.000000 Cost_cpu: 2748787 Resp_io: 40.000000 Resp_cpu: 2748787 Access Path: index (index (FFS)) Index: EMP_DEPARTMENT_IX resc_io: 0.333333 resc_cpu: 25141 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: EMPLOYEES Alias: EMPLOYEES Access Path: index (FFS) NL Join: Cost: 11.099693 Resp: 11.099693 Degree: 1 Cost_io: 11.000000 Cost_cpu: 1310612 Resp_io: 11.000000 Resp_cpu: 1310612 ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 2.053911 Resp: 2.053911 Degree: 1 Cost_io: 2.000000 Cost_cpu: 708743 Resp_io: 2.000000 Resp_cpu: 708743 ****** trying bitmap/domain indexes ****** ****** finished trying bitmap/domain indexes ****** Best NL cost: 2.053911 resc: 2.053911 resc_io: 2.000000 resc_cpu: 708743 resp: 2.053911 resp_io: 2.000000 resc_cpu: 708743 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (27.000000) * inner (53.500000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SM join: Resc: 5.050120 Resp: 5.050120 [multiMatchCost=0.000000] SM Join SM cost: 5.050120 resc: 5.050120 resc_io: 3.000000 resc_cpu: 26951797 resp: 5.050120 resp_io: 3.000000 resp_cpu: 26951797 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card 27.000000 bytes: deg: 1 resp: 2.048058 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046359 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 3.094974 Resp: 3.094974 [multiMatchCost=0.000000] HA Join HA cost: 3.094974 resc: 3.094974 resc_io: 3.000000 resc_cpu: 1248564 resp: 3.094974 resp_io: 3.000000 resp_cpu: 1248564 Best:: JoinMethod: NestedLoop Cost: 2.053911 Degree: 1 Resp: 2.053911 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 2.053911 Resp: 2.053911 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 61.172300 Resp: 61.172300 Degree: 1 Cost_io: 61.000000 Cost_cpu: 2265128 Resp_io: 61.000000 Resp_cpu: 2265128 Best NL cost: 61.172300 resc: 61.172300 resc_io: 61.000000 resc_cpu: 2265128 resp: 61.172300 resp_io: 61.000000 resc_cpu: 2265128 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[51]: DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.000000 Cost: 2.053911 Resp: 2.053911 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 61.196569 Resp: 61.196569 Degree: 1 Cost_io: 61.000000 Cost_cpu: 2584188 Resp_io: 61.000000 Resp_cpu: 2584188 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 55.087862 Resp: 55.087862 Degree: 1 Cost_io: 55.000000 Cost_cpu: 1155079 Resp_io: 55.000000 Resp_cpu: 1155079 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 55.087862 Resp: 55.087862 Degree: 1 Cost_io: 55.000000 Cost_cpu: 1155079 Resp_io: 55.000000 Resp_cpu: 1155079 Best NL cost: 55.087862 resc: 55.087862 resc_io: 55.000000 resc_cpu: 1155079 resp: 55.087862 resp_io: 55.000000 resc_cpu: 1155079 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 2.053911 card 53.000000 bytes: deg: 1 resp: 2.053911 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 21 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 6.103169 Resp: 6.103169 [multiMatchCost=0.000000] SM Join SM cost: 6.103169 resc: 6.103169 resc_io: 4.000000 resc_cpu: 27649199 resp: 6.103169 resp_io: 4.000000 resp_cpu: 27649199 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 2.053911 card 53.000000 bytes: deg: 1 resp: 2.053911 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046419 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 4.148419 Resp: 4.148419 [multiMatchCost=0.000228] HA Join HA cost: 4.148419 resc: 4.148419 resc_io: 4.000000 resc_cpu: 1951186 resp: 4.148419 resp_io: 4.000000 resp_cpu: 1951186 Best:: JoinMethod: Hash Cost: 4.148419 Degree: 1 Resp: 4.148419 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.148419 Resp: 4.148419 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.266807 Resp: 63.266807 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3507571 Resp_io: 63.000000 Resp_cpu: 3507571 Best NL cost: 63.266807 resc: 63.266807 resc_io: 63.000000 resc_cpu: 3507571 resp: 63.266807 resp_io: 63.000000 resc_cpu: 3507571 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[52]: DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 4.148419 Resp: 4.148419 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 20.214421 Resp: 20.214421 Degree: 1 Cost_io: 20.000000 Cost_cpu: 2818872 Resp_io: 20.000000 Resp_cpu: 2818872 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152652 Resp: 4.152652 Degree: 1 Cost_io: 4.000000 Cost_cpu: 2006836 Resp_io: 4.000000 Resp_cpu: 2006836 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 4.152652 Resp: 4.152652 Degree: 1 Cost_io: 4.000000 Cost_cpu: 2006836 Resp_io: 4.000000 Resp_cpu: 2006836 Best NL cost: 4.152652 resc: 4.152652 resc_io: 4.000000 resc_cpu: 2006836 resp: 4.152652 resp_io: 4.000000 resc_cpu: 2006836 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 53 Computed: 53.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.148419 card 53.000000 bytes: deg: 1 resp: 4.148419 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 28 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 7.150780 Resp: 7.150780 [multiMatchCost=0.000000] SM Join SM cost: 7.150780 resc: 7.150780 resc_io: 5.000000 resc_cpu: 28275113 resp: 7.150780 resp_io: 5.000000 resp_cpu: 28275113 Outer table: LOCATIONS Alias: LOCATIONS resc: 4.148419 card 53.000000 bytes: deg: 1 resp: 4.148419 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.195989 Resp: 5.195989 [multiMatchCost=0.000213] HA Join HA cost: 5.195989 resc: 5.195989 resc_io: 5.000000 resc_cpu: 2576557 resp: 5.195989 resp_io: 5.000000 resp_cpu: 2576557 Best:: JoinMethod: NestedLoop Cost: 4.152652 Degree: 1 Resp: 4.152652 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 4.152652 Resp: 4.152652 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 63.271242 Resp: 63.271242 Degree: 1 Cost_io: 63.000000 Cost_cpu: 3565871 Resp_io: 63.000000 Resp_cpu: 3565871 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.186482 Resp: 57.186482 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2451582 Resp_io: 57.000000 Resp_cpu: 2451582 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 57.186482 Resp: 57.186482 Degree: 1 Cost_io: 57.000000 Cost_cpu: 2451582 Resp_io: 57.000000 Resp_cpu: 2451582 Best NL cost: 57.186482 resc: 57.186482 resc_io: 57.000000 resc_cpu: 2451582 resp: 57.186482 resp_io: 57.000000 resc_cpu: 2451582 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152652 card 53.000000 bytes: deg: 1 resp: 4.152652 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 9.155926 Resp: 9.155926 [multiMatchCost=0.000000] SM Join SM cost: 9.155926 resc: 9.155926 resc_io: 7.000000 resc_cpu: 28342777 resp: 9.155926 resp_io: 7.000000 resp_cpu: 28342777 Outer table: COUNTRIES Alias: COUNTRIES resc: 4.152652 card 53.000000 bytes: deg: 1 resp: 4.152652 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.201229 Resp: 7.201229 [multiMatchCost=0.000091] HA Join HA cost: 7.201229 resc: 7.201229 resc_io: 7.000000 resc_cpu: 2645452 resp: 7.201229 resp_io: 7.000000 resp_cpu: 2645452 Join order aborted: cost > best plan cost *********************** Join order[53]: DEPARTMENTS[DEPARTMENTS]#3 EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 2.053911 Resp: 2.053911 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 10121 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 18.094716 Resp: 18.094716 Degree: 1 Cost_io: 18.000000 Cost_cpu: 1245179 Resp_io: 18.000000 Resp_cpu: 1245179 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 55.102779 Resp: 55.102779 Degree: 1 Cost_io: 55.000000 Cost_cpu: 1351179 Resp_io: 55.000000 Resp_cpu: 1351179 Best NL cost: 18.094716 resc: 18.094716 resc_io: 18.000000 resc_cpu: 1245179 resp: 18.094716 resp_io: 18.000000 resc_cpu: 1245179 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1325.000000 = outer (53.000000) * inner (25.000000) * sel (1.000000) Join Card - Rounded: 1325 Computed: 1325.000000 Join order aborted: cost > best plan cost *********************** Join order[54]: EMPLOYEES[EMPLOYEES]#4 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.500000 Cost: 1.000557 Resp: 1.000557 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.111111 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.111111 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.111111 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 61.121179 Resp: 61.121179 Degree: 1 Cost_io: 61.000000 Cost_cpu: 1593072 Resp_io: 61.000000 Resp_cpu: 1593072 Best NL cost: 61.121179 resc: 61.121179 resc_io: 61.000000 resc_cpu: 1593072 resp: 61.121179 resp_io: 61.000000 resc_cpu: 1593072 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.500000 = outer (53.500000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 54 Computed: 53.500000 Join order aborted: cost > best plan cost *********************** Join order[55]: EMPLOYEES[EMPLOYEES]#4 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.500000 Cost: 1.000557 Resp: 1.000557 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.111111 Scan CPU Cost (Disk) = 34235.760000 Total Scan IO Cost = 1.111111 (scan (Disk)) = 1.111111 Total Scan CPU Cost = 34235.760000 (scan (Disk)) = 34235.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 61.141183 Resp: 61.141183 Degree: 1 Cost_io: 61.000000 Cost_cpu: 1856052 Resp_io: 61.000000 Resp_cpu: 1856052 Best NL cost: 61.141183 resc: 61.141183 resc_io: 61.000000 resc_cpu: 1856052 resp: 61.141183 resp_io: 61.000000 resc_cpu: 1856052 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1230.500000 = outer (53.500000) * inner (23.000000) * sel (1.000000) Join Card - Rounded: 1231 Computed: 1230.500000 Join order aborted: cost > best plan cost *********************** Join order[56]: EMPLOYEES[EMPLOYEES]#4 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 DEPARTMENTS[DEPARTMENTS]#3 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.500000 Cost: 1.000557 Resp: 1.000557 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.296296 resc_cpu: 10121 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 17.042131 Resp: 17.042131 Degree: 1 Cost_io: 17.000000 Cost_cpu: 553879 Resp_io: 17.000000 Resp_cpu: 553879 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 55.050347 Resp: 55.050347 Degree: 1 Cost_io: 55.000000 Cost_cpu: 661879 Resp_io: 55.000000 Resp_cpu: 661879 Best NL cost: 17.042131 resc: 17.042131 resc_io: 17.000000 resc_cpu: 553879 resp: 17.042131 resp_io: 17.000000 resc_cpu: 553879 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1337.500000 = outer (53.500000) * inner (25.000000) * sel (1.000000) Join Card - Rounded: 1338 Computed: 1337.500000 Join order aborted: cost > best plan cost *********************** Join order[57]: EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 *************** Now joining: DEPARTMENTS[DEPARTMENTS]#3 *************** NL Join Outer table: Card: 53.500000 Cost: 1.000557 Resp: 1.000557 Degree: 1 Bytes: Access path analysis for DEPARTMENTS Scan IO Cost (Disk) = 1.111111 Scan CPU Cost (Disk) = 34155.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.036691 flag = 2064 ("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Total Scan IO Cost = 1.111111 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 27.000000 (#rows)) = 1.111111 Total Scan CPU Cost = 34155.760000 (scan (Disk)) + 1350.000000 (cpu filter eval) (= 50.000000 (per row) * 27.000000 (#rows)) = 35505.760000 Inner table: DEPARTMENTS Alias: DEPARTMENTS Access Path: TableScan NL Join: Cost: 61.146399 Resp: 61.146399 Degree: 1 Cost_io: 61.000000 Cost_cpu: 1924632 Resp_io: 61.000000 Resp_cpu: 1924632 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 55.034984 Resp: 55.034984 Degree: 1 Cost_io: 55.000000 Cost_cpu: 459919 Resp_io: 55.000000 Resp_cpu: 459919 ****** Costing Index DEPT_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: DEPT_ID_PK resc_io: 1.000000 resc_cpu: 8381 ix_sel: 0.037037 ix_sel_with_filters: 0.037037 NL Join : Cost: 55.034984 Resp: 55.034984 Degree: 1 Cost_io: 55.000000 Cost_cpu: 459919 Resp_io: 55.000000 Resp_cpu: 459919 Best NL cost: 55.034984 resc: 55.034984 resc_io: 55.000000 resc_cpu: 459919 resp: 55.034984 resp_io: 55.000000 resc_cpu: 459919 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.500000) * inner (27.000000) * sel (0.036691) Join Card - Rounded: 53 Computed: 53.000000 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card 53.500000 bytes: deg: 1 resp: 1.000557 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 14 Total Rows: 54 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160450 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 18 Total Rows: 27 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13152233 Total Temp space used: 0 SM join: Resc: 5.050120 Resp: 5.050120 [multiMatchCost=0.000000] SM Join SM cost: 5.050120 resc: 5.050120 resc_io: 3.000000 resc_cpu: 26951797 resp: 5.050120 resp_io: 3.000000 resp_cpu: 26951797 Outer table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card 53.500000 bytes: deg: 1 resp: 1.000557 Inner table: DEPARTMENTS Alias: DEPARTMENTS resc: 2.048058 card: 27.000000 bytes: deg: 1 resp: 2.048058 using dmeth: 2 #groups: 1 Cost per ptn: 0.046461 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 3.095274 Resp: 3.095274 [multiMatchCost=0.000198] HA Join HA cost: 3.095274 resc: 3.095274 resc_io: 3.000000 resc_cpu: 1252514 resp: 3.095274 resp_io: 3.000000 resp_cpu: 1252514 Best:: JoinMethod: Hash Cost: 3.095274 Degree: 1 Resp: 3.095274 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 3.095274 Resp: 3.095274 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 62.213662 Resp: 62.213662 Degree: 1 Cost_io: 62.000000 Cost_cpu: 2808900 Resp_io: 62.000000 Resp_cpu: 2808900 Best NL cost: 62.213662 resc: 62.213662 resc_io: 62.000000 resc_cpu: 2808900 resp: 62.213662 resp_io: 62.000000 resc_cpu: 2808900 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[58]: EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 REGIONS[REGIONS]#0 COUNTRIES[COUNTRIES]#2 *************** Now joining: LOCATIONS[LOCATIONS]#1 *************** NL Join Outer table: Card: 53.000000 Cost: 3.095274 Resp: 3.095274 Degree: 1 Bytes: Access path analysis for LOCATIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 34235.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.043478 flag = 2064 ("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 23.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 34235.760000 (scan (Disk)) + 1150.000000 (cpu filter eval) (= 50.000000 (per row) * 23.000000 (#rows)) = 35385.760000 Inner table: LOCATIONS Alias: LOCATIONS Access Path: TableScan NL Join: Cost: 62.237932 Resp: 62.237932 Degree: 1 Cost_io: 62.000000 Cost_cpu: 3127960 Resp_io: 62.000000 Resp_cpu: 3127960 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 56.129225 Resp: 56.129225 Degree: 1 Cost_io: 56.000000 Cost_cpu: 1698851 Resp_io: 56.000000 Resp_cpu: 1698851 ****** Costing Index LOC_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: LOC_ID_PK resc_io: 1.000000 resc_cpu: 8421 ix_sel: 0.043478 ix_sel_with_filters: 0.043478 NL Join : Cost: 56.129225 Resp: 56.129225 Degree: 1 Cost_io: 56.000000 Cost_cpu: 1698851 Resp_io: 56.000000 Resp_cpu: 1698851 Best NL cost: 56.129225 resc: 56.129225 resc_io: 56.000000 resc_cpu: 1698851 resp: 56.129225 resp_io: 56.000000 resc_cpu: 1698851 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (23.000000) * sel (0.043478) Join Card - Rounded: 53 Computed: 53.000000 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 3.095274 card 53.000000 bytes: deg: 1 resp: 3.095274 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 21 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 23 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151136 Total Temp space used: 0 SM join: Resc: 7.144531 Resp: 7.144531 [multiMatchCost=0.000000] SM Join SM cost: 7.144531 resc: 7.144531 resc_io: 5.000000 resc_cpu: 28192970 resp: 7.144531 resp_io: 5.000000 resp_cpu: 28192970 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 3.095274 card 53.000000 bytes: deg: 1 resp: 3.095274 Inner table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card: 23.000000 bytes: deg: 1 resp: 2.047860 using dmeth: 2 #groups: 1 Cost per ptn: 0.046419 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.189782 Resp: 5.189782 [multiMatchCost=0.000228] HA Join HA cost: 5.189782 resc: 5.189782 resc_io: 5.000000 resc_cpu: 2494957 resp: 5.189782 resp_io: 5.000000 resp_cpu: 2494957 Best:: JoinMethod: Hash Cost: 5.189782 Degree: 1 Resp: 5.189782 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 5.189782 Resp: 5.189782 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 200.000000 (cpu filter eval) (= 50.000000 (per row) * 4.000000 (#rows)) = 29365.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 64.308170 Resp: 64.308170 Degree: 1 Cost_io: 64.000000 Cost_cpu: 4051342 Resp_io: 64.000000 Resp_cpu: 4051342 Best NL cost: 64.308170 resc: 64.308170 resc_io: 64.000000 resc_cpu: 4051342 resp: 64.308170 resp_io: 64.000000 resc_cpu: 4051342 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (1.000000) * sel (1.000000) Join Card - Rounded: 53 Computed: 53.000000 Join order aborted: cost > best plan cost *********************** Join order[59]: EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 LOCATIONS[LOCATIONS]#1 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 5.189782 Resp: 5.189782 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 21.255783 Resp: 21.255783 Degree: 1 Cost_io: 21.000000 Cost_cpu: 3362644 Resp_io: 21.000000 Resp_cpu: 3362644 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 5.194015 Resp: 5.194015 Degree: 1 Cost_io: 5.000000 Cost_cpu: 2550607 Resp_io: 5.000000 Resp_cpu: 2550607 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 5.194015 Resp: 5.194015 Degree: 1 Cost_io: 5.000000 Cost_cpu: 2550607 Resp_io: 5.000000 Resp_cpu: 2550607 Best NL cost: 5.194015 resc: 5.194015 resc_io: 5.000000 resc_cpu: 2550607 resp: 5.194015 resp_io: 5.000000 resc_cpu: 2550607 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 53.000000 = outer (53.000000) * inner (25.000000) * sel (0.040000) Join Card - Rounded: 53 Computed: 53.000000 Outer table: LOCATIONS Alias: LOCATIONS resc: 5.189782 card 53.000000 bytes: deg: 1 resp: 5.189782 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 28 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 17 Total Rows: 25 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13151679 Total Temp space used: 0 SM join: Resc: 8.192142 Resp: 8.192142 [multiMatchCost=0.000000] SM Join SM cost: 8.192142 resc: 8.192142 resc_io: 6.000000 resc_cpu: 28818885 resp: 8.192142 resp_io: 6.000000 resp_cpu: 28818885 Outer table: LOCATIONS Alias: LOCATIONS resc: 5.189782 card 53.000000 bytes: deg: 1 resp: 5.189782 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046435 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 6.237351 Resp: 6.237351 [multiMatchCost=0.000213] HA Join HA cost: 6.237351 resc: 6.237351 resc_io: 6.000000 resc_cpu: 3120329 resp: 6.237351 resp_io: 6.000000 resp_cpu: 3120329 Best:: JoinMethod: NestedLoop Cost: 5.194015 Degree: 1 Resp: 5.194015 Card: 53.000000 Bytes: *************** Now joining: REGIONS[REGIONS]#0 *************** NL Join Outer table: Card: 53.000000 Cost: 5.194015 Resp: 5.194015 Degree: 1 Bytes: Access path analysis for REGIONS Scan IO Cost (Disk) = 1.113208 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.113208 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.113208 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 64.312605 Resp: 64.312605 Degree: 1 Cost_io: 64.000000 Cost_cpu: 4109642 Resp_io: 64.000000 Resp_cpu: 4109642 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 58.227845 Resp: 58.227845 Degree: 1 Cost_io: 58.000000 Cost_cpu: 2995354 Resp_io: 58.000000 Resp_cpu: 2995354 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 58.227845 Resp: 58.227845 Degree: 1 Cost_io: 58.000000 Cost_cpu: 2995354 Resp_io: 58.000000 Resp_cpu: 2995354 Best NL cost: 58.227845 resc: 58.227845 resc_io: 58.000000 resc_cpu: 2995354 resp: 58.227845 resp_io: 58.000000 resc_cpu: 2995354 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 13.250000 = outer (53.000000) * inner (1.000000) * sel (0.250000) Join Card - Rounded: 13 Computed: 13.250000 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.194015 card 53.000000 bytes: deg: 1 resp: 5.194015 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 35 Total Rows: 53 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13160126 Total Temp space used: 0 SORT ressource Sort statistics Sort width: 298 Area size: 262144 Max Area size: 52428800 Degree: 1 Blocks to Sort: 1 Row size: 26 Total Rows: 1 Initial runs: 1 Merge passes: 0 IO Cost / pass: 0 Total IO sort cost: 0.000000 Total CPU sort cost: 13146449 Total Temp space used: 0 SM join: Resc: 10.197289 Resp: 10.197289 [multiMatchCost=0.000000] SM Join SM cost: 10.197289 resc: 10.197289 resc_io: 8.000000 resc_cpu: 28886548 resp: 10.197289 resp_io: 8.000000 resp_cpu: 28886548 Outer table: COUNTRIES Alias: COUNTRIES resc: 5.194015 card 53.000000 bytes: deg: 1 resp: 5.194015 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.046252 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 8.242592 Resp: 8.242592 [multiMatchCost=0.000091] HA Join HA cost: 8.242592 resc: 8.242592 resc_io: 8.000000 resc_cpu: 3189223 resp: 8.242592 resp_io: 8.000000 resp_cpu: 3189223 Join order aborted: cost > best plan cost *********************** Join order[60]: EMPLOYEES[EMPLOYEES]#4 DEPARTMENTS[DEPARTMENTS]#3 COUNTRIES[COUNTRIES]#2 REGIONS[REGIONS]#0 LOCATIONS[LOCATIONS]#1 *************** Now joining: COUNTRIES[COUNTRIES]#2 *************** NL Join Outer table: Card: 53.000000 Cost: 3.095274 Resp: 3.095274 Degree: 1 Bytes: Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.301887 resc_cpu: 10121 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 19.136079 Resp: 19.136079 Degree: 1 Cost_io: 19.000000 Cost_cpu: 1788951 Resp_io: 19.000000 Resp_cpu: 1788951 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 Access Path: index (FullScan) Index: COUNTRY_C_ID_PK resc_io: 1.000000 resc_cpu: 12121 ix_sel: 1.000000 ix_sel_with_filters: 1.000000 NL Join : Cost: 56.144142 Resp: 56.144142 Degree: 1 Cost_io: 56.000000 Cost_cpu: 1894951 Resp_io: 56.000000 Resp_cpu: 1894951 Best NL cost: 19.136079 resc: 19.136079 resc_io: 19.000000 resc_cpu: 1788951 resp: 19.136079 resp_io: 19.000000 resc_cpu: 1788951 SPD: Return code in qosdDSDirSetup: NOCTX, estType = JOIN Join Card: 1325.000000 = outer (53.000000) * inner (25.000000) * sel (1.000000) Join Card - Rounded: 1325 Computed: 1325.000000 Join order aborted: cost > best plan cost *********************** (newjo-stop-1) k:0, spcnt:0, perm:60, maxperm:2000 ********************************* Number of join permutations tried: 60 ********************************* Consider using bloom filter between COUNTRIES[COUNTRIES] and REGIONS[REGIONS] with ?? kkoBloomFilter: join (lcdn:23 rcdn:1 jcdn:6 limit:12) kkopqSingleJoinBloomNdv:Compute bloom ndv for lfro:LOCATIONS[LOCATIONS] and rfro:REGIONS[REGIONS] swap:no kkopqSingleJoinBloomNdv:Compute bloom ndv for lfro:COUNTRIES[COUNTRIES] and rfro:REGIONS[REGIONS] swap:no kkopqSingleJoinBloomNdv: predCnt:#1 col1:(bndv:4 ndv:4) and col2:(bndv:4 ndv:4) creatorNDV:4.0 userNDV:4.0 kkopqComputeBloomNdv: predCnt:1 creatorNdv:4.0 userNdv:4.0 singleTblPred:no kkoBloomFilter: join ndv:0 reduction:4.000000 (limit:0.050000) rejected because distinct value ratio Enumerating distribution method (advanced) --- Distribution method for join between LOCATIONS[LOCATIONS](serial) and COUNTRIES[COUNTRIES](serial); jm = 14; right side access path = IndexUnique kkopqIsSerialJoin: serial NLJ: both inputs serial ---- serial NL-Join -> SERIAL --- Distribution method for join between COUNTRIES[COUNTRIES](serial) and REGIONS[REGIONS](serial); jm = 1; right side access path = TableScan ---- serial Hash-Join -> NONE --- Distribution method for join between REGIONS[REGIONS](serial) and DEPARTMENTS[DEPARTMENTS](serial); jm = 14; right side access path = IndexRange kkopqIsSerialJoin: serial NLJ: both inputs serial kkopqIsSerialJoin: serial - SMJ/HJ: both input serial kkopqIsSerialJoin: serial NLJ: both inputs serial ---- serial NL-Join -> SERIAL --- Distribution method for join between DEPARTMENTS[DEPARTMENTS](serial) and EMPLOYEES[EMPLOYEES](serial); jm = 14; right side access path = IndexRange kkopqIsSerialJoin: serial NLJ: both inputs serial kkopqIsSerialJoin: serial - SMJ/HJ: both input serial kkopqIsSerialJoin: serial NLJ: both inputs serial kkopqIsSerialJoin: serial NLJ: both inputs serial ---- serial NL-Join -> SERIAL (newjo-save) [2 1 0 3 4 ] LORE: Trying or-Expansion on query block SEL$81719215 (#0) Transfer Optimizer annotations for query block SEL$81719215 (#0) AP: Checking validity for query block SEL$81719215, sqlid=8n5ggzm2v03nb kkopqIsSerialJoin: serial NLJ: both inputs serial Searching for inflection point (join #1) between 23.00 and 131070.00 AP: Computing costs for inflection point at min value 23.00 AP: Using binary search for inflection point search AP: Costing Nested Loops Join for inflection point at card 23.00 Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.347826 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 10.076502 Resp: 10.076502 Degree: 1 Cost_io: 10.000000 Cost_cpu: 1005736 Resp_io: 10.000000 Resp_cpu: 1005736 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 2.049697 Resp: 2.049697 Degree: 1 Cost_io: 2.000000 Cost_cpu: 653343 Resp_io: 2.000000 Resp_cpu: 653343 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 2.049697 Resp: 2.049697 Degree: 1 Cost_io: 2.000000 Cost_cpu: 653343 Resp_io: 2.000000 Resp_cpu: 653343 AP: Costing Hash Join for inflection point at card 23.00 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 23.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 0.046092 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 3.104763 Resp: 3.104763 [multiMatchCost=0.009889] AP: lcost=2.05, rcost=3.10 AP: Computing costs for inflection point at max value 131070.00 AP: Costing Nested Loops Join for inflection point at card 131070.00 Access path analysis for COUNTRIES Access Path: index (index (FFS)) Index: COUNTRY_C_ID_PK resc_io: 0.270848 resc_cpu: 16371 ix_sel: 0.000000 ix_sel_with_filters: 1.000000 Inner table: COUNTRIES Alias: COUNTRIES Access Path: index (FFS) NL Join: Cost: 35665.271000 Resp: 35665.271000 Degree: 1 Cost_io: 35502.000000 Cost_cpu: 2146433834 Resp_io: 35502.000000 Resp_cpu: 2146433834 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 12.516353 Resp: 12.516353 Degree: 1 Cost_io: 2.000000 Cost_cpu: 138252693 Resp_io: 2.000000 Resp_cpu: 138252693 ****** Costing Index COUNTRY_C_ID_PK OPTIMIZER PERCENT INDEX CACHING = 0 SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: COUNTRY_C_ID_PK resc_io: 0.000000 resc_cpu: 1050 ix_sel: 0.040000 ix_sel_with_filters: 0.040000 NL Join : Cost: 12.516353 Resp: 12.516353 Degree: 1 Cost_io: 2.000000 Cost_cpu: 138252693 Resp_io: 2.000000 Resp_cpu: 138252693 AP: Costing Hash Join for inflection point at card 131070.00 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 131070.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 114.631704 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 288 probefrag: 1 ppasses: 1 Hash join: Resc: 117.690375 Resp: 117.690375 [multiMatchCost=0.009889] AP: lcost=12.52, rcost=117.69 AP: Costing Hash Join for inflection point at card 131070.00 Outer table: LOCATIONS Alias: LOCATIONS resc: 2.047860 card 131070.000000 bytes: deg: 1 resp: 2.047860 Inner table: COUNTRIES Alias: COUNTRIES resc: 1.000922 card: 25.000000 bytes: deg: 1 resp: 1.000922 using dmeth: 2 #groups: 1 Cost per ptn: 114.631704 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 288 probefrag: 1 ppasses: 1 Hash join: Resc: 117.690375 Resp: 117.690375 [multiMatchCost=0.009889] DP: Found point of inflection for NLJ vs. HJ: card = -1.00 kkopqIsSerialJoin: serial - SMJ/HJ: both input serial Searching for inflection point (join #2) between 0.00 and 23.00 AP: Computing costs for inflection point at min value 0.00 AP: Using binary search for inflection point search AP: Costing Nested Loops Join for inflection point at card 0.00 Access path analysis for REGIONS Scan IO Cost (Disk) = 3.000000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 3.000000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 3.000000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 5.051935 Resp: 5.051935 Degree: 1 Cost_io: 5.000000 Cost_cpu: 682759 Resp_io: 5.000000 Resp_cpu: 682759 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 3.050336 Resp: 3.050336 Degree: 1 Cost_io: 3.000000 Cost_cpu: 661734 Resp_io: 3.000000 Resp_cpu: 661734 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 3.050336 Resp: 3.050336 Degree: 1 Cost_io: 3.000000 Cost_cpu: 661734 Resp_io: 3.000000 Resp_cpu: 661734 AP: Costing Hash Join for inflection point at card 0.00 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 0.000000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045647 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 0 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097670 Resp: 5.097670 [multiMatchCost=0.000091] AP: lcost=3.05, rcost=5.10 AP: Computing costs for inflection point at max value 23.00 AP: Costing Nested Loops Join for inflection point at card 23.00 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.173913 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.173913 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.173913 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 29.101161 Resp: 29.101161 Degree: 1 Cost_io: 29.000000 Cost_cpu: 1329905 Resp_io: 29.000000 Resp_cpu: 1329905 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 25.064378 Resp: 25.064378 Degree: 1 Cost_io: 25.000000 Cost_cpu: 846346 Resp_io: 25.000000 Resp_cpu: 846346 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 25.064378 Resp: 25.064378 Degree: 1 Cost_io: 25.000000 Cost_cpu: 846346 Resp_io: 25.000000 Resp_cpu: 846346 AP: Costing Hash Join for inflection point at card 23.00 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 23.000000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045910 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097932 Resp: 5.097932 [multiMatchCost=0.000091] AP: lcost=25.06, rcost=5.10 AP: Searching for inflection point at value 1.00 AP: Costing Nested Loops Join for inflection point at card 11.50 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.166667 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.166667 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.166667 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 16.076548 Resp: 16.076548 Degree: 1 Cost_io: 16.000000 Cost_cpu: 1006332 Resp_io: 16.000000 Resp_cpu: 1006332 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 14.057357 Resp: 14.057357 Degree: 1 Cost_io: 14.000000 Cost_cpu: 754040 Resp_io: 14.000000 Resp_cpu: 754040 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 14.057357 Resp: 14.057357 Degree: 1 Cost_io: 14.000000 Cost_cpu: 754040 Resp_io: 14.000000 Resp_cpu: 754040 AP: Costing Hash Join for inflection point at card 11.50 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 11.500000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045784 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097807 Resp: 5.097807 [multiMatchCost=0.000091] AP: lcost=14.06, rcost=5.10 AP: Searching for inflection point at value 11.50 AP: Costing Nested Loops Join for inflection point at card 5.75 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.333333 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.333333 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.333333 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 10.063123 Resp: 10.063123 Degree: 1 Cost_io: 10.000000 Cost_cpu: 829837 Resp_io: 10.000000 Resp_cpu: 829837 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 8.053527 Resp: 8.053527 Degree: 1 Cost_io: 8.000000 Cost_cpu: 703692 Resp_io: 8.000000 Resp_cpu: 703692 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 8.053527 Resp: 8.053527 Degree: 1 Cost_io: 8.000000 Cost_cpu: 703692 Resp_io: 8.000000 Resp_cpu: 703692 AP: Costing Hash Join for inflection point at card 5.75 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 5.750000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045716 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097738 Resp: 5.097738 [multiMatchCost=0.000091] AP: lcost=8.05, rcost=5.10 AP: Searching for inflection point at value 5.75 AP: Costing Nested Loops Join for inflection point at card 2.88 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.666667 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.666667 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.666667 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 7.056410 Resp: 7.056410 Degree: 1 Cost_io: 7.000000 Cost_cpu: 741590 Resp_io: 7.000000 Resp_cpu: 741590 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 5.051612 Resp: 5.051612 Degree: 1 Cost_io: 5.000000 Cost_cpu: 678517 Resp_io: 5.000000 Resp_cpu: 678517 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 5.051612 Resp: 5.051612 Degree: 1 Cost_io: 5.000000 Cost_cpu: 678517 Resp_io: 5.000000 Resp_cpu: 678517 AP: Costing Hash Join for inflection point at card 2.88 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 2.875000 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045682 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097704 Resp: 5.097704 [multiMatchCost=0.000091] AP: lcost=5.05, rcost=5.10 AP: Searching for inflection point at value 2.88 AP: Costing Nested Loops Join for inflection point at card 4.31 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.500000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.500000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.500000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 8.058647 Resp: 8.058647 Degree: 1 Cost_io: 8.000000 Cost_cpu: 771006 Resp_io: 8.000000 Resp_cpu: 771006 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 AP: Costing Hash Join for inflection point at card 4.31 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 4.312500 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045693 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097715 Resp: 5.097715 [multiMatchCost=0.000091] AP: lcost=6.05, rcost=5.10 AP: Searching for inflection point at value 4.31 AP: Costing Nested Loops Join for inflection point at card 3.59 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.500000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.500000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.500000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 8.058647 Resp: 8.058647 Degree: 1 Cost_io: 8.000000 Cost_cpu: 771006 Resp_io: 8.000000 Resp_cpu: 771006 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 AP: Costing Hash Join for inflection point at card 3.59 Outer table: COUNTRIES Alias: COUNTRIES resc: 2.049697 card 3.593750 bytes: deg: 1 resp: 2.049697 Inner table: REGIONS Alias: REGIONS resc: 3.002234 card: 1.000000 bytes: deg: 1 resp: 3.002234 using dmeth: 2 #groups: 1 Cost per ptn: 0.045693 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 5.097715 Resp: 5.097715 [multiMatchCost=0.000091] AP: lcost=6.05, rcost=5.10 AP: Costing Nested Loops Join for inflection point at card 3.59 Access path analysis for REGIONS Scan IO Cost (Disk) = 1.500000 Scan CPU Cost (Disk) = 29165.760000 Cost of predicates: io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2048 ("REGIONS"."REGION_NAME"='Europe') io = NOCOST, cpu = 50.000000, sel = 0.250000 flag = 2064 ("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") Total Scan IO Cost = 1.500000 (scan (Disk)) + 0.000000 (io filter eval) (= 0.000000 (per row) * 4.000000 (#rows)) = 1.500000 Total Scan CPU Cost = 29165.760000 (scan (Disk)) + 250.000000 (cpu filter eval) (= 62.500000 (per row) * 4.000000 (#rows)) = 29415.760000 Inner table: REGIONS Alias: REGIONS Access Path: TableScan NL Join: Cost: 8.058647 Resp: 8.058647 Degree: 1 Cost_io: 8.000000 Cost_cpu: 771006 Resp_io: 8.000000 Resp_cpu: 771006 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (UniqueScan) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 ****** Costing Index REG_ID_PK SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqUnique) Index: REG_ID_PK resc_io: 1.000000 resc_cpu: 8391 ix_sel: 0.250000 ix_sel_with_filters: 0.250000 NL Join : Cost: 6.052251 Resp: 6.052251 Degree: 1 Cost_io: 6.000000 Cost_cpu: 686909 Resp_io: 6.000000 Resp_cpu: 686909 DP: Found point of inflection for NLJ vs. HJ: card = 3.59 kkopqIsSerialJoin: serial NLJ: both inputs serial AP: adaptive joins bypassed for table DEPARTMENTS @ SEL$81719215 due to Index join kkopqIsSerialJoin: serial NLJ: both inputs serial Searching for inflection point (join #4) between 6.75 and 161317.00 AP: Computing costs for inflection point at min value 6.75 AP: Using binary search for inflection point search AP: Costing Nested Loops Join for inflection point at card 6.75 Access path analysis for EMPLOYEES ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 6.927342 Resp: 6.927342 Degree: 1 Cost_io: 6.826087 Cost_cpu: 1331147 Resp_io: 6.826087 Resp_cpu: 1331147 AP: Costing Hash Join for inflection point at card 6.75 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.925825 card 6.750000 bytes: deg: 1 resp: 6.925825 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 0.046130 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 1 probefrag: 1 ppasses: 1 Hash join: Resc: 7.972512 Resp: 7.972512 [multiMatchCost=0.000000] AP: lcost=6.93, rcost=7.97 AP: Computing costs for inflection point at max value 161317.00 AP: Costing Nested Loops Join for inflection point at card 161317.00 Access path analysis for EMPLOYEES ****** Costing Index EMP_DEPARTMENT_IX SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_SCAN SPD: Return code in qosdDSDirSetup: NOCTX, estType = INDEX_FILTER Access Path: index (AllEqJoinGuess) Index: EMP_DEPARTMENT_IX resc_io: 0.000000 resc_cpu: 2850 ix_sel: 0.091767 ix_sel_with_filters: 0.091767 NL Join : Cost: 41.897509 Resp: 41.897509 Degree: 1 Cost_io: 6.826087 Cost_cpu: 461064647 Resp_io: 6.826087 Resp_cpu: 461064647 AP: Costing Hash Join for inflection point at card 161317.00 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.925825 card 161317.000000 bytes: deg: 1 resp: 6.925825 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 346.164183 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 887 probefrag: 1 ppasses: 1 Hash join: Resc: 354.090565 Resp: 354.090565 [multiMatchCost=0.000000] AP: lcost=41.90, rcost=354.09 AP: Costing Hash Join for inflection point at card 161317.00 Outer table: DEPARTMENTS Alias: DEPARTMENTS resc: 6.925825 card 161317.000000 bytes: deg: 1 resp: 6.925825 Inner table: EMPLOYEES Alias: EMPLOYEES resc: 1.000557 card: 53.500000 bytes: deg: 1 resp: 1.000557 using dmeth: 2 #groups: 1 Cost per ptn: 346.164183 #ptns: 1 hash_area: 124 (max=12800) buildfrag: 887 probefrag: 1 ppasses: 1 Hash join: Resc: 354.090565 Resp: 354.090565 [multiMatchCost=0.000000] DP: Found point of inflection for NLJ vs. HJ: card = -1.00 kkopqIsSerialJoin: serial NLJ: both inputs serial kkopqIsSerialJoin: serial - SMJ/HJ: both input serial Generate Final Index join Structure id=1 index join, join predicate predicate="indexjoin$_alias$_002".ROWID="indexjoin$_alias$_001".ROWID Registered qb: SEL$9412CF86 0x10f72208 (INDEX JOIN SEL$81719215) --------------------- QUERY BLOCK SIGNATURE --------------------- signature (): qb_name=SEL$9412CF86 nbfros=2 flg=0 fro(0): flg=4 objn=76358 hint_alias="indexjoin$_alias$_001"@"SEL$9412CF86" fro(1): flg=4 objn=76358 hint_alias="indexjoin$_alias$_002"@"SEL$9412CF86" AutoDOP: Consider caching for LOCATIONS[index$_join$_004](obj#-1) cost:2.047860 blkSize:8192 objSize:4.00 marObjSize:3.80 bufSize:61000.00 affPercent:80 smallTab:YES affinitized:NO kkecComputeAPDop: IO Dop: 0.000000 - CPU Dop: 0.000000 Replication not feasible for first input in join order Transfer optimizer annotations for index$_join$_004[LOCATIONS] Replication not feasible based on distribution AutoDOP: Consider caching for COUNTRIES[COUNTRIES](obj#-1) cost:2.049697 blkSize:8192 objSize:1.00 marObjSize:0.95 bufSize:61000.00 affPercent:80 smallTab:YES affinitized:NO kkecComputeAPDop: IO Dop: 0.000000 - CPU Dop: 0.000000 Replication not feasible based on distribution id=1 frofkks[i] (index start key) predicate="LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" id=1 frofkke[i] (index stop key) predicate="LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID" Transfer optimizer annotations for COUNTRIES[COUNTRIES] id=1 frofkks[i] (index start key) predicate="COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" id=1 frofkke[i] (index stop key) predicate="COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" id=1 frofand predicate="REGIONS"."REGION_NAME"='Europe' Transfer optimizer annotations for REGIONS[REGIONS] AutoDOP: Consider caching for REGIONS[REGIONS](obj#76369) cost:5.097879 blkSize:8192 objSize:4.00 marObjSize:3.80 bufSize:61000.00 affPercent:80 smallTab:YES affinitized:NO kkecComputeAPDop: IO Dop: 0.000000 - CPU Dop: 0.000000 Replication not feasible based on distribution id=1 frofkksm[i] (sort-merge/hash) predicate="COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" id=1 frosand (sort-merge/hash) predicate="COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID" id=1 frofand predicate="REGIONS"."REGION_NAME"='Europe' Transfer optimizer annotations for REGIONS[REGIONS] AP: Adaptive joins bypassed for table DEPARTMENTS @ SEL$81719215 due to Join method is MJC AutoDOP: Consider caching for DEPARTMENTS[DEPARTMENTS](obj#-1) cost:6.925825 blkSize:8192 objSize:4.00 marObjSize:3.80 bufSize:61000.00 affPercent:80 smallTab:YES affinitized:NO kkecComputeAPDop: IO Dop: 0.000000 - CPU Dop: 0.000000 Replication not feasible based on distribution id=1 frofkks[i] (index start key) predicate="DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" id=1 frofkke[i] (index stop key) predicate="DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID" Transfer optimizer annotations for DEPARTMENTS[DEPARTMENTS] AP: Adaptive joins bypassed for table EMPLOYEES @ SEL$81719215 due to join path has function-based index AutoDOP: Consider caching for EMPLOYEES[EMPLOYEES](obj#-1) cost:6.927342 blkSize:8192 objSize:5.00 marObjSize:4.75 bufSize:61000.00 affPercent:80 smallTab:YES affinitized:NO kkecComputeAPDop: IO Dop: 0.000000 - CPU Dop: 0.000000 Replication not feasible based on distribution id=1 frofkks[i] (index start key) predicate="EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" id=1 frofkke[i] (index stop key) predicate="EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID" Transfer optimizer annotations for EMPLOYEES[EMPLOYEES] Final cost for query block SEL$81719215 (#0) - All Rows Plan: Best join order: 21 Cost: 6.927342 Degree: 1 Card: 13.000000 Bytes: 468.000000 Resc: 6.927342 Resc_io: 6.826087 Resc_cpu: 1331147 Resp: 6.927342 Resp_io: 6.826087 Resc_cpu: 1331147 kkoqbc-subheap (delete addr=0x0000016905C5FB80, in-use=147200, alloc=158720) kkoqbc-end: : call(in-use=46504, alloc=219896), compile(in-use=381104, alloc=381520), execution(in-use=10832, alloc=12144) kkoqbc: finish optimizing query block SEL$81719215 (#0) CBRID: LOCATIONS @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: COUNTRIES @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: REGIONS @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: REGIONS @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: DEPARTMENTS @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: EMPLOYEES @ SEL$81719215 - blocking operation in qb SEL$81719215 CBRID: indexjoin$_alias$_001 @ SEL$9412CF86 - blocking operation in qb SEL$9412CF86 CBRID: indexjoin$_alias$_002 @ SEL$9412CF86 - blocking operation in qb SEL$9412CF86 apadrv-end : call(in-use=46504, alloc=219896), compile(in-use=387392, alloc=389856), execution(in-use=10832, alloc=12144) CBRID: REGIONS @ SEL$81719215 TableLookup allocation - Failure - bug-fix control kkodpAddRwsIdRef: node 0x10f848b8 with subplan 2 added kkodpAddRwsIdRef: node 0x10f83c68 with subplan 1 added kkodpAddRwsIdRef: node 0x10f846d8 with subplan 2 added kkodpAddRwsIdRef: node 0x10f84d18 with subplan 2 added kkodpAddRwsIdRef: node 0x10f84b78 with subplan 2 added kkodpAddRwsIdRef: node 0x10f848b8 with subplan 2 added kkodpAddRwsIdRef: node 0x10f846d8 with subplan 1 added kkodpAddRwsIdRef: node 0x10f84468 with subplan 1 added kkodpAddRwsIdRef: node 0x10f83ff8 with subplan 1 added kkodpAddRwsIdRef: node 0x10f83c68 with subplan 1 added kkodpAddRwsIdRef: node 0x10f846d8 with subplan 65535 added CBRID: DEPARTMENTS @ SEL$81719215 TableLookup allocation - Failure - bug-fix control kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) kkeCostToTime: using io calibrate stats maxpmbps=200(MB/s) block_size=8192 mb_io_count=1 mb_io_size=8192 (bytes) tot_io_size=0(MB) time=0(ms) Starting SQL statement dump user_id=116 user_name=HR module=SQL*Plus action= sql_id=8n5ggzm2v03nb plan_hash_value=1515338176 problem_type=3 command_type=3 ----- Current SQL Statement for this session (sql_id=8n5ggzm2v03nb) ----- select count(*) from employees join departments using(department_id) join locations using(location_id) join countries using (country_id) join regions using (region_id) where region_name='Europe' sql_text_length=195 sql=select count(*) from employees join departments using(department_id) join locations using(location_id) join countries using (country_id) join regions using (region_id) where region_name='Europe' ----- Explain Plan Dump ----- ----- Plan Table ----- ============ Plan Table ============ -------------------------------------------------------------------+-----------------------------------+ | Id | Operation | Name | Rows | Bytes | Cost | Time | -------------------------------------------------------------------+-----------------------------------+ | 0 | SELECT STATEMENT | | | | 7 | | | 1 | SORT AGGREGATE | | 1 | 36 | | | | 2 | NESTED LOOPS | | 13 | 468 | 7 | 00:00:01 | | 3 | NESTED LOOPS | | 7 | 231 | 7 | 00:00:01 | | 4 | HASH JOIN | | 6 | 156 | 5 | 00:00:01 | | 5 | NESTED LOOPS | | 6 | 156 | 5 | 00:00:01 | | 6 | STATISTICS COLLECTOR | | | | | | | 7 | NESTED LOOPS | | 23 | 276 | 2 | 00:00:01 | | 8 | VIEW | index$_join$_004 | 23 | 138 | 2 | 00:00:01 | | 9 | HASH JOIN | | | | | | | 10 | INDEX FAST FULL SCAN | LOC_COUNTRY_IX | 23 | 138 | 1 | 00:00:01 | | 11 | INDEX FAST FULL SCAN | LOC_ID_PK | 23 | 138 | 1 | 00:00:01 | | 12 | INDEX UNIQUE SCAN | COUNTRY_C_ID_PK | 1 | 6 | 0 | | | 13 | TABLE ACCESS BY INDEX ROWID | REGIONS | 1 | 14 | 3 | 00:00:01 | | 14 | INDEX UNIQUE SCAN | REG_ID_PK | | | | | | 15 | TABLE ACCESS FULL | REGIONS | 1 | 14 | 3 | 00:00:01 | | 16 | TABLE ACCESS BY INDEX ROWID BATCHED | DEPARTMENTS | 1 | 7 | 1 | 00:00:01 | | 17 | INDEX RANGE SCAN | DEPT_LOCATION_IX | 4 | | 0 | | | 18 | INDEX RANGE SCAN | EMP_DEPARTMENT_IX| 2 | 6 | 0 | | -------------------------------------------------------------------+-----------------------------------+ Query Block Name / Object Alias (identified by operation id): ------------------------------------------------------------ 1 - SEL$81719215 8 - SEL$9412CF86 / "LOCATIONS"@"SEL$2" 9 - SEL$9412CF86 10 - SEL$9412CF86 / "indexjoin$_alias$_001"@"SEL$9412CF86" 11 - SEL$9412CF86 / "indexjoin$_alias$_002"@"SEL$9412CF86" 12 - SEL$81719215 / "COUNTRIES"@"SEL$3" 13 - SEL$81719215 / "REGIONS"@"SEL$4" 14 - SEL$81719215 / "REGIONS"@"SEL$4" 15 - SEL$81719215 / "REGIONS"@"SEL$4" 16 - SEL$81719215 / "DEPARTMENTS"@"SEL$1" 17 - SEL$81719215 / "DEPARTMENTS"@"SEL$1" 18 - SEL$81719215 / "EMPLOYEES"@"SEL$1" ------------------------------------------------------------ Predicate Information: ---------------------- 4 - access("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") 9 - access(ROWID=ROWID) 12 - access("LOCATIONS"."COUNTRY_ID"="COUNTRIES"."COUNTRY_ID") 13 - filter("REGIONS"."REGION_NAME"='Europe') 14 - access("COUNTRIES"."REGION_ID"="REGIONS"."REGION_ID") 15 - filter("REGIONS"."REGION_NAME"='Europe') 17 - access("DEPARTMENTS"."LOCATION_ID"="LOCATIONS"."LOCATION_ID") 18 - access("EMPLOYEES"."DEPARTMENT_ID"="DEPARTMENTS"."DEPARTMENT_ID") Content of other_xml column =========================== has_user_tab : yes db_version : 19.0.0.0 parse_schema : HR plan_hash_full : 3021071375 plan_hash : 1515338176 plan_hash_2 : 3788332963 adaptive_plan : yes ----------------- Optimizer Metrics ----------------- 50 --------------------- QUERY BLOCK REGISTRY ---------------------

VW

VW

VW

VW
Outline Data: /*+ BEGIN_OUTLINE_DATA IGNORE_OPTIM_EMBEDDED_HINTS OPTIMIZER_FEATURES_ENABLE('19.1.0') DB_VERSION('19.1.0') OPT_PARAM('optimizer_dynamic_sampling' 0) ALL_ROWS OUTLINE_LEAF(@"SEL$9412CF86") OUTLINE_LEAF(@"SEL$81719215") MERGE(@"SEL$EE94F965" >"SEL$5") OUTLINE(@"SEL$5") OUTLINE(@"SEL$EE94F965") MERGE(@"SEL$9E43CB6E" >"SEL$4") OUTLINE(@"SEL$4") OUTLINE(@"SEL$9E43CB6E") MERGE(@"SEL$58A6D7F6" >"SEL$3") OUTLINE(@"SEL$3") OUTLINE(@"SEL$58A6D7F6") MERGE(@"SEL$1" >"SEL$2") OUTLINE(@"SEL$2") OUTLINE(@"SEL$1") INDEX_JOIN(@"SEL$81719215" "LOCATIONS"@"SEL$2" ("LOCATIONS"."COUNTRY_ID") ("LOCATIONS"."LOCATION_ID")) INDEX(@"SEL$81719215" "COUNTRIES"@"SEL$3" ("COUNTRIES"."COUNTRY_ID")) FULL(@"SEL$81719215" "REGIONS"@"SEL$4") INDEX_RS_ASC(@"SEL$81719215" "DEPARTMENTS"@"SEL$1" ("DEPARTMENTS"."LOCATION_ID")) BATCH_TABLE_ACCESS_BY_ROWID(@"SEL$81719215" "DEPARTMENTS"@"SEL$1") INDEX(@"SEL$81719215" "EMPLOYEES"@"SEL$1" ("EMPLOYEES"."DEPARTMENT_ID")) LEADING(@"SEL$81719215" "LOCATIONS"@"SEL$2" "COUNTRIES"@"SEL$3" "REGIONS"@"SEL$4" "DEPARTMENTS"@"SEL$1" "EMPLOYEES"@"SEL$1") USE_NL(@"SEL$81719215" "COUNTRIES"@"SEL$3") USE_HASH(@"SEL$81719215" "REGIONS"@"SEL$4") USE_NL(@"SEL$81719215" "DEPARTMENTS"@"SEL$1") USE_NL(@"SEL$81719215" "EMPLOYEES"@"SEL$1") 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 = 19.1.0 _optimizer_search_limit = 5 cpu_count = 8 active_instance_count = 1 parallel_threads_per_cpu = 1 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 = 256000 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 = 256 KB _smm_max_size_static = 51200 KB _smm_px_max_size_static = 128000 KB _cpu_to_io = 0 _optimizer_undo_cost_change = 19.1.0 parallel_query_mode = enabled _enable_parallel_dml = 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 = false _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 = 0 _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_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 = 100 _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 = false _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 = 192 _parallel_syspls_obey_force = true cell_offload_processing = true _rdbms_internal_fplib_enabled = false db_file_multiblock_read_count = 61 _bloom_folding_enabled = true _mv_generalized_oj_refresh_opt = true cell_offload_compaction = ADAPTIVE cell_offload_plan_display = AUTO _bloom_predicate_offload = true _bloom_filter_size = 0 _bloom_pushing_max = 512 parallel_degree_limit = 65535 parallel_force_local = false parallel_max_degree = 8 total_cpu_count = 8 _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 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 _dml_frequency_tracking = false _optimizer_interleave_jppd = true kkb_drop_empty_segments = 0 _px_partition_scan_enabled = true _px_partition_scan_threshold = 64 _optimizer_false_filter_pred_pullup = true _bloom_minmax_enabled = true only_move_row = 0 _optimizer_enable_table_lookup_by_nl = true parallel_execution_message_size = 16384 _px_loc_msg_cost = 1000 _px_net_msg_cost = 10000 _optimizer_generate_transitive_pred = true _optimizer_cube_join_enabled = true _optimizer_filter_pushdown = true deferred_segment_creation = true _optimizer_outer_join_to_inner = true _allow_level_without_connect_by = false _max_rwgs_groupings = 8192 _optimizer_hybrid_fpwj_enabled = true _px_replication_enabled = true ilm_filter = 0 _optimizer_partial_join_eval = true _px_concurrent = true _px_object_sampling_enabled = true _px_back_to_parallel = OFF _optimizer_unnest_scalar_sq = true _optimizer_full_outer_join_to_outer = true _px_filter_parallelized = true _px_filter_skew_handling = true _zonemap_use_enabled = true _zonemap_control = 0 _optimizer_multi_table_outerjoin = true _px_groupby_pushdown = force _partition_advisor_srs_active = true _optimizer_ansi_join_lateral_enhance = true _px_parallelize_expression = true _fast_index_maintenance = true _optimizer_ansi_rearchitecture = true _optimizer_gather_stats_on_load = true ilm_access_tracking = 0 ilm_dml_timestamp = 0 _px_adaptive_dist_method = choose _px_adaptive_dist_method_threshold = 0 _optimizer_batch_table_access_by_rowid = true optimizer_adaptive_reporting_only = false _optimizer_ads_max_table_count = 0 _optimizer_ads_time_limit = 0 _optimizer_ads_use_result_cache = true _px_wif_dfo_declumping = choose _px_wif_extend_distribution_keys = true _px_join_skew_handling = true _px_join_skew_ratio = 10 _px_join_skew_minfreq = 30 CLI_internal_cursor = 0 _parallel_fault_tolerance_enabled = false _parallel_fault_tolerance_threshold = 3 _px_partial_rollup_pushdown = adaptive _px_single_server_enabled = true _optimizer_dsdir_usage_control = 0 _px_cpu_autodop_enabled = true _px_cpu_process_bandwidth = 200 _sql_hvshare_threshold = 0 _px_tq_rowhvs = true _optimizer_use_gtt_session_stats = true _optimizer_proc_rate_level = basic _px_hybrid_TSM_HWMB_load = true _optimizer_use_histograms = true PMO_altidx_rebuild = 0 _cell_offload_expressions = true _cell_materialize_virtual_columns = true _cell_materialize_all_expressions = false _rowsets_enabled = true _rowsets_target_maxsize = 524288 _rowsets_max_rows = 256 _use_hidden_partitions = 0 _px_load_monitor_threshold = 10000 _px_numa_support_enabled = false total_processor_group_count = 1 _adaptive_window_consolidator_enabled = true _optimizer_strans_adaptive_pruning = true _bloom_rm_filter = false _optimizer_null_accepting_semijoin = true _long_varchar_allow_IOT = 0 _parallel_ctas_enabled = true _cell_offload_complex_processing = true _optimizer_performance_feedback = off _optimizer_proc_rate_source = DEFAULT _hashops_prefetch_size = 4 _cell_offload_sys_context = true _multi_commit_global_index_maint = 0 _stat_aggs_one_pass_algorithm = false _dbg_scan = 0 _oltp_comp_dbg_scan = 0 _arch_comp_dbg_scan = 0 _optimizer_gather_feedback = true _upddel_dba_hash_mask_bits = 0 _px_pwmr_enabled = true _px_cdb_view_enabled = true _bloom_sm_enabled = true _optimizer_cluster_by_rowid = true _optimizer_cluster_by_rowid_control = 129 _partition_cdb_view_enabled = true _common_data_view_enabled = true _pred_push_cdb_view_enabled = true _rowsets_cdb_view_enabled = true _distinct_agg_optimization_gsets = choose _array_cdb_view_enabled = true _optimizer_adaptive_plan_control = 0 _optimizer_adaptive_random_seed = 0 _optimizer_cbqt_or_expansion = on _inmemory_dbg_scan = 0 _gby_vector_aggregation_enabled = true _optimizer_vector_transformation = true _optimizer_vector_fact_dim_ratio = 10 _key_vector_max_size = 0 _key_vector_predicate_enabled = true _key_vector_predicate_threshold = 0 _vector_operations_control = 0 _optimizer_vector_min_fact_rows = 10000000 parallel_dblink = 0 _px_scalable_invdist = true _key_vector_offload = predicate _optimizer_aggr_groupby_elim = true _optimizer_reduce_groupby_key = true _vector_serialize_temp_threshold = 1000 _always_vector_transformation = false _optimizer_cluster_by_rowid_batched = true _object_link_fixed_enabled = true optimizer_inmemory_aware = true _optimizer_inmemory_table_expansion = true _optimizer_inmemory_gen_pushable_preds = true _optimizer_inmemory_autodop = true _optimizer_inmemory_access_path = true _optimizer_inmemory_bloom_filter = true _parallel_inmemory_min_time_threshold = 1 _parallel_inmemory_time_unit = 1 _rc_sys_obj_enabled = true _optimizer_nlj_hj_adaptive_join = true _indexable_con_id = true _bloom_serial_filter = on inmemory_force = default inmemory_query = enable _inmemory_query_scan = true _inmemory_query_fetch_by_rowid = false _inmemory_pruning = on _px_autodop_pq_overhead = true _px_external_table_default_stats = true _optimizer_key_vector_aggr_factor = 75 _optimizer_vector_cost_adj = 100 _cdb_cross_container = 65535 _cdb_view_parallel_degree = 65535 _optimizer_hll_entry = 4096 _px_cdb_view_join_enabled = true inmemory_size = 0 _external_table_smart_scan = hadoop_only _optimizer_inmemory_minmax_pruning = true _approx_cnt_distinct_gby_pushdown = choose _approx_cnt_distinct_optimization = 0 _optimizer_ads_use_partial_results = true _query_execution_time_limit = 0 _optimizer_inmemory_cluster_aware_dop = true _optimizer_db_blocks_buffers = 0 KB _query_rewrite_use_on_query_computation = true _px_scalable_invdist_mcol = true _optimizer_bushy_join = off _optimizer_bushy_fact_dim_ratio = 20 _optimizer_bushy_fact_min_size = 100000 _optimizer_bushy_cost_factor = 100 _rmt_for_table_redef_enabled = true _optimizer_eliminate_subquery = true _sqlexec_cache_aware_hash_join_enabled = true _zonemap_usage_tracking = true _sqlexec_hash_based_distagg_enabled = false _sqlexec_disable_hash_based_distagg_tiv = false _sqlexec_hash_based_distagg_ssf_enabled = true _sqlexec_distagg_optimization_settings = 0 approx_for_aggregation = false approx_for_count_distinct = false _optimizer_union_all_gsets = true _rowsets_use_encoding = true _rowsets_max_enc_rows = 64 _optimizer_enhanced_join_elimination = true _optimizer_multicol_join_elimination = true _key_vector_create_pushdown_threshold = 20000 _optimizer_enable_plsql_stats = true _recursive_with_parallel = true _recursive_with_branch_iterations = 7 _px_dist_agg_partial_rollup_pushdown = adaptive _px_adaptive_dist_bypass_enabled = true _enable_view_pdb = true _optimizer_key_vector_pruning_enabled = true _pwise_distinct_enabled = true _recursive_with_using_temp_table = false _partition_read_only = true _sql_alias_scope = true _cdb_view_no_skip_migrate = false _approx_perc_sampling_err_rate = 2 _sqlexec_encoding_aware_hj_enabled = true rim_node_exist = 0 _enable_containers_subquery = true _force_containers_subquery = false _cell_offload_vector_groupby = true _vector_encoding_mode = manual _ds_xt_split_count = 1 _ds_sampling_method = PROGRESSIVE _optimizer_ads_use_spd_cache = true _optimizer_use_table_scanrate = HADOOP_ONLY _optimizer_use_xt_rowid = true _xt_sampling_scan_granules = on _recursive_with_control = 0 _sqlexec_use_rwo_aware_expr_analysis = true _optimizer_band_join_aware = true _optimizer_vector_base_dim_fact_factor = 200 approx_for_percentile = none _approx_percentile_optimization = 0 _projection_pushdown = true _px_object_sampling = 200 _optimizer_adaptive_plans_continuous = false _optimizer_adaptive_plans_iterative = false _ds_enable_view_sampling = true _optimizer_generate_ptf_implied_preds = true _optimizer_inmemory_use_stored_stats = AUTO _cdb_special_old_xplan = true uniaud_internal_cursor = 0 _kd_dbg_control = 0 _mv_access_compute_fresh_data = on _bloom_filter_ratio = 35 _optimizer_control_shard_qry_processing = 65528 containers_parallel_degree = 65535 sql_from_coordinator = 0 _xt_sampling_scan_granules_min_granules = 1 _in_memory_cdt = LIMITED _in_memory_cdt_maxpx = 4 _px_partition_load_dist_threshold = 64 _px_adaptive_dist_bypass_optimization = 1 _optimizer_interleave_or_expansion = true optimizer_adaptive_plans = true optimizer_adaptive_statistics = false _optimizer_use_feedback_for_join = false _optimizer_ads_for_pq = false _px_join_skewed_values_count = 0 optimizer_ignore_parallel_hints = false parallel_min_degree = 1 _px_nlj_bcast_rr_threshold = 10 _optimizer_gather_stats_on_load_all = false _optimizer_gather_stats_on_load_hist = false _optimizer_allow_all_access_paths = true _key_vector_double_enabled = true _key_vector_timestamp_enabled = true _optimizer_answering_query_using_stats = false _disable_dblink_optim = true _cell_offload_hybrid_processing = true _read_optimized_table_lookup = true _optimizer_key_vector_payload = true _optimizer_vector_fact_payload_ratio = 20 _bloom_pruning_setops_enabled = true _bloom_filter_setops_enabled = true _key_vector_shared_dgk_ht = true _px_pwise_wif_enabled = true _sqlexec_reorder_wif_enabled = true _px_partition_skew_threshold = 80 _sqlexec_pwiseops_with_sqlfuncs_enabled = true _sqlexec_pwiseops_with_binds_enabled = true _px_shared_hash_join = false _px_reuse_server_groups = multi _px_join_skew_null_handling = true _px_join_skew_use_histogram = true _px_join_skew_sampling_time_limit = 50 _px_join_skew_sampling_percent = 0 _cdb_view_no_skip_restricted = false _inmemory_external_table = true _sqlexec_use_kgghash3 = true _cell_offload_vector_groupby_force = false _hcs_enable_pred_push = true parallel_dop_doubled = 0 _optimizer_gather_stats_on_load_index = true _con_map_sql_enforcement = true _uniq_cons_sql_enforcement = true _ref_cons_sql_enforcement = true _is_lock_table_for_split_merge = 0 _cell_offload_vector_groupby_fact_key = true _px_scalable_gby_invdist = true _px_dynamic_granules = true _px_dynamic_granules_adjust = 10 _px_hybrid_partition_execution_enabled = true _px_hybrid_partition_skew_threshold = 10 _optimizer_key_vector_use_max_size = 1048576 _cell_offload_vector_groupby_withnojoin = true _key_vector_join_pushdown_enabled = true _cell_offload_grand_total = true _optimizer_key_vector_payload_dim_aggs = false _optimizer_use_auto_indexes = AUTO _optimizer_use_stats_on_conventional_dml = true _optimizer_gather_stats_on_conventional_dml = true _optimizer_use_stats_on_conventional_config = 0 _skip_pset_col_chk = 0 _nls_binary = false _optimizer_quarantine_sql = true _optimizer_gather_stats_on_conventional_config = 0 _nls_forced_binary = 0 _utl32k_mv_query = false _optimizer_auto_index_allow = AUTO 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 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 8335178 = 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 8619631 = disabled fix 8672915 = enabled fix 8514561 = enabled fix 8213977 = enabled fix 8560951 = disabled fix 8578587 = enabled fix 8287870 = enabled fix 8467123 = enabled fix 8602185 = enabled fix 8519457 = enabled fix 3335182 = enabled fix 8602840 = enabled fix 8725296 = enabled fix 8628970 = enabled fix 6754080 = enabled fix 8767442 = enabled fix 8760135 = enabled fix 8644935 = enabled fix 8352378 = enabled fix 8685327 = enabled fix 8763472 = enabled fix 8773324 = enabled fix 8813674 = enabled fix 8532236 = enabled fix 8629716 = enabled fix 7277732 = enabled fix 8692170 = enabled fix 8900973 = enabled fix 8919133 = enabled fix 8927050 = enabled fix 8551880 = enabled fix 8901237 = enabled fix 8812372 = enabled fix 6236862 = enabled fix 8528517 = enabled fix 7215982 = enabled fix 8214022 = enabled fix 8595392 = enabled fix 8890233 = enabled fix 8999317 = enabled fix 9004800 = enabled fix 8986163 = enabled fix 8855396 = enabled fix 8800514 = 20 fix 9007859 = enabled fix 8198783 = disabled fix 9053879 = enabled fix 6086930 = enabled fix 7641601 = enabled fix 9052506 = enabled fix 9103775 = enabled fix 9047975 = enabled fix 8893626 = enabled fix 9111170 = enabled fix 8971829 = enabled fix 7628358 = enabled fix 9125151 = enabled fix 9039715 = enabled fix 9106224 = enabled fix 9185228 = enabled fix 9206747 = enabled fix 9088510 = enabled fix 9143856 = enabled fix 8833381 = enabled fix 8949971 = enabled fix 8951812 = enabled fix 9148171 = enabled fix 8706652 = enabled fix 9245114 = enabled fix 8802198 = enabled fix 9011016 = enabled fix 9265681 = enabled fix 7284269 = enabled fix 9272549 = enabled fix 8917507 = 7 fix 8531463 = enabled fix 9263333 = enabled fix 8675087 = enabled fix 8896955 = enabled fix 9041934 = enabled fix 9344709 = enabled fix 9024933 = enabled fix 9033718 = enabled fix 9240455 = enabled fix 9081848 = enabled fix 5982893 = enabled fix 9287401 = enabled fix 8590021 = enabled fix 9340120 = enabled fix 9355794 = enabled fix 9356656 = enabled fix 9385634 = enabled fix 9069046 = enabled fix 9239337 = enabled fix 9300228 = enabled fix 9298010 = enabled fix 9384170 = enabled fix 9407929 = enabled fix 8836806 = enabled fix 9344055 = enabled fix 9274675 = enabled fix 9203723 = enabled fix 9443476 = enabled fix 9195582 = enabled fix 8226666 = enabled fix 9433490 = enabled fix 9065494 = enabled fix 9303766 = enabled fix 9437283 = enabled fix 9116214 = enabled fix 9456688 = enabled fix 9456746 = disabled fix 9342979 = enabled fix 9465425 = enabled fix 9092442 = enabled fix 4926618 = enabled fix 8792846 = enabled fix 9474259 = enabled fix 9495669 = disabled fix 6472966 = enabled fix 6408301 = enabled fix 9380298 = disabled fix 8500130 = enabled fix 9584723 = enabled fix 9270951 = enabled fix 9508254 = enabled fix 9593680 = enabled fix 9196440 = disabled fix 9309281 = enabled fix 8693158 = enabled fix 9381638 = enabled fix 9383967 = enabled fix 7711900 = enabled fix 9218587 = enabled fix 9728438 = enabled fix 9038395 = enabled fix 9577300 = enabled fix 9171113 = enabled fix 8973745 = enabled fix 9732434 = enabled fix 8937971 = disabled fix 9102474 = enabled fix 9243499 = enabled fix 9791810 = enabled fix 9785632 = enabled fix 9898249 = enabled fix 9153459 = enabled fix 9680430 = enabled fix 9841679 = enabled fix 9912503 = enabled fix 9850461 = enabled fix 9762592 = 3 fix 9716877 = enabled fix 9814067 = enabled fix 9776736 = enabled fix 8349119 = enabled fix 9958518 = enabled fix 10041074 = enabled fix 10004943 = enabled fix 9980661 = enabled fix 9554026 = enabled fix 9593547 = enabled fix 9833381 = enabled fix 10043801 = enabled fix 9940732 = enabled fix 9702850 = enabled fix 9659125 = 0 fix 9668086 = enabled fix 9476520 = enabled fix 10158107 = enabled fix 10148457 = enabled fix 10106423 = enabled fix 9721439 = disabled fix 10162430 = enabled fix 10134677 = enabled fix 10182051 = 3 fix 10175079 = enabled fix 10026972 = enabled fix 10192889 = enabled fix 3566843 = enabled fix 9550277 = disabled fix 10236566 = enabled fix 10227392 = enabled fix 8961143 = enabled fix 9721228 = enabled fix 10080014 = enabled fix 10101489 = enabled fix 9929609 = enabled fix 10015652 = enabled fix 9918661 = enabled fix 10333395 = enabled fix 10336499 = disabled fix 10182672 = enabled fix 9578670 = enabled fix 10232225 = enabled fix 10330090 = enabled fix 10232623 = enabled fix 9630092 = disabled fix 10271790 = enabled fix 9227576 = enabled fix 10197666 = enabled fix 10376744 = enabled fix 8274946 = enabled fix 10046368 = enabled fix 9569678 = enabled fix 9002661 = enabled fix 10038373 = enabled fix 9477688 = enabled fix 10013899 = enabled fix 9832338 = enabled fix 10623119 = enabled fix 9898066 = enabled fix 11699884 = enabled fix 10640430 = enabled fix 10428450 = enabled fix 10117760 = enabled fix 11720178 = enabled fix 9881812 = enabled fix 10428278 = enabled fix 11741436 = enabled fix 11668189 = enabled fix 10359631 = enabled fix 9829887 = enabled fix 8275054 = enabled fix 11814428 = enabled fix 11676888 = disabled fix 10348427 = enabled fix 11843512 = enabled fix 11657468 = enabled fix 11877160 = enabled fix 11738631 = enabled fix 11744086 = enabled fix 11830663 = enabled fix 11853331 = enabled fix 9748015 = enabled fix 11834739 = enabled fix 6055658 = enabled fix 11740670 = enabled fix 11940126 = enabled fix 12315002 = enabled fix 8275023 = enabled fix 12352373 = enabled fix 12390139 = enabled fix 11935589 = enabled fix 10226906 = enabled fix 12327548 = enabled fix 12388221 = enabled fix 11892888 = enabled fix 11814265 = enabled fix 10230017 = enabled fix 12341619 = enabled fix 11744016 = enabled fix 10216738 = enabled fix 10298302 = enabled fix 12563419 = enabled fix 12399886 = enabled fix 12584007 = enabled fix 11881047 = enabled fix 12534597 = enabled fix 8683604 = enabled fix 12410972 = enabled fix 7147087 = enabled fix 11846314 = enabled fix 12535474 = enabled fix 12561635 = enabled fix 12432426 = enabled fix 9913117 = enabled fix 12432089 = enabled fix 12587690 = enabled fix 11858963 = enabled fix 12569245 = enabled fix 12569300 = enabled fix 7308975 = disabled fix 12569316 = enabled fix 12569321 = enabled fix 12335617 = enabled fix 9002958 = enabled fix 12591120 = enabled fix 11876260 = enabled fix 12313574 = enabled fix 12569713 = enabled fix 12348584 = enabled fix 10420220 = enabled fix 12559453 = enabled fix 12727549 = enabled fix 12728203 = enabled fix 12828479 = enabled fix 10181153 = enabled fix 9971371 = disabled fix 12864791 = enabled fix 12810427 = enabled fix 12605402 = enabled fix 12861609 = enabled fix 12915337 = enabled fix 12942119 = enabled fix 12622441 = enabled fix 11072246 = enabled fix 12739252 = enabled fix 12953765 = enabled fix 12905116 = enabled fix 12978495 = enabled fix 9633142 = disabled fix 3639130 = enabled fix 12827166 = enabled fix 12944193 = enabled fix 13020272 = enabled fix 12673320 = enabled fix 12975771 = enabled fix 12882092 = enabled fix 12379334 = enabled fix 12723414 = enabled fix 9488694 = disabled fix 13255388 = 10 fix 11727871 = enabled fix 13110511 = enabled fix 13075297 = enabled fix 13345888 = enabled fix 11657903 = disabled fix 13396096 = enabled fix 12591379 = enabled fix 13398214 = enabled fix 13382280 = enabled fix 12869367 = enabled fix 12999577 = enabled fix 12433153 = enabled fix 9094254 = enabled fix 13104618 = enabled fix 13524237 = enabled fix 11813257 = enabled fix 13489017 = enabled fix 12954320 = enabled fix 13555551 = enabled fix 13499154 = enabled fix 13036910 = enabled fix 13545925 = enabled fix 13545956 = enabled fix 13545989 = enabled fix 12839247 = enabled fix 9858777 = enabled fix 13568366 = enabled fix 13393357 = enabled fix 13040171 = enabled fix 13406619 = enabled fix 13594757 = enabled fix 13543207 = enabled fix 13594712 = enabled fix 12648629 = enabled fix 13549808 = enabled fix 13634700 = enabled fix 8792821 = enabled fix 13454409 = enabled fix 13146487 = enabled fix 13592248 = enabled fix 11689541 = enabled fix 13527374 = enabled fix 13430622 = enabled fix 13704562 = enabled fix 9547706 = enabled fix 13497184 = enabled fix 13704977 = enabled fix 13734456 = enabled fix 13070532 = enabled fix 6520878 = enabled fix 2273284 = enabled fix 13786127 = enabled fix 13065064 = enabled fix 13972896 = enabled fix 11843466 = enabled fix 13777823 = enabled fix 13616573 = enabled fix 13831671 = enabled fix 13652216 = enabled fix 13912192 = enabled fix 13909909 = enabled fix 13849486 = enabled fix 13321547 = enabled fix 13886606 = disabled fix 14013502 = enabled fix 13850256 = enabled fix 13929275 = enabled fix 11732303 = enabled fix 13906168 = enabled fix 14055128 = enabled fix 12856200 = enabled fix 14008590 = enabled fix 13627489 = disabled fix 13961105 = enabled fix 13583722 = enabled fix 13076238 = enabled fix 13936229 = enabled fix 9852856 = enabled fix 3904125 = enabled fix 5910187 = enabled fix 10068316 = enabled fix 14029891 = enabled fix 4215125 = enabled fix 13711083 = enabled fix 13973691 = enabled fix 13486825 = enabled fix 13682550 = enabled fix 13826669 = enabled fix 14033181 = enabled fix 13836796 = enabled fix 12555499 = enabled fix 13568506 = enabled fix 9891396 = enabled fix 13699643 = enabled fix 13835788 = enabled fix 7271518 = enabled fix 14127824 = enabled fix 12557401 = enabled fix 13350470 = enabled fix 14095362 = enabled fix 13000118 = enabled fix 14254795 = enabled fix 14012261 = enabled fix 14241953 = enabled fix 14221012 = enabled fix 13329748 = enabled fix 13843964 = enabled fix 14254052 = enabled fix 13814866 = enabled fix 14255600 = disabled fix 13735304 = enabled fix 14142884 = disabled fix 12909121 = enabled fix 14464068 = enabled fix 14295250 = 45000 fix 6873091 = enabled fix 13448445 = enabled fix 14155722 = enabled fix 14098180 = enabled fix 11905801 = enabled fix 14467202 = enabled fix 14541122 = enabled fix 13905599 = disabled fix 14320077 = enabled fix 14243782 = enabled fix 9114915 = enabled fix 14516175 = enabled fix 12812697 = enabled fix 13109345 = enabled fix 14456124 = enabled fix 14605040 = enabled fix 14595273 = disabled fix 14176247 = enabled fix 11894476 = enabled fix 14256885 = enabled fix 14545269 = disabled fix 14668404 = disabled fix 14144611 = enabled fix 14346182 = enabled fix 13083139 = enabled fix 14726188 = enabled fix 14707009 = enabled fix 14703133 = enabled fix 14618560 = enabled fix 14170552 = enabled fix 13263174 = enabled fix 14669785 = enabled fix 14633570 = enabled fix 14755138 = enabled fix 14682092 = enabled fix 14712222 = enabled fix 14570575 = enabled fix 14707748 = disabled fix 14684079 = enabled fix 13245379 = enabled fix 13853916 = enabled fix 13699007 = enabled fix 14843189 = enabled fix 14147762 = enabled fix 14795969 = enabled fix 14746036 = 1 fix 14750501 = enabled fix 13891981 = enabled fix 15996520 = enabled fix 16026776 = enabled fix 13573073 = enabled fix 13263455 = enabled fix 16053273 = enabled fix 16029607 = enabled fix 14242833 = enabled fix 13362020 = enabled fix 13799389 = enabled fix 12693573 = enabled fix 15998585 = enabled fix 16166364 = enabled fix 14723910 = enabled fix 15873008 = enabled fix 14133928 = enabled fix 16085999 = enabled fix 14176203 = enabled fix 16226575 = enabled fix 16015637 = enabled fix 15968693 = disabled fix 16220895 = enabled fix 16178821 = enabled fix 11865196 = enabled fix 16237969 = enabled fix 16058481 = enabled fix 13361493 = enabled fix 16264537 = enabled fix 14401107 = enabled fix 13943459 = enabled fix 13994546 = enabled fix 7174435 = enabled fix 14750443 = enabled fix 14469756 = enabled fix 14552075 = enabled fix 16324844 = enabled fix 13583529 = enabled fix 14565911 = enabled fix 13526551 = enabled fix 16368002 = enabled fix 16077770 = enabled fix 16419357 = enabled fix 15889476 = disabled fix 16273483 = enabled fix 16496848 = disabled fix 14107333 = enabled fix 11814337 = enabled fix 15882436 = enabled fix 14764840 = enabled fix 16226660 = enabled fix 16555865 = enabled fix 16625151 = enabled fix 16092378 = enabled fix 16487030 = enabled fix 9552303 = enabled fix 16609749 = enabled fix 16751246 = enabled fix 13253977 = enabled fix 14058291 = disabled fix 16749025 = enabled fix 16750067 = enabled fix 16726844 = enabled fix 15899648 = enabled fix 16690013 = enabled fix 15996156 = enabled fix 16544878 = enabled fix 9413591 = disabled fix 16792882 = 0 fix 16725982 = enabled fix 14648222 = enabled fix 16799181 = enabled fix 16516883 = enabled fix 16507317 = enabled fix 16837274 = enabled fix 14085520 = enabled fix 16713081 = enabled fix 14703295 = enabled fix 16908409 = enabled fix 16212250 = enabled fix 13692395 = disabled fix 17087729 = enabled fix 17088819 = enabled fix 13848786 = enabled fix 13522189 = enabled fix 16400122 = enabled fix 16796185 = enabled fix 15950252 = enabled fix 17070464 = enabled fix 16976121 = enabled fix 14580303 = enabled fix 16554552 = enabled fix 16582322 = enabled fix 16712213 = enabled fix 17382690 = enabled fix 14846352 = enabled fix 16516751 = enabled fix 3174223 = enabled fix 8611462 = enabled fix 14851437 = 3 fix 17348895 = enabled fix 16515789 = enabled fix 5451645 = disabled fix 14062749 = enabled fix 16346018 = enabled fix 12977599 = enabled fix 14191778 = enabled fix 15939321 = enabled fix 16874299 = enabled fix 16470836 = enabled fix 16805362 = disabled fix 17442009 = disabled fix 16825679 = enabled fix 17543180 = enabled fix 17301564 = enabled fix 12373708 = enabled fix 17397506 = enabled fix 14558315 = enabled fix 16615686 = enabled fix 16622801 = enabled fix 10038517 = enabled fix 16954950 = enabled fix 17728161 = enabled fix 17760375 = enabled fix 14311185 = enabled fix 13077335 = disabled fix 13458979 = disabled fix 17485514 = enabled fix 17599514 = enabled fix 17640863 = enabled fix 17716301 = enabled fix 17368047 = disabled fix 17597748 = enabled fix 17303359 = enabled fix 17376322 = disabled fix 16391176 = disabled fix 16673868 = enabled fix 17800514 = enabled fix 14826303 = enabled fix 17663076 = enabled fix 17760755 = enabled fix 17793460 = enabled fix 17997159 = enabled fix 17938754 = enabled fix 14733442 = enabled fix 17727676 = enabled fix 17781659 = enabled fix 17526569 = enabled fix 17950612 = enabled fix 17760686 = enabled fix 17696414 = enabled fix 17799716 = enabled fix 18116777 = enabled fix 18159664 = disabled fix 16052625 = enabled fix 18091750 = enabled fix 17572606 = enabled fix 17971955 = enabled fix 17946915 = enabled fix 18196576 = enabled fix 10145667 = enabled fix 17736165 = enabled fix 16434021 = enabled fix 18035463 = enabled fix 18011820 = enabled fix 16405740 = enabled fix 14612201 = enabled fix 17491018 = enabled fix 18365267 = enabled fix 17986549 = enabled fix 18115594 = enabled fix 18182018 = enabled fix 18302923 = enabled fix 18377553 = enabled fix 5677419 = enabled fix 17896018 = disabled fix 13097308 = enabled fix 17863980 = enabled fix 17567154 = enabled fix 18398980 = enabled fix 17023040 = enabled fix 17991403 = 1 fix 16033838 = enabled fix 17908541 = enabled fix 18134680 = enabled fix 18405517 = 0 fix 18304693 = enabled fix 18456944 = enabled fix 18467455 = enabled fix 18425876 = enabled fix 18508675 = enabled fix 17473046 = disabled fix 18636079 = enabled fix 18388128 = enabled fix 18415557 = enabled fix 18385778 = enabled fix 18308329 = enabled fix 18461984 = enabled fix 17973658 = enabled fix 18558952 = enabled fix 9912950 = enabled fix 18751128 = enabled fix 16809786 = enabled fix 18795224 = enabled fix 14776289 = enabled fix 18823135 = enabled fix 18874242 = enabled fix 18770199 = disabled fix 4185270 = disabled fix 18765574 = enabled fix 18754357 = disabled fix 18959892 = enabled fix 17324379 = disabled fix 18952882 = enabled fix 18924221 = enabled fix 18422714 = enabled fix 18798414 = enabled fix 18969167 = enabled fix 16191689 = enabled fix 18907562 = enabled fix 19055664 = enabled fix 18898582 = enabled fix 18960760 = enabled fix 19070454 = enabled fix 19230097 = enabled fix 19063497 = enabled fix 19046459 = enabled fix 19269482 = enabled fix 18876528 = enabled fix 19227996 = enabled fix 18864613 = enabled fix 19239478 = enabled fix 19451895 = enabled fix 19450139 = enabled fix 18907390 = enabled fix 19025959 = enabled fix 19309574 = enabled fix 16774698 = enabled fix 16923858 = 6 fix 19546825 = enabled fix 19475484 = enabled fix 19498595 = enabled fix 16934526 = enabled fix 19287919 = enabled fix 19386746 = enabled fix 19774486 = enabled fix 19803410 = enabled fix 18671960 = enabled fix 19484911 = enabled fix 19731940 = enabled fix 19604408 = enabled fix 14402409 = enabled fix 16486095 = enabled fix 19563657 = enabled fix 19632232 = enabled fix 19889960 = enabled fix 17208933 = enabled fix 19710102 = enabled fix 18697515 = enabled fix 18318631 = enabled fix 19377983 = enabled fix 20078639 = enabled fix 19503668 = enabled fix 20124288 = enabled fix 19847091 = enabled fix 12989345 = enabled fix 12618642 = enabled fix 19779920 = enabled fix 20186282 = enabled fix 20186295 = enabled fix 19563433 = enabled fix 19848804 = enabled fix 20046257 = enabled fix 20265690 = enabled fix 16047938 = enabled fix 19507904 = enabled fix 18915345 = enabled fix 20173686 = disabled fix 20329321 = enabled fix 20225191 = enabled fix 18776755 = enabled fix 19882842 = enabled fix 20010996 = enabled fix 20445764 = disabled fix 19728543 = disabled fix 20379571 = enabled fix 20129763 = enabled fix 19899588 = enabled fix 10098852 = enabled fix 19663421 = disabled fix 20355502 = 0 fix 20526705 = enabled fix 20465582 = enabled fix 20581886 = disabled fix 16732417 = enabled fix 20732410 = enabled fix 20289688 = enabled fix 20543684 = enabled fix 20636003 = enabled fix 20506136 = enabled fix 20458598 = disabled fix 20830312 = enabled fix 19768896 = enabled fix 20321661 = enabled fix 19814541 = enabled fix 20933264 = enabled fix 17443547 = enabled fix 20602794 = enabled fix 19123152 = enabled fix 19899833 = enabled fix 20754928 = enabled fix 20808265 = enabled fix 20808192 = enabled fix 20340595 = enabled fix 14474264 = disabled fix 20508819 = enabled fix 21098866 = disabled fix 18949550 = enabled fix 14775297 = enabled fix 19568958 = disabled fix 20923950 = enabled fix 21283159 = enabled fix 17497847 = enabled fix 21211629 = enabled fix 20819668 = disabled fix 20232513 = enabled fix 20906782 = enabled fix 20587527 = enabled fix 20914534 = disabled fix 20830544 = enabled fix 16851194 = enabled fix 19186783 = enabled fix 19653920 = enabled fix 21211786 = enabled fix 21057343 = enabled fix 21503478 = enabled fix 19808939 = disabled fix 21476032 = enabled fix 20859246 = enabled fix 20838633 = 2 fix 21639419 = enabled fix 20951803 = enabled fix 21683982 = enabled fix 20216500 = enabled fix 21614112 = enabled fix 20906162 = enabled fix 20854798 = enabled fix 21509656 = enabled fix 21833220 = enabled fix 21802552 = enabled fix 21452843 = enabled fix 21553593 = enabled fix 21093805 = enabled fix 16220085 = disabled fix 21800590 = enabled fix 21273039 = enabled fix 16750133 = enabled fix 22013607 = enabled fix 22152372 = enabled fix 22077191 = enabled fix 22123025 = enabled fix 16913734 = enabled fix 8357294 = enabled fix 12670904 = enabled fix 21979983 = enabled fix 22158526 = enabled fix 21971099 = enabled fix 22090662 = enabled fix 22149010 = disabled fix 21300129 = enabled fix 21339278 = enabled fix 20270511 = enabled fix 21424812 = enabled fix 22114090 = enabled fix 22310074 = disabled fix 22159570 = enabled fix 22272439 = enabled fix 22372694 = enabled fix 22514195 = enabled fix 20413540 = enabled fix 22520315 = enabled fix 22649054 = enabled fix 8617254 = enabled fix 22020067 = enabled fix 22864730 = enabled fix 21099502 = enabled fix 22904304 = enabled fix 22967807 = enabled fix 22879002 = enabled fix 23019286 = enabled fix 22760704 = enabled fix 20853506 = enabled fix 22540411 = disabled fix 22513493 = enabled fix 22518491 = enabled fix 23103096 = enabled fix 22143411 = enabled fix 23180670 = enabled fix 23002609 = enabled fix 22928015 = 1 fix 23210039 = enabled fix 23102649 = enabled fix 23071621 = enabled fix 22822245 = enabled fix 23136865 = enabled fix 23176721 = enabled fix 23308385 = enabled fix 23223113 = enabled fix 22301868 = disabled fix 22258300 = enabled fix 22205301 = enabled fix 23514473 = 1 fix 23556483 = enabled fix 21305617 = enabled fix 22533539 = enabled fix 23596611 = enabled fix 20347374 = disabled fix 22937293 = enabled fix 20107874 = enabled fix 19582337 = enabled fix 22746853 = enabled fix 23537232 = enabled fix 23565188 = enabled fix 20228468 = enabled fix 22393169 = enabled fix 24426912 = enabled fix 24690046 = enabled fix 23732552 = enabled fix 20648883 = enabled fix 24654471 = enabled fix 23738304 = enabled fix 24010030 = enabled fix 22766607 = enabled fix 24600280 = enabled fix 24845754 = enabled fix 24533235 = enabled fix 22128803 = enabled fix 24926999 = enabled fix 24434608 = enabled fix 25094218 = enabled fix 24819957 = enabled fix 23478835 = enabled fix 24745366 = enabled fix 24920138 = disabled fix 24570810 = enabled fix 25058954 = enabled fix 24518392 = enabled fix 23738186 = enabled fix 25234139 = enabled fix 25108065 = enabled fix 22212124 = enabled fix 25123105 = enabled fix 25078728 = enabled fix 23719498 = 0 fix 25090203 = enabled fix 23197730 = enabled fix 23738553 = enabled fix 22070473 = enabled fix 19956351 = enabled fix 25393617 = enabled fix 21130817 = enabled fix 25342352 = enabled fix 25167306 = disabled fix 23473108 = enabled fix 25501716 = enabled fix 22973474 = enabled fix 22153026 = enabled fix 25367727 = enabled fix 25477783 = enabled fix 25493582 = enabled fix 22205362 = enabled fix 23249829 = enabled fix 25120742 = enabled fix 23853877 = disabled fix 25796244 = enabled fix 25575369 = enabled fix 25643889 = disabled fix 25436615 = enabled fix 25478095 = enabled fix 25405100 = enabled fix 24952618 = enabled fix 25809211 = enabled fix 26094674 = enabled fix 21183079 = enabled fix 25948370 = enabled fix 24545933 = enabled fix 25926263 = enabled fix 26019148 = enabled fix 25995431 = enabled fix 21870589 = enabled fix 24584046 = enabled fix 26374214 = enabled fix 25476149 = enabled fix 25345279 = enabled fix 24478915 = enabled fix 26541991 = enabled fix 26338880 = enabled fix 26270685 = disabled fix 26560136 = enabled fix 26671842 = enabled fix 26712343 = enabled fix 26585420 = enabled fix 26677151 = enabled fix 26367868 = enabled fix 25323193 = enabled fix 26552730 = disabled fix 26177646 = enabled fix 23643560 = enabled fix 25792706 = enabled fix 27057772 = disabled fix 26986173 = enabled fix 26423085 = enabled fix 27077069 = enabled fix 26536320 = enabled fix 25138211 = enabled fix 27321179 = enabled fix 27343844 = enabled fix 26790514 = enabled fix 27282295 = enabled fix 27432718 = enabled fix 27268249 = enabled fix 25507796 = enabled fix 25507810 = enabled fix 25507823 = disabled fix 25507828 = enabled fix 25660695 = enabled fix 27311177 = enabled fix 24841671 = enabled fix 26842212 = enabled fix 27559630 = enabled fix 27436816 = enabled fix 23098284 = enabled fix 26660568 = enabled fix 27693205 = enabled fix 27096140 = disabled fix 27174324 = enabled fix 27000158 = enabled fix 27208525 = enabled fix 27745220 = enabled fix 26527656 = enabled fix 27675947 = disabled fix 26566785 = enabled fix 27175987 = enabled fix 8932139 = enabled fix 18816560 = enabled fix 27466597 = enabled fix 27210659 = enabled fix 27643128 = enabled fix 27782339 = enabled fix 24761824 = enabled fix 27634227 = enabled fix 26733841 = enabled fix 27971253 = enabled fix 22174392 = enabled fix 27730925 = enabled fix 22559379 = enabled fix 27622097 = enabled fix 20424684 = enabled fix 27593424 = enabled fix 28096482 = enabled fix 24573561 = enabled fix 22582700 = enabled fix 28201419 = enabled fix 26836964 = disabled fix 27991474 = enabled fix 28210382 = enabled fix 27500916 = enabled fix 28012754 = 7 fix 28071742 = enabled fix 27836278 = enabled fix 28256899 = enabled fix 28345522 = 0 fix 28084251 = enabled fix 23058521 = enabled fix 28242450 = enabled fix 28135957 = enabled fix 27680422 = 1 fix 28378804 = enabled fix 28660798 = enabled fix 28606162 = disabled fix 28816113 = enabled fix 27541468 = enabled fix 28725660 = enabled fix 28072567 = enabled fix 28835937 = enabled Query Block Registry: SEL$5 0x5c598b0 (PARSER) SEL$81719215 0x5c598b0 (VIEW MERGE SEL$5; SEL$EE94F965; SEL$5) [FINAL] SEL$9412CF86 0x10f72208 (INDEX JOIN SEL$81719215) [FINAL] SEL$4 0x5e11330 (PARSER) SEL$EE94F965 0x5e11330 (VIEW MERGE SEL$4; SEL$9E43CB6E; SEL$4) SEL$81719215 0x5c598b0 (VIEW MERGE SEL$5; SEL$EE94F965; SEL$5) [FINAL] ... SEL$3 0x5e12870 (PARSER) SEL$9E43CB6E 0x5e12870 (VIEW MERGE SEL$3; SEL$58A6D7F6; SEL$3) SEL$EE94F965 0x5e11330 (VIEW MERGE SEL$4; SEL$9E43CB6E; SEL$4) ... SEL$2 0x5e14410 (PARSER) SEL$58A6D7F6 0x5e14410 (VIEW MERGE SEL$2; SEL$1; SEL$2) SEL$9E43CB6E 0x5e12870 (VIEW MERGE SEL$3; SEL$58A6D7F6; SEL$3) ... SEL$1 0x5e160d8 (PARSER) SEL$58A6D7F6 0x5e14410 (VIEW MERGE SEL$2; SEL$1; SEL$2) ... : call(in-use=84600, alloc=219896), compile(in-use=473176, alloc=549000), execution(in-use=47704, alloc=48648) End of Optimizer State Dump Dumping Hints ============= ====================== END SQL Statement Dump ======================