diff options
author | gbichot@quadita2.mysql.com <> | 2005-04-15 18:00:38 +0200 |
---|---|---|
committer | gbichot@quadita2.mysql.com <> | 2005-04-15 18:00:38 +0200 |
commit | bc48cda57d4117c2cc0696318e840a514fdcc1e5 (patch) | |
tree | 0cb2a277f0c3cbfc9d0767d8b8fd920ce539bf8d /sql/ha_innodb.h | |
parent | 303af4052ea7d16d0ff10983fed7180cba77029d (diff) | |
download | mariadb-git-bc48cda57d4117c2cc0696318e840a514fdcc1e5.tar.gz |
Adding --innodb_fast_shutdown=2 which shuts down InnoDB faster than the default "1":
most InnoDB threads are not terminated properly and the buffer pool is not flushed
to disk. Still no committed transaction is lost as we flush the logs to disk.
InnoDB does crash recovery at startup after this shutdown.
Using this shutdown in testsuite (mysql-test-run --mysqld=--innodb_fast_shutdown=2) saved 3 minutes (13% of total time).
Diffstat (limited to 'sql/ha_innodb.h')
-rw-r--r-- | sql/ha_innodb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_innodb.h b/sql/ha_innodb.h index ff3014ece1e..35f95ead757 100644 --- a/sql/ha_innodb.h +++ b/sql/ha_innodb.h @@ -210,7 +210,7 @@ class ha_innobase: public handler extern struct show_var_st innodb_status_variables[]; extern uint innobase_init_flags, innobase_lock_type; extern uint innobase_flush_log_at_trx_commit; -extern ulong innobase_cache_size; +extern ulong innobase_cache_size, innobase_fast_shutdown; extern ulong innobase_large_page_size; extern char *innobase_home, *innobase_tmpdir, *innobase_logdir; extern long innobase_lock_scan_time; @@ -229,7 +229,7 @@ extern my_bool innobase_log_archive, innobase_use_doublewrite, innobase_use_checksums, innobase_use_large_pages, - innobase_use_native_aio, innobase_fast_shutdown, + innobase_use_native_aio, innobase_file_per_table, innobase_locks_unsafe_for_binlog, innobase_create_status_file; extern my_bool innobase_very_fast_shutdown; /* set this to 1 just before |