Re: WAL being written during SELECT * query

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tom DalPozzo <t(dot)dalpozzo(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: WAL being written during SELECT * query
Date: 2017-04-04 17:18:04
Message-ID: CAOR=d=1jqvdDsfaUhuqyDDDy7WhSt6x=k5S04fTYfdUBkTz8ag@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 4, 2017 at 9:46 AM, Tom DalPozzo <t(dot)dalpozzo(at)gmail(dot)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.
> Regards
> Pupillo

I think this is the db setting hint bits, but I'm no expert in that area.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Janes 2017-04-04 17:42:23 Re: store key name pattern search
Previous Message Raymond O'Donnell 2017-04-04 17:05:47 Re: WAL being written during SELECT * query