mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
page0cur.ic Fix a bug in insert buffer and multiversioning
manual.texi Changed innodb_unix_file_flush_method to innodb_flush_method in the manual
This commit is contained in:
parent
b79da88808
commit
624c57e26e
3 changed files with 5 additions and 4 deletions
|
|
@ -1 +1,2 @@
|
|||
monty@hundin.mysql.fi
|
||||
heikki@donna.mysql.fi
|
||||
|
|
|
|||
|
|
@ -25727,7 +25727,7 @@ in its own lock table and rolls back the transaction. If you use
|
|||
than InnoDB in the same transaction, then a deadlock may arise which
|
||||
InnoDB cannot notice. In cases like this the timeout is useful to
|
||||
resolve the situation.
|
||||
@item @code{innodb_unix_file_flush_method} @tab
|
||||
@item @code{innodb_flush_method} @tab
|
||||
(Available from 3.23.39 up.)
|
||||
The default value for this is @code{fdatasync}.
|
||||
Another option is @code{O_DSYNC}.
|
||||
|
|
@ -26338,7 +26338,7 @@ In some versions of Linux and Unix, flushing files to disk with the Unix
|
|||
@code{fdatasync} and other similar methods is surprisingly slow.
|
||||
The default method InnoDB uses is the @code{fdatasync} function.
|
||||
If you are not satisfied with the database write performance, you may
|
||||
try setting @code{innodb_unix_file_flush_method} in @file{my.cnf}
|
||||
try setting @code{innodb_flush_method} in @file{my.cnf}
|
||||
to @code{O_DSYNC}, though O_DSYNC seems to be slower on most systems.
|
||||
You can also try setting it to @code{littlesync}, which means that
|
||||
InnoDB does not call the file flush for every write it does to a
|
||||
|
|
|
|||
|
|
@ -171,10 +171,10 @@ page_cur_search(
|
|||
ut_ad(dtuple_check_typed(tuple));
|
||||
|
||||
page_cur_search_with_match(page, tuple, mode,
|
||||
&low_matched_fields,
|
||||
&low_matched_bytes,
|
||||
&up_matched_fields,
|
||||
&up_matched_bytes,
|
||||
&low_matched_fields,
|
||||
&low_matched_bytes,
|
||||
cursor);
|
||||
return(low_matched_fields);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue