Re: very large table - Mailing list pgsql-performance

From Simon Riggs
Subject Re: very large table
Date
Msg-id 1117616239.3844.898.camel@localhost.localdomain
Whole thread Raw
In response to very large table  ("Praveen Raja" <praveen.raja@netlight.se>)
List pgsql-performance
On Tue, 2005-05-31 at 11:37 +0200, Praveen Raja wrote:
> I’m trying to move an existing solution from MySQL to PostgreSQL. As
> it is now the solution has 4 tables where data in inserted by an
> application. At regular intervals (10min) data from these tables is
> consolidated and moved to another table for reporting purposes. There
> exist many instances of these reporting tables and in total they are
> expected to hold about 500 million rows. There are about 200 of these
> reporting tables at the moment with data split among them. When a
> request comes in all these tables are searched.

> While moving to PostgreSQL is it a good idea to move from using
> multiple tables to one table for so many rows?

No. All of the same reasoning applies.

Try to keep each table small enough to fit easily in RAM.

Make sure you specify WITHOUT OIDS on the main data tables.

Best Regards, Simon Riggs


pgsql-performance by date:

Previous
From: "Martin Fandel"
Date:
Subject: Re: postgresql-8.0.1 performance tuning
Next
From: Simon Riggs
Date:
Subject: Re: slow queries, possibly disk io