Re: optimized counting of web statistics

From: Billy extyeightysix <exty86(at)gmail(dot)com>
To: Postgresql Performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: optimized counting of web statistics
Date: 2005-06-28 20:43:46
Message-ID: 22455e7050628134348a74d7c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> The bottleneck in the
> whole process is actually counting each data point (how many times a
> url was visited, or how many times a url referred the user to the
> website). So more specifically I am wondering if there is way to store
> and retrieve the data such that it speeds up the counting of the
> statistics.

This is misleading, the counting is being done by perl. so what is
happening is that I am locating all of the rows via a cursor and then
calculating the stats using perl hashes. no counting is being in the
DB. maybe it would be much faster to count in the db somehow?

exty

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Matthew Nuzum 2005-06-28 21:55:44 Re: optimized counting of web statistics
Previous Message Billy extyeightysix 2005-06-28 20:39:05 optimized counting of web statistics