Merge lp:~hrvojem/percona-server/bug997469-5.1 into lp:percona-server/5.1

Proposed by Hrvoje Matijakovic
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 447
Proposed branch: lp:~hrvojem/percona-server/bug997469-5.1
Merge into: lp:percona-server/5.1
Diff against target: 126 lines (+19/-29)
6 files modified
doc/source/diagnostics/innodb_stats.rst (+2/-3)
doc/source/diagnostics/mysql_syslog.rst (+1/-1)
doc/source/diagnostics/slow_extended.rst (+2/-2)
doc/source/installation/apt_repo.rst (+12/-0)
doc/source/reliability/innodb_corrupt_table_action.rst (+0/-23)
doc/source/scalability/innodb_extra_rseg.rst (+2/-0)
To merge this branch: bzr merge lp:~hrvojem/percona-server/bug997469-5.1
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+107845@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc/source/diagnostics/innodb_stats.rst'
--- doc/source/diagnostics/innodb_stats.rst 2012-01-31 13:43:08 +0000
+++ doc/source/diagnostics/innodb_stats.rst 2012-05-29 20:17:23 +0000
@@ -54,13 +54,12 @@
5454
55.. variable:: innodb_use_sys_stats_table55.. variable:: innodb_use_sys_stats_table
5656
57 :version: 5.1.49-11.3 Variable introduced
57 :type: BOOLEAN58 :type: BOOLEAN
58 :default: 059 :default: 0
5960
6061
61If this option is enabled, |XtraDB| uses the ``SYS_STATS`` system table to store statistics of table indexes. Also, when |InnoDB| opens a table for the first time, it loads the statistics from ``SYS_STATS`` instead of sampling index pages. If you use a high ``stats_sample_pages`` value, the first open of a table is expensive. In such a case, this option will help. Note: This option may cause less frequent updating of statistics. So, you should intentionally use the ``ANALYZE TABLE`` command more often.62If this option is enabled, |XtraDB| uses the ``SYS_STATS`` system table to store statistics of table indexes. Also, when |InnoDB| opens a table for the first time, it loads the statistics from ``SYS_STATS`` instead of sampling index pages. If you use a high ``stats_sample_pages`` value, the first open of a table is expensive. In such a case, this option will help. Intended behavior is to never update statistics unless an explicit ``ANALYZE TABLE`` is issued.
62
63(This variable was introduced in release 5.1.49-rel11.3)
6463
6564
66INFORMATION_SCHEMA Tables65INFORMATION_SCHEMA Tables
6766
=== modified file 'doc/source/diagnostics/mysql_syslog.rst'
--- doc/source/diagnostics/mysql_syslog.rst 2011-10-07 00:55:06 +0000
+++ doc/source/diagnostics/mysql_syslog.rst 2012-05-29 20:17:23 +0000
@@ -4,7 +4,7 @@
4 Log All Client Commands (``syslog``)4 Log All Client Commands (``syslog``)
5======================================5======================================
66
7When enabled, this feature causes all commands run on the client to be logged to ``syslog``.7When enabled, this feature causes all commands run by the command line client to be logged to ``syslog``. If you want to enable this option permanently, add it to the [mysql] group in my.cnf.
88
99
10Version Specific Information10Version Specific Information
1111
=== modified file 'doc/source/diagnostics/slow_extended.rst'
--- doc/source/diagnostics/slow_extended.rst 2011-10-07 00:55:06 +0000
+++ doc/source/diagnostics/slow_extended.rst 2012-05-29 20:17:23 +0000
@@ -179,10 +179,10 @@
179Specifies the time threshold for filtering queries out of the slow query log. The unit of time is seconds. This option has the same meaning as in a standard |MySQL| server, with the following changes:179Specifies the time threshold for filtering queries out of the slow query log. The unit of time is seconds. This option has the same meaning as in a standard |MySQL| server, with the following changes:
180180
181The option accepts fractional values. If set to 0.5, for example, queries longer than 1/2 second will be logged.181The option accepts fractional values. If set to 0.5, for example, queries longer than 1/2 second will be logged.
182
183If the value is set to 0, then all queries are logged. This is different from the standard |MySQL| build, where a value of 0 disables logging.
184Before version 1.01 of this feature, the value was an integer, and the unit of time was microseconds, not seconds.182Before version 1.01 of this feature, the value was an integer, and the unit of time was microseconds, not seconds.
185183
184If the value is set to 0, then all queries are logged. This is different from the standard |MySQL| build, prior to version 5.1.21, where a value of 0 disables logging. After |MySQL| 5.1.21 this has been changed to minimum value and you can disable/enable slow query log with ``slow_query_log`` variable.
185
186.. variable:: profiling_server186.. variable:: profiling_server
187187
188 :cli: Yes188 :cli: Yes
189189
=== modified file 'doc/source/installation/apt_repo.rst'
--- doc/source/installation/apt_repo.rst 2012-05-17 11:21:21 +0000
+++ doc/source/installation/apt_repo.rst 2012-05-29 20:17:23 +0000
@@ -50,3 +50,15 @@
5050
51 deb http://repo.percona.com/apt-rc VERSION main51 deb http://repo.percona.com/apt-rc VERSION main
52 deb-src http://repo.percona.com/apt-rc VERSION main52 deb-src http://repo.percona.com/apt-rc VERSION main
53
54
55Apt-Pinning the packages
56========================
57
58In some cases you might need to "pin" the selected packages to avoid the upgrades from the distribution repositories. You'll need to make a new file :file:`/etc/apt/preferences.d/00percona.pref` and add the following lines in it: ::
59
60 Package: *
61 Pin: release o=Percona Development Team
62 Pin-Priority: 1001
63
64For more information about the pinning you can check the official `debian wiki <http://wiki.debian.org/AptPreferences>`_.
5365
=== modified file 'doc/source/reliability/innodb_corrupt_table_action.rst'
--- doc/source/reliability/innodb_corrupt_table_action.rst 2011-10-07 00:55:06 +0000
+++ doc/source/reliability/innodb_corrupt_table_action.rst 2012-05-29 20:17:23 +0000
@@ -8,18 +8,12 @@
88
9This feature adds a new system variable.9This feature adds a new system variable.
1010
11Version Specific Information
12============================
13
14 * 5.5.10-20.1:
15 Renamed variable :variable:`innodb_pass_corrupt_table` to :variable:`innodb_corrupt_table_action`.
1611
17System Variables12System Variables
18================13================
1914
20.. variable:: innodb_pass_corrupt_table15.. variable:: innodb_pass_corrupt_table
2116
22 :version 5.5.10-20.1: Renamed.
23 :cli: Yes17 :cli: Yes
24 :conf: Yes18 :conf: Yes
25 :scope: Global19 :scope: Global
@@ -31,20 +25,3 @@
3125
32Pass corruptions of user tables as ``corrupt table`` instead of crashing itself, when used with innodb_file_per_table. All file I/O for the datafile after detected as corrupt is disabled, except for the deletion.26Pass corruptions of user tables as ``corrupt table`` instead of crashing itself, when used with innodb_file_per_table. All file I/O for the datafile after detected as corrupt is disabled, except for the deletion.
3327
34 This variable was renamed to innodb_corrupt_table_action, beginning in release 5.5.10-20.1. It still exists as :variable:`innodb_pass_corrupt_table` in versions prior to that.
35
36
37.. variable:: innodb_corrupt_table_action
38
39 :version 5.5.10-20.1: Introduced.
40 :cli: Yes
41 :conf: Yes
42 :scope: Global
43 :dyn: Yes
44 :vartype: ULONG
45 :default: ``assert``
46 :range: ``assert``, ``warn``
47
48Pass corruptions of user tables as ``corrupt table`` instead of not crashing itself, when used with file_per_table. All file I/O for the datafile after detected as corrupt is disabled, except for the deletion.
49
50 This variable was added in release 5.5.10-20.1. Prior to that, it was named :variable:`innodb_pass_corrupt_table`, which still exists in earlier versions.
5128
=== modified file 'doc/source/scalability/innodb_extra_rseg.rst'
--- doc/source/scalability/innodb_extra_rseg.rst 2011-10-07 00:55:06 +0000
+++ doc/source/scalability/innodb_extra_rseg.rst 2012-05-29 20:17:23 +0000
@@ -32,6 +32,8 @@
3232
33When you modify this variable, you must restart the |MySQL| server for the change to take effect. Please note that you must perform a slow shutdown (ie with ``innodb_fast_shutdown = 0``). If you just perform a fast shutdown, the |MySQL| server will then restart without error but the additional segments will not be created.33When you modify this variable, you must restart the |MySQL| server for the change to take effect. Please note that you must perform a slow shutdown (ie with ``innodb_fast_shutdown = 0``). If you just perform a fast shutdown, the |MySQL| server will then restart without error but the additional segments will not be created.
3434
35If there is already any existing data stored in |XtraDB| or |InnoDB| it will need to be dumped and re-imported once this option has been enabled. This is needed so |XtraDB| can re-create the new data files with additional rollback segments.
36
35To check that the extra segments have been created, you can run the following query: ::37To check that the extra segments have been created, you can run the following query: ::
3638
37 SELECT COUNT(*) FROM information_schema.INNODB_RSEG;39 SELECT COUNT(*) FROM information_schema.INNODB_RSEG;

Subscribers

People subscribed via source and target branches