Current Path : /home/usr.opt/mysql57/mysql-test/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/r/opt_costmodel_warnings.result |
SELECT * FROM mysql.server_cost; cost_name cost_value last_update comment disk_temptable_create_cost NULL # NULL disk_temptable_row_cost NULL # NULL key_compare_cost NULL # NULL memory_temptable_create_cost NULL # NULL memory_temptable_row_cost NULL # NULL row_evaluate_cost NULL # NULL SELECT * FROM mysql.engine_cost; engine_name device_type cost_name cost_value last_update comment default 0 io_block_read_cost NULL # NULL default 0 memory_block_read_cost NULL # NULL RENAME TABLE mysql.engine_cost TO mysql.engine_cost_renamed; "Restarting MySQL server" # restart "MySQL restarted" RENAME TABLE mysql.engine_cost_renamed TO mysql.engine_cost; SELECT * FROM mysql.engine_cost; engine_name device_type cost_name cost_value last_update comment default 0 io_block_read_cost NULL # NULL default 0 memory_block_read_cost NULL # NULL INSERT INTO mysql.server_cost VALUES ("lunch_cost", 1.0, CURRENT_TIMESTAMP, "Lunch is important"); UPDATE mysql.server_cost SET cost_value=-1.0 WHERE cost_name="row_evaluate_cost"; UPDATE mysql.server_cost SET cost_value=0.0 WHERE cost_name="key_compare_cost"; "Restarting MySQL server" # restart "MySQL restarted" DELETE FROM mysql.server_cost WHERE cost_name LIKE "lunch_cost%"; UPDATE mysql.server_cost SET cost_value=NULL WHERE cost_name="row_evaluate_cost"; UPDATE mysql.server_cost SET cost_value=NULL WHERE cost_name="key_compare_cost"; INSERT INTO mysql.engine_cost VALUES ("InnoDB", 0, "lunch_cost", 1.0, CURRENT_TIMESTAMP, "Lunch is important"); UPDATE mysql.engine_cost SET cost_value=0.0 WHERE cost_name="io_block_read_cost"; INSERT INTO mysql.engine_cost VALUES ("Falcon", 0, "io_block_read_cost", 1.0, CURRENT_TIMESTAMP, "Unknown storage engine"); INSERT INTO mysql.engine_cost VALUES ("InnoDB", -1, "io_block_read_cost", 1.0, CURRENT_TIMESTAMP, "1 is an illegal device type"); "Restarting MySQL server" # restart "MySQL restarted" DELETE FROM mysql.engine_cost WHERE cost_name LIKE "lunch_cost%"; UPDATE mysql.engine_cost SET cost_value=NULL; DELETE FROM mysql.engine_cost WHERE device_type = -1; DELETE FROM mysql.engine_cost WHERE engine_name LIKE "Falcon"; SELECT * FROM mysql.server_cost; cost_name cost_value last_update comment disk_temptable_create_cost NULL # NULL disk_temptable_row_cost NULL # NULL key_compare_cost NULL # NULL memory_temptable_create_cost NULL # NULL memory_temptable_row_cost NULL # NULL row_evaluate_cost NULL # NULL SELECT * FROM mysql.engine_cost; engine_name device_type cost_name cost_value last_update comment default 0 io_block_read_cost NULL # NULL default 0 memory_block_read_cost NULL # NULL