summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dbb9598)
raw | patch | inline | side by side (parent: dbb9598)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 Nov 2012 18:51:41 +0000 (19:51 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 14 Nov 2012 18:51:41 +0000 (19:51 +0100) |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index ca4dcd53fbfc32baebecc60b6537f2d88c021817..29a1d1457ca3367587fb80293ec92c06dac54101 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
<Database qux>
# ...
Writer sqlstore
+ CommitInterval 10
</Database>
</Plugin>
Specify the interval with which the database should be queried. The default is
to use the global B<Interval> setting.
+=item B<CommitInterval> I<seconds>
+
+This option may be used for database connections which have "writers" assigned
+(see above). If specified, it causes a writer to put several updates into a
+single transaction. This transaction will last for the specified amount of
+time. By default, each update will be executed in a separate transaction. Each
+transaction generates a fair amount of overhead which can, thus, be reduced by
+activating this option. The draw-back is, that data covering the specified
+amount of time will be lost, for example, if a single statement within the
+transaction fails or if the database server crashes.
+
=item B<Host> I<hostname>
Specify the hostname or IP of the PostgreSQL server to connect to. If the