Cost constants for operations done by the server.
More...
#include <opt_costconstants.h>
Cost constants for operations done by the server.
◆ Server_cost_constants()
Server_cost_constants::Server_cost_constants |
( |
| ) |
|
|
inline |
Creates a server cost constants object using the default values defined in this class.
◆ disk_temptable_create_cost()
double Server_cost_constants::disk_temptable_create_cost |
( |
| ) |
const |
|
inline |
Cost for creating an internal temporary table in a disk resident storage engine.
◆ disk_temptable_row_cost()
double Server_cost_constants::disk_temptable_row_cost |
( |
| ) |
const |
|
inline |
Cost for retrieving or storing a row in an internal disk resident temporary table.
◆ key_compare_cost()
double Server_cost_constants::key_compare_cost |
( |
| ) |
const |
|
inline |
Cost for comparing two keys.
◆ memory_temptable_create_cost()
double Server_cost_constants::memory_temptable_create_cost |
( |
| ) |
const |
|
inline |
Cost for creating an internal temporary table in memory.
◆ memory_temptable_row_cost()
double Server_cost_constants::memory_temptable_row_cost |
( |
| ) |
const |
|
inline |
Cost for retrieving or storing a row in an internal temporary table stored in memory.
◆ row_evaluate_cost()
double Server_cost_constants::row_evaluate_cost |
( |
| ) |
const |
|
inline |
Cost for evaluating the query condition on a row.
◆ set()
Set the value of one of the cost constants.
- Parameters
-
name | name of cost constant |
value | new value |
- Returns
- Status for updating the cost constant
◆ DISK_TEMPTABLE_CREATE_COST
const double Server_cost_constants::DISK_TEMPTABLE_CREATE_COST = 20.0 |
|
staticprivate |
Cost for creating a disk temporary table.
◆ DISK_TEMPTABLE_ROW_COST
const double Server_cost_constants::DISK_TEMPTABLE_ROW_COST = 0.5 |
|
staticprivate |
Cost for inserting or reading a row in a disk temporary table.
◆ KEY_COMPARE_COST
const double Server_cost_constants::KEY_COMPARE_COST = 0.05 |
|
staticprivate |
Default cost for comparing row ids.
◆ m_disk_temptable_create_cost
double Server_cost_constants::m_disk_temptable_create_cost |
|
private |
Cost for creating an internal temporary table in a disk resident storage engine.
◆ m_disk_temptable_row_cost
double Server_cost_constants::m_disk_temptable_row_cost |
|
private |
Cost for retrieving or storing a row in an internal disk resident temporary table.
◆ m_key_compare_cost
double Server_cost_constants::m_key_compare_cost |
|
private |
Cost for comparing two keys.
◆ m_memory_temptable_create_cost
double Server_cost_constants::m_memory_temptable_create_cost |
|
private |
Cost for creating an internal temporary table in memory.
◆ m_memory_temptable_row_cost
double Server_cost_constants::m_memory_temptable_row_cost |
|
private |
Cost for retrieving or storing a row in an internal temporary table stored in memory.
◆ m_row_evaluate_cost
double Server_cost_constants::m_row_evaluate_cost |
|
private |
Cost for evaluating the query condition on a row.
◆ MEMORY_TEMPTABLE_CREATE_COST
const double Server_cost_constants::MEMORY_TEMPTABLE_CREATE_COST = 1.0 |
|
staticprivate |
Cost for creating a memory temporary table.
◆ MEMORY_TEMPTABLE_ROW_COST
const double Server_cost_constants::MEMORY_TEMPTABLE_ROW_COST = 0.1 |
|
staticprivate |
Cost for inserting or reading a row in a memory temporary table.
◆ ROW_EVALUATE_COST
const double Server_cost_constants::ROW_EVALUATE_COST = 0.1 |
|
staticprivate |
Default cost for evaluation of the query condition for a row.
The documentation for this class was generated from the following files: