Re: Subqueries or Joins? Problems with multiple table query - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Subqueries or Joins? Problems with multiple table query
Date
Msg-id 20100223141317.GC20866@a-kretschmer.de
Whole thread Raw
In response to Re: Subqueries or Joins? Problems with multiple table query  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
Responses Re: Subqueries or Joins? Problems with multiple table query  (Stefan Schwarzer <stefan.schwarzer@grid.unep.ch>)
List pgsql-general
In response to Stefan Schwarzer :
> >You may also wish to review Andreas' suggestions as they propose a
> >more sensible table structure rather than having a table for each
> >convention.
>
> The table proposal really looks nice. But our database is structured
> by variable - so each convention has its own table.

It is a really bad design - it can't scale. A new convention, and you
have to redesign your database schema (add a new table, rewrite code).

I think, it makes absolutely no sense to invest more work into this,
sorry, shit.

Regards, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Subqueries or Joins? Problems with multiple table query
Next
From: Stefan Schwarzer
Date:
Subject: Re: Subqueries or Joins? Problems with multiple table query