Re: PostgreSQL clustering VS MySQL clustering

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: PostgreSQL clustering VS MySQL clustering
Дата
Msg-id 1106649767.5790.18.camel@fuji.krosing.net
обсуждение исходный текст
Ответ на Re: PostgreSQL clustering VS MySQL clustering  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: PostgreSQL clustering VS MySQL clustering
Список pgsql-performance
Ühel kenal päeval (esmaspäev, 24. jaanuar 2005, 11:52+0900), kirjutas
Tatsuo Ishii:
> > Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > > Probably VACUUM works well for small to medium size tables, but not
> > > for huge ones. I'm considering about to implement "on the spot
> > > salvaging dead tuples".
> >
> > That's impossible on its face, except for the special case where the
> > same transaction inserts and deletes a tuple.  In all other cases, the
> > transaction deleting a tuple cannot know whether it will commit.
>
> Of course. We need to keep a list of such that tuples until commit or
> abort.

what about other transactions, which may have started before current one
and be still running when current one commites ?


I once proposed an extra parameter added to VACUUM FULL which determines
how much free space to leave in each page vacuumed. If there were room
the new tuple could be placed near the old one in most cases and thus
avoid lots of disk head movement when updating huge tables in one go.

------------

Hannu Krosing <hannu@tm.ee>

В списке pgsql-performance по дате отправления:

Предыдущее
От: Antony Paul
Дата:
Сообщение: PostgreSQL not utilising available memory
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: PostgreSQL clustering VS MySQL clustering