Re: Datatypes and performance

Поиск
Список
Период
Сортировка
От Dennis Björklund
Тема Re: Datatypes and performance
Дата
Msg-id Pine.LNX.4.44.0307050711440.1516-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на Re: Datatypes and performance  ("Maksim Likharev" <mlikharev@aurigin.com>)
Список pgsql-general
On Fri, 4 Jul 2003, Maksim Likharev wrote:

> Ok, then if I store 4K - 1byte in a varchar and after that 4K + 1 byte,
> and again and again, you are saying me that my text will be jerking
> around 2 tables?

Updates in postgresql is not done inplace. It just adds the new data and
the old is kept around so that other concurrent transactions can still run
and use the old data. This gives a lot of speed when you have many
concurrent users.

Vacuum cleans out old unused data.

--
/Dennis


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Are we backwards on the sign of timezones?
Следующее
От: "Maksim Likharev"
Дата:
Сообщение: Re: Datatypes and performance