Re: Best database model for canvassing (and analysing) opinion

From: Sebastian Tennant <sebyte(at)smolny(dot)plus(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Best database model for canvassing (and analysing) opinion
Date: 2009-08-20 12:56:54
Message-ID: 8whe7ieh.fsf@vps203.linuxvps.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Quoth Sam Mason <sam(at)samason(dot)me(dot)uk>:

[...]

> The only table that's really needed to solve your original problem would
> be the last one, but the others provide all the checks that the data
> is actually going in correctly and may or may not be useful depending
> on your problem. The main thing to notice is lots of tables with few
> columns, the reason being is that the database normally takes care of
> the rows and you, the DBA/programmer, take care of the columns. Thus
> the more work you can give to the database the better.

[...]

> Hope that gives you some ideas!

More than enough ideas. Thank you _very_ much.

Presenting this kind of 'distributed' data in a useful way is more difficult
(at least for me) but I can see now that this is what _relational_ databses are
all about, and that once you've grasped how to do this, the advantages are
legion.

Many thanks once again.

Sebastian
--
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jasen Betts 2009-08-20 13:03:47 Re: Postgre RAISE NOTICE and PHP
Previous Message Karsten Hilbert 2009-08-20 12:53:35 Re: Re: Unit conversion database (was: multiple paramters in aggregate function)