From: Pierre C <lists@peufeu.com>
To: pgsql-performance@postgresql.org, Landreville <landreville@deadtreepages.com>
Subject: Re: Calculating 95th percentiles
Date: Sat, 05 Mar 2011 08:54:27 +0100
Message-ID: <op.vru1k1fgeorkce@apollo13> (raw)
In-Reply-To: <AANLkTi=S-NKeJAwN+NXXJvtpv0vAbO4VByEB4hjUiPu0@mail.gmail.com>
References: <AANLkTi=S-NKeJAwN+NXXJvtpv0vAbO4VByEB4hjUiPu0@mail.gmail.com>
> Any time the volume tables are queried it is to calculate the deltas
> between each in_octets and out_octets from the previous row (ordered
> by timestamp). The delta is used because the external system, where
> the data is retrieved from, will roll over the value sometimes. I
> have a function to do this calcuation:
Would it be possible to do this when inserting and store the deltas
directly ?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: lists@peufeu.com, landreville@deadtreepages.com
Subject: Re: Calculating 95th percentiles
In-Reply-To: <op.vru1k1fgeorkce@apollo13>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox