Various Questions

From: Evil Azrael <evilazrael(at)evilazrael(dot)de>
To: pgsql-performance(at)postgresql(dot)org
Subject: Various Questions
Date: 2003-12-01 13:07:50
Message-ID: 924548300.20031201140750@evilazrael.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi!

I have 4 question which probably someone can answer.

1) I have a transaction during which no data was modified, does it
make a difference whether i send COMMIT or ROLLBACK? The effect is the
same, but what´s about the speed?

2) Is there any general rule when the GEQO will start using an index?
Does he consider the number of tuples in the table or the number of
data pages? Or is it even more complex even if you don´t tweak the
cost setting for the GEQO?

3) Makes it sense to add a index to a table used for logging? I mean
the table can grow rather large due to many INSERTs, but is also
seldom queried. Does the index slowdown noticable INSERTs?

4) Temporary tables will always be rather slow as they can´t gain from
ANALYZE runs, correct?

Thanx in advance for any answer

Christoph Nelles

--
Mit freundlichen Grüssen
Evil Azrael mailto:evilazrael(at)evilazrael(dot)de

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Shridhar Daithankar 2003-12-01 13:26:03 Re: Various Questions
Previous Message Evil Azrael 2003-12-01 13:01:42 Various Questions