Per Session innodb_flush_log_at_trx_commit poorly documented
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Medium
|
Borys Belinsky | |||
5.5 |
Triaged
|
Medium
|
Borys Belinsky | |||
5.6 |
Triaged
|
Medium
|
Borys Belinsky | |||
5.7 |
Triaged
|
Medium
|
Borys Belinsky |
Bug Description
This and the same section on 5.5 is poorly written and has some documentation bugs:
http://
In summary:
* The feature doc is difficult to understand, and overuses "GLOBAL" when it means "session as if it was set globally"
* I think it has some erroneous information: wrong quoted example and the session variable can always be set, but (hopefully) it will have no effect
* The feature is not documented in any other place, and it requires further discussion than simple parameters settings
I have written an alternative version (please check validity) to at least change the current information:
---------------
This variable is used to enable or disable the effect of the per session value of innodb_
If the global variable innodb_
Under this mode, changing the session variable for innodb_
If the global variable innodb_
SET SESSION innodb_
This change will only affect the transactions in the session where it has changed, while the rest will keep the global innodb_
I agree that innodb_ use_global_ flush_log_ at_trx_ commit docs should be improved. The 5.1 innodb_ flush_log_ at_trx_ commit_ session docs are IMHO clearer but still targeting the bug to 5.1 too for a review (e.g. is innodb_ flush_log_ at_trx_ commit_ session really a global and not session variable?)