Various Questions - Mailing list pgsql-performance

From Evil Azrael
Subject Various Questions
Date
Msg-id 1024180491.20031201140142@evilazrael.ath.cx
Whole thread Raw
List 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:root@evilazrael.ath.cx


pgsql-performance by date:

Previous
From: Josh Berkus
Date:
Subject: Re: cross table indexes or something?
Next
From: Roger Ging
Date:
Subject: Re: Followup - expression (functional) index use in joins