Oracle 5.0 Reference Manual page 513

Table of Contents

Advertisement

On Windows, this variable is the name of the named pipe that is used for local client connections.
The default value is
MySQL
sort_buffer_size
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
Each session that needs to do a sort allocates a buffer of this size.
is not specific to any storage engine and applies in a general manner for optimization. See
Section 8.3.1.11,
"ORDER BY
If you see many
Sort_merge_passes
can consider increasing the
operations that cannot be improved with query optimization or improved indexing. The entire
BY
buffer is allocated even if it is not all needed, so setting it larger than required globally will slow
down most queries that sort. It is best to increase it as a session setting, and only for the sessions
that need a larger size. On Linux, there are thresholds of 256KB and 2MB where larger values
may significantly slow down memory allocation, so you should consider staying below one of those
values. Experiment to find the best value for your workload. See
Stores Temporary
Files".
The maximum permissible setting for
sql_auto_is_null
Variable Name
Variable Scope
Dynamic Variable
If this variable is set to 1 (the default), then after a statement that successfully inserts an
automatically generated
the following form:
SELECT * FROM
tbl_name
If the statement returns a row, the value returned is the same as if you invoked the
LAST_INSERT_ID()
insert, see
Section 12.13, "Information
inserted, the
SELECT
The behavior of retrieving an
used by some ODBC programs, such as Access. See
Values". This behavior can be disabled by setting
sql_big_selects
Variable Name
Variable Scope
Dynamic Variable
Server System Variables
(not case sensitive).
[493]
--sort_buffer_size=#
sort_buffer_size
Yes,
sort_buffer_size
sort_buffer_size
Global, Session
Yes
Optimization", for example.
[531]
sort_buffer_size
sort_buffer_size
[493]
sql_auto_is_null
Session
Yes
value, you can find that value by issuing a statement of
AUTO_INCREMENT
WHERE
auto_col
IS NULL
[961]
function. For details, including the return value after a multiple-row
Functions". If no
statement returns no row.
AUTO_INCREMENT
[493]
sql_big_selects
Session
Yes
Permitted Values
493
[493]
sort_buffer_size
per second in
SHOW GLOBAL STATUS
[493]
value to speed up
Section C.5.4.4, "Where MySQL
[493]
is 4GB.
AUTO_INCREMENT
value by using an
IS NULL
Section 20.1.7.1.1, "Obtaining Auto-Increment
sql_auto_is_null
[493]
output, you
or
ORDER BY
GROUP
value was successfully
[877]
comparison is
[493]
to 0.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents