Various Questions

Поиск
Список
Период
Сортировка
От Evil Azrael
Тема Various Questions
Дата
Msg-id 1024180491.20031201140142@evilazrael.ath.cx
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: cross table indexes or something?
Следующее
От: Roger Ging
Дата:
Сообщение: Re: Followup - expression (functional) index use in joins