From 847e344d019a23f673d4e91e46a951e279ca73a3 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 29 Oct 2012 08:56:50 -0400 Subject: documented potential thread contention issues when using sqlite --- doc/server/database.txt | 19 ++++++++++++------- doc/server/plugins/statistics/reporting.txt | 5 +++-- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/server/database.txt b/doc/server/database.txt index 70dc43319..87d3e3afe 100644 --- a/doc/server/database.txt +++ b/doc/server/database.txt @@ -9,16 +9,21 @@ Global Database Settings .. versionadded:: 1.3.0 Several Bcfg2 plugins, including -:ref:`server-plugins-grouping-metadata` and -:ref:`server-plugins-probes-index`, can connect use a relational -database to store data. They use the global database settings in -``bcfg2.conf``, described in this document, to connect. +:ref:`server-plugins-grouping-metadata`, +:ref:`server-plugins-probes-index`, and +:ref:`server-plugins-statistics-reporting`, can connect use a +relational database to store data. They use the global database +settings in ``bcfg2.conf``, described in this document, to connect. .. note:: - The :ref:`server-plugins-statistics-dbstats` plugin and the - :ref:`reports-dynamic` do *not* currently use the global database - settings. They use their own separate database configuration. + Although SQLite is supported as a database, it may cause + significant thread contention (and a performance penalty) if you + use SQLite with :ref:`server-plugins-grouping-metadata` or + :ref:`server-plugins-probes-index`. If you are using the + database-backed features of either of those plugins, it's + recommended that you use a higher performance database backend. + Configuration Options ===================== diff --git a/doc/server/plugins/statistics/reporting.txt b/doc/server/plugins/statistics/reporting.txt index 9ada89ff3..b8a4eb154 100644 --- a/doc/server/plugins/statistics/reporting.txt +++ b/doc/server/plugins/statistics/reporting.txt @@ -14,5 +14,6 @@ Reporting can be enabled by adding Reporting to the plugins line in For more information on how to use Reporting to setup reporting, see :ref:`reports-dynamic`. -..Note: -This replaces the DBStats plugin +.. note:: + + This replaces the DBStats plugin -- cgit v1.2.3-1-g7c22