Re: Yet one more stupid question

From: Joel Burton <joel(at)joelburton(dot)com>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Dmitri Touretsky <dmitri(at)listsoft(dot)ru>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Yet one more stupid question
Date: 2002-12-04 20:58:00
Message-ID: 20021204205800.GA19557@temp.joelburton.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)joelburton(dot)com | joelburton.com | aim: wjoelburton
Independent Knowledge Management Consultant

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Dmitri Touretsky 2002-12-04 21:44:46 Re: Yet one more stupid question
Previous Message Oliver Elphick 2002-12-04 20:41:38 Re: problem creating database..