Code

collectd.conf(5): Documented the postgresql FLUSH support.
authorSebastian Harl <sh@tokkee.org>
Thu, 15 Nov 2012 12:36:52 +0000 (13:36 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 15 Nov 2012 12:36:52 +0000 (13:36 +0100)
src/collectd.conf.pod

index be1303203a9353bd5426a9474934eb9471101e55..517d4948d04b7751981bbebebe34df3e6c20eebb 100644 (file)
@@ -3856,6 +3856,24 @@ causes all collected data to be send to the database using the settings
 defined in the writer configuration (see the section "FILTER CONFIGURATION"
 below for details on how to selectively send data to certain plugins).
 
+Each writer will register a flush callback which may be used when having long
+transactions enabled (see the B<CommitInterval> option above). When issuing
+the B<FLUSH> command (see L<collectd-unixsock(5)> for details) the current
+transaction will be committed right away. Two different kinds of flush
+callbacks are available with the C<postgresql> plugin:
+
+=over 4
+
+=item B<postgresql>
+
+Flush all writer backends.
+
+=item B<postgresql->I<database>
+
+Flush all writers of the specified I<database> only.
+
+=back
+
 =back
 
 =head2 Plugin C<powerdns>