diff options
author | marko@hundin.mysql.fi <> | 2004-09-30 15:54:19 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-09-30 15:54:19 +0300 |
commit | 1bd65d7715a0d425be608f738651b995bd23a7bc (patch) | |
tree | 884195db59cc7fb8d862666885451f450071788d /innobase/srv | |
parent | 9f92688b64b240623f524c6fa5d126a8b297b901 (diff) | |
download | mariadb-git-1bd65d7715a0d425be608f738651b995bd23a7bc.tar.gz |
InnoDB: implement innodb_max_purge_lag
Diffstat (limited to 'innobase/srv')
-rw-r--r-- | innobase/srv/srv0srv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index 9b96d610f28..adffe06ef0a 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -58,6 +58,10 @@ ulint srv_activity_count = 0; /* The following is the maximum allowed duration of a lock wait. */ ulint srv_fatal_semaphore_wait_threshold = 600; +/* How much data manipulation language (DML) statements need to be delayed, +in microseconds, in order to reduce the lagging of the purge thread. */ +ulint srv_dml_needed_delay = 0; + ibool srv_lock_timeout_and_monitor_active = FALSE; ibool srv_error_monitor_active = FALSE; @@ -258,6 +262,8 @@ disable adaptive hash indexes */ ibool srv_use_awe = FALSE; ibool srv_use_adaptive_hash_indexes = TRUE; +/* Maximum allowable purge history length. <=0 means 'infinite'. */ +ulint srv_max_purge_lag = 0; /*-------------------------------------------*/ ulint srv_n_spin_wait_rounds = 20; |