InnoDB
Startup Options and System Variables
1250
Option-File Format
innodb_rollback_on_timeout
Option Sets Variable
Yes,
innodb_rollback_on_timeout
[1249]
Variable Name
innodb_rollback_on_timeout
Variable Scope
Global
Dynamic Variable
No
Permitted Values
Type
boolean
Default
OFF
In MySQL 5.0.13 and up,
InnoDB
rolls back only the last statement on a transaction timeout by
default. If
--innodb_rollback_on_timeout
[1249]
is specified, a transaction timeout causes
InnoDB
to abort and roll back the entire transaction (the same behavior as before MySQL 5.0.13).
This variable was added in MySQL 5.0.32.
•
innodb-safe-binlog
Version Removed
5.0.3
Version Deprecated
5.0.3
Command-Line Format
--innodb-safe-binlog
Option-File Format
innodb-safe-binlog
Deprecated
5.0.3
Permitted Values
Type
boolean
If this option is given, then after a crash recovery by
InnoDB
,
mysqld
truncates the binary log after
the last not-rolled-back transaction in the log. The option also causes
InnoDB
to print an error if the
binary log is smaller or shorter than it should be. See
Section 5.2.3, “The Binary Log”
. This variable
was removed in MySQL 5.0.3, having been made obsolete by the introduction of XA transaction
support. You should set
innodb_support_xa
[1250]
to
ON
or 1 to ensure consistency. See
innodb_support_xa [1250]
.
•
innodb_support_xa
Version Introduced
5.0.3
Command-Line Format
--innodb_support_xa
Option-File Format
innodb_support_xa
Option Sets Variable
Yes,
innodb_support_xa
[1250]
Variable Name
innodb_support_xa
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
boolean
Default
TRUE
Enables
InnoDB
support for two-phase commit in XA transactions, causing an extra disk flush for
transaction preparation. This setting is the default. The XA mechanism is used internally and is
essential for any server that has its binary log turned on and is accepting changes to its data from
more than one thread. If you turn it off, transactions can be written to the binary log in a different
order from the one in which the live database is committing them. This can produce different data
when the binary log is replayed in disaster recovery or on a replication slave. Do not turn it off on a
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...