newbie alert: performance impact using a single Vs several tables

From: Maurice Balick <balm(at)smiley(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: newbie alert: performance impact using a single Vs several tables
Date: 2000-10-25 21:57:00
Message-ID: 39F7572B.9AF7EDD2@smiley.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have user records with a moderate amount of information in each record
(~200 bytes).
Some columns change very often, others very seldom, and some are read
very often whereas other are seldom needed.

Does it improve performance to use several tables with a common key
(i.e. account_id) so that when querying for a list of accounts with a
given property the DBMS only has to sift through shorter records? Or
does the cost of ever having to join two or more of these tables always
overwhelms the gains searching a single table?

I understand that's probably a 'depends on what you use the DBMS for',
but if there are general rules of thumb, or Postgres specific stuff, I'd
love to know.

Thanks.

--Maurice

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2000-10-25 22:14:36 Re: Postgres 7.0.2-2 on Red Hat 7.0?
Previous Message Steve Wolfe 2000-10-25 21:50:25 Re: Postgres 7.0.2-2 on Red Hat 7.0?