Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: Matthew NuzumDate: 2005-06-28 21:55:44
Subject: Re: optimized counting of web statistics
Previous:From: Billy extyeightysixDate: 2005-06-28 20:39:05
Subject: optimized counting of web statistics

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group