4
The :program:`logging_stats` plugin provides user statistics as
5
DATA_DICTIONARY tables.
7
.. _logging_stats_loading:
12
This plugin is loaded by default, but it may need to be configured. See
13
the plugin's :ref:`logging_stats_configuration` and
14
:ref:`logging_stats_variables`.
16
To stop the plugin from loading by default, start :program:`drizzled`
19
--plugin-remove=logging_stats
21
.. seealso:: :doc:`/options` for more information about adding and removing plugins.
23
.. _logging_stats_configuration:
28
These command line options configure the plugin when :program:`drizzled`
29
is started. See :doc:`/configuration` for more information about specifying
34
.. option:: --logging-stats.bucket-count ARG
37
:Variable: :ref:`logging_stats_bucket_count <logging_stats_bucket_count>`
39
Max number of range locks to use for Scoreboard.
41
.. option:: --logging-stats.disable
46
Disable logging statistics collection.
48
.. option:: --logging-stats.max-user-count ARG
51
:Variable: :ref:`logging_stats_max_user_count <logging_stats_max_user_count>`
53
Max number of users to log.
55
.. option:: --logging-stats.scoreboard-size ARG
58
:Variable: :ref:`logging_stats_scoreboard_size <logging_stats_scoreboard_size>`
60
Max number of concurrent sessions to log.
62
.. _logging_stats_variables:
67
These variables show the running configuration of the plugin.
68
See `variables` for more information about querying and setting variables.
70
.. _logging_stats_bucket_count:
72
* ``logging_stats_bucket_count``
76
:Option: :option:`--logging-stats.bucket-count`
78
Max number of range locks to use for Scoreboard.
80
.. _logging_stats_enable:
82
* ``logging_stats_enable``
88
If logging stats is enabled or not.
90
.. _logging_stats_max_user_count:
92
* ``logging_stats_max_user_count``
96
:Option: :option:`--logging-stats.max-user-count`
98
Max number of users to log.
100
.. _logging_stats_scoreboard_size:
102
* ``logging_stats_scoreboard_size``
106
:Option: :option:`--logging-stats.scoreboard-size`
108
Max number of concurrent sessions to log.
110
.. _logging_stats_examples:
115
Sorry, there are no examples for this plugin.
117
.. _logging_stats_authors:
124
.. _logging_stats_version:
129
This documentation applies to **logging_stats 0.1**.
131
To see which version of the plugin a Drizzle server is running, execute:
133
.. code-block:: mysql
135
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='logging_stats'