From: schorsch1976 Date: Tue, 29 Aug 2023 16:22:53 +0000 (+0200) Subject: Update README.md X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=7c5ce9f250aafbb6ef89769d7543ea155618b2ad;p=thirdparty%2Fcollectd.git Update README.md --- diff --git a/contrib/postgresql/README.md b/contrib/postgresql/README.md index de2fa42b1..2cb44d03b 100644 --- a/contrib/postgresql/README.md +++ b/contrib/postgresql/README.md @@ -1,7 +1,9 @@ -Motivation for that second possible postgresql layout: ------------------------------------------------------- +PostreSQL example databases: -The first layout from Sebastian 'tokkee' Harl is like that: + collectd_insert.sql + collectd_insert2.sql + +The first database layout, from Sebastian 'tokkee' Harl, is like this: ``` +-------------------+ +----------------+ @@ -65,7 +67,7 @@ The type, type_inst and value_name get used to create the name of the value volu Description: ------------ -Second database layout is done on postgresql 15, by . +Second database layout is done on postgresql 15, by Georg Gast. It has some advantages over first one: The data has much higher data locality as it stays in one table and much less unneeded text columns. This leads to much smaller table spaces. In my case the first setup created about 300 MB per day. The new setup about 50 MB with the advantage of depending data near each other.