1
.. _logging_stats_plugin:
6
The :program:`logging_stats` plugin provides user statistics as
7
DATA_DICTIONARY tables.
9
.. _logging_stats_loading:
14
This plugin is loaded by default, but it may need to be configured. See
15
the plugin's :ref:`logging_stats_configuration` and
16
:ref:`logging_stats_variables`.
18
To stop the plugin from loading by default, start :program:`drizzled`
21
--plugin-remove=logging_stats
23
.. seealso:: :ref:`drizzled_plugin_options` for more information about adding and removing plugins.
25
.. _logging_stats_configuration:
30
These command line options configure the plugin when :program:`drizzled`
31
is started. See :ref:`command_line_options` for more information about specifying
36
.. option:: --logging-stats.bucket-count ARG
39
:Variable: :ref:`logging_stats_bucket_count <logging_stats_bucket_count>`
41
Max number of range locks to use for Scoreboard.
43
.. option:: --logging-stats.disable
48
Disable logging statistics collection.
50
.. option:: --logging-stats.max-user-count ARG
53
:Variable: :ref:`logging_stats_max_user_count <logging_stats_max_user_count>`
55
Max number of users to log.
57
.. option:: --logging-stats.scoreboard-size ARG
60
:Variable: :ref:`logging_stats_scoreboard_size <logging_stats_scoreboard_size>`
62
Max number of concurrent sessions to log.
64
.. _logging_stats_variables:
69
These variables show the running configuration of the plugin.
70
See `variables` for more information about querying and setting variables.
72
.. _logging_stats_bucket_count:
74
* ``logging_stats_bucket_count``
78
:Option: :option:`--logging-stats.bucket-count`
80
Max number of range locks to use for Scoreboard.
82
.. _logging_stats_enable:
84
* ``logging_stats_enable``
90
If logging stats is enabled or not.
92
.. _logging_stats_max_user_count:
94
* ``logging_stats_max_user_count``
98
:Option: :option:`--logging-stats.max-user-count`
100
Max number of users to log.
102
.. _logging_stats_scoreboard_size:
104
* ``logging_stats_scoreboard_size``
108
:Option: :option:`--logging-stats.scoreboard-size`
110
Max number of concurrent sessions to log.
112
.. _logging_stats_examples:
117
Sorry, there are no examples for this plugin.
119
.. _logging_stats_authors:
126
.. _logging_stats_version:
131
This documentation applies to **logging_stats 0.1**.
133
To see which version of the plugin a Drizzle server is running, execute:
135
.. code-block:: mysql
137
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='logging_stats'