Re: Yet one more stupid question - Mailing list pgsql-novice

From Joel Burton
Subject Re: Yet one more stupid question
Date
Msg-id 20021204205800.GA19557@temp.joelburton.com
Whole thread Raw
In response to Re: Yet one more stupid question  (Oliver Elphick <olly@lfix.co.uk>)
Responses Re: Yet one more stupid question
List pgsql-novice
On Wed, Dec 04, 2002 at 08:39:48PM +0000, Oliver Elphick wrote:
> On Wed, 2002-12-04 at 18:00, Dmitri Touretsky wrote:
>
> > One more question related to performance. I have a VERY BIG table
> > (abot 20 million records) which is accessed relatively seldom, like
> > once a day (basically, it's archived data which sometimes may be
> > needed). How this table affect performance of the database? Is it
> > worse to create another database for storing this data, and keep the
> > main DB small?
>
> It will make no difference to performance except when it is being used.

True. But you might want to separate them if it will make it more
flexible for you (being able to dump all of the smaller database and
move it to a different machine, etc.) But if you separate them, it will
be harder to do cross-database queries (but see dblink/ in contrib for a
solution). All things being equal, I'd probably keep them together.

--

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: problem creating database..
Next
From: Dmitri Touretsky
Date:
Subject: Re: Yet one more stupid question