~drizzle-trunk/drizzle/development

2397.1.1 by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins.
1
Protocol Dictionary
2
===================
3
2397.1.3 by Daniel Nichter
Complete documenting 2nd half of plugins.
4
The :program:`protocol_dictionary` plugin provides the
5
DATA_DICTIONARY.PROTOCOL_COUNTERS table.
2397.1.1 by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins.
6
7
.. _protocol_dictionary_loading:
8
9
Loading
10
-------
11
2397.1.3 by Daniel Nichter
Complete documenting 2nd half of plugins.
12
This plugin is loaded by default.
2397.1.1 by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins.
13
To stop the plugin from loading by default, start :program:`drizzled`
14
with::
15
16
   --plugin-remove=protocol_dictionary
17
18
.. seealso:: :doc:`/options` for more information about adding and removing plugins.
19
20
.. _protocol_dictionary_examples:
21
22
Examples
23
--------
24
2397.1.3 by Daniel Nichter
Complete documenting 2nd half of plugins.
25
.. code-block:: mysql
26
27
   drizzle> SELECT * FROM DATA_DICTIONARY.PROTOCOL_COUNTERS;
28
   +----------------------------+--------------------+-------+
29
   | PROTOCOL                   | COUNTER            | VALUE |
30
   +----------------------------+--------------------+-------+
31
   | drizzle_protocol           | connection_count   |     2 | 
32
   | drizzle_protocol           | connected          |     1 | 
33
   | drizzle_protocol           | failed_connections |     0 | 
34
   | mysql_protocol             | connection_count   |     0 | 
35
   | mysql_protocol             | connected          |     0 | 
36
   | mysql_protocol             | failed_connections |     0 | 
37
   | mysql_unix_socket_protocol | connection_count   |     0 | 
38
   | mysql_unix_socket_protocol | connected          |     0 | 
39
   | mysql_unix_socket_protocol | failed_connections |     0 | 
40
   +----------------------------+--------------------+-------+
2397.1.1 by Daniel Nichter
Skeleton documentation for all plugins, more complete docu for first half of plugins.
41
42
.. _protocol_dictionary_authors:
43
44
Authors
45
-------
46
47
Andrew Hutchings
48
49
.. _protocol_dictionary_version:
50
51
Version
52
-------
53
54
This documentation applies to **protocol_dictionary 1.0**.
55
56
To see which version of the plugin a Drizzle server is running, execute:
57
58
.. code-block:: mysql
59
60
   SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='protocol_dictionary'
61
2397.1.3 by Daniel Nichter
Complete documenting 2nd half of plugins.
62
Changelog
63
---------
64
65
v1.0
66
^^^^
67
* First release.