Partitioning and Foreign Keys

From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
To: pgsql-sql(at)postgresql(dot)org
Subject: Partitioning and Foreign Keys
Date: 2007-11-04 17:57:19
Message-ID: 87ejf57v28.fsf@ttnet.net.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

We have a customers database growing ~1,000 rows per day. (Nearly, %40
of the table is garbage and won't get queried that often in the
future. But we keep them for statistical analysing purposes of
previous jobs.) Despite table allocates relatively small size on the
disk, requirement of instantaneous query execution times forms our
major bottleneck. I planned to partition this table, but I learnt that
PostgreSQL doesn't allow referencing views. Does anybody have any
suggestions?

Regards.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas Joseph Krogh 2007-11-05 07:36:38 Returning the total number of rows as a separate column when using limit
Previous Message Tom Lane 2007-11-04 17:12:31 Re: SELECT DISTINCT ... ORDER BY UPPER(column_name) fails