List of new my.cnf variables
I could not find any file/URL with a complete overview of all variables added to my.cnf in the facebook mysql version.
For example, "innodb_
Such a page would be useful with just a few explanations.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
| Revision history for this message | #1 |
Yes, it would be useful. If you start a wiki page by diffing patched mysqld with unpatched mysqld and list all of the variables here then will update some of them. Most of the my.cnf variables that we added have reasonable comments that are a good by the standards of my.cnf variables.
| Revision history for this message | #2 |
Hi,
I can start the page ;)
Which wiki are you talking about by the way ?
Here is the list of vars I found using fgrep and diff :
adaptive_
compression_level
deadlock_detect
flush_neighbors
prepare_
read_ahead_linear
retry_io_on_error
thread_lifo
I will complete them with the prototype and comment already in source code as soon as you show me where to create such a page ;)
| Revision history for this message | #3 |
launchpad doesn't have a wiki (yet)
I will soon publish elsewhere release notes that I have written
On Mon, May 3, 2010 at 8:02 AM, Olivier Doucet
<email address hidden> wrote:
> Question #108751 on MySQLAtFacebook changed:
> https:/
>
> Olivier Doucet gave more information on the question:
> Hi,
> I can start the page ;)
> Which wiki are you talking about by the way ?
>
> Here is the list of vars I found using fgrep and diff :
>
> adaptive_
> compression_level
> deadlock_detect
> flush_neighbors
> prepare_
> read_ahead_linear
> retry_io_on_error
> thread_lifo
>
> I will complete them with the prototype and comment already in source
> code as soon as you show me where to create such a page ;)
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
--
Mark Callaghan
<email address hidden>
| Revision history for this message | #4 |
Fine! Here are already new vars and description extracted from source :
adaptive_
When TRUE allow the InnoDB adaptive hash index latch (rw-lock) be cached across calls to InnoDB functions. This is only done when locked in read mode.
compression_level = INT (0 to 9. default: 6)
Compression level used for compressed row format. 0 is no compression (only for testing), 1 is fastest, 9 is best compression, default is 6.
deadlock_detect = TRUE|FALSE (default: true)
Detect deadlocks when locks are acquired. Without this the row lock wait timeout resolves deadlock.
flush_neighbors
Flush (write) dirty neighbor pages within an extent when a dirty page is to be written during checkpoint. This is enabled by default.
prepare_
Lock the prepare_
read_ahead_linear = TRUE|FALSE (default: true)
Enable use of readahead (prefetch)
retry_io_on_error = TRUE|FALSE (default: false)
Retry on I/O on EIO
thread_lifo = TRUE|FALSE (default: false)
"Enables the LIFO scheduling policy for thread_concurrency in addition to the FIFO scheduling that has always been used.