Navigation Menu

Skip to content

Commit

Permalink
[doc] add examples for status variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 28, 2011
1 parent e5d4a7f commit 20605f2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/source/reference.rst
Expand Up @@ -133,8 +133,28 @@ groonga_count_skip
This value is increased when 'fast line count feature' is used.
You can use this value to check if the feature is working when you enable it.

Here is an example how to check it::

mysql> SHOW STATUS LIKE 'groonga_count_skip';
+--------------------+-------+
| Variable_name | Value |
+--------------------+-------+
| groonga_count_skip | 0 |
+--------------------+-------+
1 row in set (0.00 sec)

groonga_fast_order_limit
^^^^^^^^^^^^^^^^^^^^^^^^

This value is increased when 'fast ORDER BY LIMIT feature' is used.
You can use this value to check if the feature is working when you enable it.

Here is an example how to check it::

mysql> SHOW STATUS LIKE 'groonga_fast_order_limit';
+--------------------------+-------+
| Variable_name | Value |
+--------------------------+-------+
| groonga_fast_order_limit | 0 |
+--------------------------+-------+
1 row in set (0.00 sec)

0 comments on commit 20605f2

Please sign in to comment.