agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Jan Ostrochovsky <ostrochovsky@mobiletech.sk>
To: David Johnston <polobo@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: how to effectively SELECT new "customers"
Date: Sat, 1 Mar 2014 15:24:47 +0100 (CET)
Message-ID: <893390760.607836.1393683887897.JavaMail.root@mobiletech.sk> (raw)
In-Reply-To: <1393605189189-5794066.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

> I'm not sure what you are going for since you keep adding additional
> criteria/constraints to your problem. At this point you are faced
> with a
> series of trade-offs between caching, speed, and flexibilty,
> complexity. I
> would suggest you break up your requirements into smaller pieces and
> not go
> looking for some kind of magic bullet that will solve all your
> problems in a
> single query. It likely does not exist.

> I would also suggest that you look into resources on data warehousing
> and
> the star schema; doing what you are trying directly within the OLTP
> is
> probably not the best solution - especially not on front-end servers.
> My
> experience in this area is thin but maybe someone else can make some
> suggestions and/or provide some useful resource links.

> David J.

Probably you are right. It seems, that there is no such single-query solution, just only with PostgreSQL. I will break it up into smaller pieces. There is medium-tern plan for data-warehousing, just this one task I will solve yet without it. Maybe this is the way to go then: http://www.jaspersoft.com/tour. 

Thanks. 

Jano 

view thread (10+ messages)  latest in thread

Message-ID: <893390760.607836.1393683887897.JavaMail.root@mobiletech.sk>
Permalink:  ../893390760.607836.1393683887897.JavaMail.root@mobiletech.sk/
Also on:    postgresql.org/message-id/893390760.607836.1393683887897.JavaMail.root@mobiletech.sk

reply

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-sql@postgresql.org
  Cc: ostrochovsky@mobiletech.sk, polobo@yahoo.com
  Subject: Re: how to effectively SELECT new "customers"
  In-Reply-To: <893390760.607836.1393683887897.JavaMail.root@mobiletech.sk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox