Re: RRD PostgreSQL extension
Dustin Fisch <[email protected]> Wed, 12 Sep 2012 11:57:09 +0200
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, > as fahr as I understand it, the extension would sit in the server, > this means the BLOB would remain where it is ... Right. Expecting, there would be a SQL function like "rrd_update(OID rrd_file, DOUBLE value)", the data transmitted over the network for such a function call are a the 4 bytes for the value, the 8 bytes for the OID, a few bytes for the function name and the overhead for the transaction. > > Also it's no big deal to organize the history table alongside > > with the last value, and let the SQL engine handle the data in a > > traditional way. RRD provides some features, which are hard to implement in classical SQL, like bucketing, consolidation of older data and some other cool stuff. Even aggregation like MIN and MAX per time bucket is faster in RRD than in PostgreSQL. cheers fooker Tobias Oetiker <[email protected]> wrote: > Hi Stan, > > Yesterday Stanislav Sinyagin wrote: > > > how is it supposed to handle large RRD files over the network? > > If, say, the client and server are on different hosts, and you're > > updating RRD data in a BLOB. and RRD data can easily be several > > megabytes. So, how is the data transfer supposed to be organized? > > I have a feeling that you're going to transfer the whole file > > over the network, probably more than once per update. > > > > Also it's no big deal to organize the history table alongside > > with the last value, and let the SQL engine handle the data in a > > traditional way. > > as fahr as I understand it, the extension would sit in the server, > this means the BLOB would remain where it is ... > > cheers > tobi > -- http://lab.sh _______________________________________________ rrd-developers mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQEcBAEBAgAGBQJQUFx1AAoJELTDvwEtmya+3mQH+wf+yPs3x6PgkbPjFcSRWnTJ 8aEuu78Vu0s6BBqsZchaVxM0xzEjq12YNcq45w+yX7gJh9PNL84crQINMpu+EnGu 1KsES9YfQb+obTHl8HbcgVBWAKWK4uxBl44As0bUVIJfSIkWfnTu06/8pRxyKcpI DuzyJWgKE+D6wYA0+3j7pd/hgHlP9w7U//b5pMJFmzL7CKZuMtxMTPfR01gamgp7 vP2hAlZ7SEzd54ckrnzGe5MoDPiSiwSmITtYehwqi1UCbJoI8JIOejTLQkWNrTVN UbyvOb+1qeVLRWC8v3GXH7cmmgDcRIv87tB2ZCH0cgRs6qBaFt5ePyXchU2xQ7U= =788+ -----END PGP SIGNATURE-----