Oracle 5.0 Reference Manual page 1273

Table of Contents

Advertisement

Version Introduced
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
uses random numbers to generate dives into indexes for calculating index cardinality.
InnoDB
However, under certain conditions, the algorithm does not generate random numbers, so
sometimes does not update cardinality estimates properly. An alternative
ANALYZE TABLE
algorithm was introduced in MySQL 5.0.82 with better randomization properties, and the
innodb_use_legacy_cardinality_algorithm
use. The default value of the variable is 1 (ON), to use the original algorithm for compatibility with
existing applications. The variable can be set to 0 (OFF) to use the new algorithm with improved
randomness.
[1472]
sync_binlog
Version Introduced
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
If the value of this variable is greater than 0, the MySQL server synchronizes its binary log to disk
(using fdatasync()) after every
to the binary log per statement if autocommit is enabled, and one write per transaction otherwise.
The default value of
is the safest choice, because in the event of a crash you lose at most one statement or transaction
Startup Options and System Variables
InnoDB
5.0.82
--innodb_use_legacy_cardinality_algorithm=#
innodb_use_legacy_cardinality_algorithm
Yes,
innodb_use_legacy_cardinality_algorithm
innodb_use_legacy_cardinality_algorithm
Global
Yes
Permitted Values
Type
boolean
Default
ON
5.0.1
--sync-binlog=#
sync_binlog
Yes,
sync_binlog
sync_binlog
Global
Yes
Permitted Values
Platform
32
Bit Size
Type
numeric
Default
0
Range
0 .. 4294967295
Permitted Values
Platform
64
Bit Size
Type
numeric
Default
0
Range
0 .. 18446744073709547520
sync_binlog
[1472]
sync_binlog
1253
[1252], system variable which algorithm to
[1472]
[1472]
writes to the binary log. There is one write
is 0, which does no synchronizing to disk. A value of 1
[1252]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents