Re: [GENERAL] WAL being written during SELECT * query

Поиск
Список
Период
Сортировка
От Tom DalPozzo
Тема Re: [GENERAL] WAL being written during SELECT * query
Дата
Msg-id CAK77FCT1SmJ3yJb-eiX=gxDXDh2aq+vtRRMaOOHtaBUXMwi9iA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] WAL being written during SELECT * query  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general

2017-04-10 16:49 GMT+02:00 Bill Moran <wmoran@potentialtech.com>:

> >> On Tue, Apr 4, 2017 at 9:46 AM, Tom DalPozzo <t.dalpozzo@gmail.com>
> >> wrote:
> >> > Hi,
> >> > I have a very big table (10GB).
> >> > I noticed that many WAL segments are being written when elaborating read
> >> > only transactions like this:
> >> > select * from dati25600000000 where id >43000000 limit 1000000;
> >> > I don't understand why are there WAL writings during read only
> >> transactions.

These are hint bits. The mechanism and behavior are known and documented:
https://wiki.postgresql.org/wiki/Hint_Bits

--
Bill Moran <wmoran@potentialtech.com>

Hi, OK! Thank you very much
Pupillo

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

Предыдущее
От: Moreno Andreo
Дата:
Сообщение: Re: [GENERAL] PostgreSQL and Kubernetes
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: [GENERAL] Are multiple array_aggs going to be in the same order?