mariadb/storage/tokudb
Monty eb483c5181 Updated optimizer costs in multi_range_read_info_const() and sql_select.cc
- multi_range_read_info_const now uses the new records_in_range interface
- Added handler::avg_io_cost()
- Don't calculate avg_io_cost() in get_sweep_read_cost if avg_io_cost is
  not 1.0.  In this case we trust the avg_io_cost() from the handler.
- Changed test_quick_select to use TIME_FOR_COMPARE instead of
  TIME_FOR_COMPARE_IDX to align this with the rest of the code.
- Fixed bug when using test_if_cheaper_ordering where we didn't use
  keyread if index was changed
- Fixed a bug where we didn't use index only read when using order-by-index
- Added keyread_time() to HEAP.
  The default keyread_time() was optimized for blocks and not suitable for
  HEAP. The effect was the HEAP prefered table scans over ranges for btree
  indexes.
- Fixed get_sweep_read_cost() for HEAP tables
- Ensure that range and ref have same cost for simple ranges
  Added a small cost (MULTI_RANGE_READ_SETUP_COST) to ranges to ensure
  we favior ref for range for simple queries.
- Fixed that matching_candidates_in_table() uses same number of records
  as the rest of the optimizer
- Added avg_io_cost() to JT_EQ_REF cost. This helps calculate the cost for
  HEAP and temporary tables better. A few tests changed because of this.
- heap::read_time() and heap::keyread_time() adjusted to not add +1.
  This was to ensure that handler::keyread_time() doesn't give
  higher cost for heap tables than for normal tables. One effect of
  this is that heap and derived tables stored in heap will prefer
  key access as this is now regarded as cheap.
- Changed cost for index read in sql_select.cc to match
  multi_range_read_info_const(). All index cost calculation is now
  done trough one function.
- 'ref' will now use quick_cost for keys if it exists. This is done
  so that for '=' ranges, 'ref' is prefered over 'range'.
- scan_time() now takes avg_io_costs() into account
- get_delayed_table_estimates() uses block_size and avg_io_cost()
- Removed default argument to test_if_order_by_key(); simplifies code
2020-03-27 03:58:32 +02:00
..
doc
man Merge branch '10.4' into 10.5 2020-02-12 08:55:17 +01:00
mysql-test Updated optimizer costs in multi_range_read_info_const() and sql_select.cc 2020-03-27 03:58:32 +02:00
PerconaFT Fix various spelling errors 2020-03-16 00:10:50 +02:00
tests 5.6.45-86.1 2019-10-30 11:15:05 +01:00
tools
.clang-format 5.6.43-84.3 2019-04-26 17:02:15 +02:00
CMakeLists.txt Merge branch '10.4' into 10.5 2020-02-12 08:55:17 +01:00
ha_tokudb.cc Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
ha_tokudb.h Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
ha_tokudb_admin.cc Update FSF Address 2019-05-11 21:29:06 +03:00
ha_tokudb_alter_55.cc Update FSF Address 2019-05-11 21:29:06 +03:00
ha_tokudb_alter_56.cc Revert "MDEV-20342 Turn Field::flags from a member to a method" 2019-08-14 20:27:00 +04:00
ha_tokudb_alter_common.cc Update FSF Address 2019-05-11 21:29:06 +03:00
ha_tokudb_mrr_maria.cc Update FSF Address 2019-05-11 21:29:06 +03:00
ha_tokudb_mrr_mysql.cc Update FSF Address 2019-05-11 21:29:06 +03:00
ha_tokudb_update.cc Revert "MDEV-20342 Turn Field::flags from a member to a method" 2019-08-14 20:27:00 +04:00
hatoku_cmp.cc MDEV-21581 Helper functions and methods for CHARSET_INFO 2020-01-28 12:29:23 +04:00
hatoku_cmp.h Update FSF Address 2019-05-11 21:29:06 +03:00
hatoku_defines.h Update FSF Address 2019-05-11 21:29:06 +03:00
hatoku_hton.cc MDEV-17709 Remove handlerton::state 2019-06-06 22:09:31 +04:00
hatoku_hton.h Update FSF Address 2019-05-11 21:29:06 +03:00
tokudb.cnf.in
tokudb.conf.in
tokudb_background.cc 5.6.43-84.3 2019-04-26 17:02:15 +02:00
tokudb_background.h
tokudb_buffer.h 5.6.45-86.1 2019-10-30 11:15:05 +01:00
tokudb_card.h Update FSF Address 2019-05-11 21:29:06 +03:00
tokudb_debug.h
tokudb_dir_cmd.cc Removed kill_delayed_threads_for_table() 2019-11-25 18:49:51 +04:00
tokudb_dir_cmd.h
tokudb_information_schema.cc MDEV-19818 Reuse new I_S table definition helper classes for TokuDB 2019-06-21 06:48:04 +04:00
tokudb_information_schema.h
tokudb_math.h 5.6.45-86.1 2019-10-30 11:15:05 +01:00
tokudb_memory.h
tokudb_status.h 5.6.46-86.2 2020-01-19 14:08:35 +01:00
tokudb_sysvars.cc 5.6.43-84.3 2019-04-26 17:02:15 +02:00
tokudb_sysvars.h 5.6.43-84.3 2019-04-26 17:02:15 +02:00
tokudb_thread.cc
tokudb_thread.h
tokudb_time.h
tokudb_txn.h
tokudb_update_fun.cc Update FSF Address 2019-05-11 21:29:06 +03:00
tokudb_vlq.h Update FSF Address 2019-05-11 21:29:06 +03:00