Commit 624c57e2 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

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
parent b79da888
monty@hundin.mysql.fi 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 ...@@ -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 than InnoDB in the same transaction, then a deadlock may arise which
InnoDB cannot notice. In cases like this the timeout is useful to InnoDB cannot notice. In cases like this the timeout is useful to
resolve the situation. resolve the situation.
@item @code{innodb_unix_file_flush_method} @tab @item @code{innodb_flush_method} @tab
(Available from 3.23.39 up.) (Available from 3.23.39 up.)
The default value for this is @code{fdatasync}. The default value for this is @code{fdatasync}.
Another option is @code{O_DSYNC}. Another option is @code{O_DSYNC}.
...@@ -26338,7 +26338,7 @@ In some versions of Linux and Unix, flushing files to disk with the Unix ...@@ -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. @code{fdatasync} and other similar methods is surprisingly slow.
The default method InnoDB uses is the @code{fdatasync} function. The default method InnoDB uses is the @code{fdatasync} function.
If you are not satisfied with the database write performance, you may 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. 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 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 InnoDB does not call the file flush for every write it does to a
...@@ -171,10 +171,10 @@ page_cur_search( ...@@ -171,10 +171,10 @@ page_cur_search(
ut_ad(dtuple_check_typed(tuple)); ut_ad(dtuple_check_typed(tuple));
page_cur_search_with_match(page, tuple, mode, page_cur_search_with_match(page, tuple, mode,
&low_matched_fields,
&low_matched_bytes,
&up_matched_fields, &up_matched_fields,
&up_matched_bytes, &up_matched_bytes,
&low_matched_fields,
&low_matched_bytes,
cursor); cursor);
return(low_matched_fields); return(low_matched_fields);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment