X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 54D829FBCE4 for ; Fri, 25 Aug 2006 17:43:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 69439-05 for ; Fri, 25 Aug 2006 20:43:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by postgresql.org (Postfix) with ESMTP id 499509FBCD7 for ; Fri, 25 Aug 2006 17:43:46 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id p77so971592nfc for ; Fri, 25 Aug 2006 13:43:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=J0TwtbPwevR/lkrsjBRmEsOe007blbzts4YG9UcUneCBARC53ojFT3/YdX53iEgfFIbQxYLULQe4yYSdzn0Vac0idoryhXaJwibdEb40f2hO3Km6T1UMDc48IlIboUtbwneRdi6jruAn+SYMAMhFX5VYBqGQkaa9PCcueRHJ0D4= Received: by 10.49.29.2 with SMTP id g2mr5872185nfj; Fri, 25 Aug 2006 13:43:44 -0700 (PDT) Received: by 10.48.243.12 with HTTP; Fri, 25 Aug 2006 13:43:44 -0700 (PDT) Message-ID: <2bffcc330608251343r67a73ab6x51fde94cc74dbdd4@mail.gmail.com> Date: Fri, 25 Aug 2006 16:43:44 -0400 From: "Henry Ortega" To: "Richard Broersma Jr" Subject: Re: Best way to do this query.. Cc: pgsql-sql@postgresql.org In-Reply-To: <20060825204057.31139.qmail@web31810.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12646_17111450.1156538624604" References: <2bffcc330608251316g6ed00710u6e43b243800c6087@mail.gmail.com> <20060825204057.31139.qmail@web31810.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.574 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_30_40, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/204 X-Sequence-Number: 26162 ------=_Part_12646_17111450.1156538624604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes the data does not change once it is logged. I am quite new to this whole thing, do you mind elaborating more about the OLAP data model you mentioned about? On 8/25/06, Richard Broersma Jr wrote: > > I would assume that your data does not change after it is logged. If this > is the case, maybe this > part of your data model would actually be a good canidate for an OLAP data > model. > > If this is not the direction your are enterested in moving, you could > also reduce your query > processing time by limiting the data ranges for your existing query to > something for reasonable. > > Regards, > > Richard Broersma Jr. > ------=_Part_12646_17111450.1156538624604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes the data does not change once it is logged.
I am quite new to this whole thing, do you mind elaborating more
about the OLAP data model you mentioned about?

On 8/25/06, Richard Broersma Jr <rabroersma@yahoo.com> wrote:

I would assume that your data does not change after it is logged.  If this is the case, maybe this
part of your data model would actually be a good canidate for an OLAP data model.

If this is not the direction your are enterested in moving,  you could also reduce your query
processing time by limiting the data ranges for your existing query to something for reasonable.

Regards,

Richard Broersma Jr.

------=_Part_12646_17111450.1156538624604--