Re: UPDATEDs slowing SELECTs in a fully cached database

Поиск
Список
Период
Сортировка
От Lars
Тема Re: UPDATEDs slowing SELECTs in a fully cached database
Дата
Msg-id ye9cxypt1alv93g5j8jtil41.1310529694933@email.android.com
обсуждение исходный текст
Ответ на UPDATEDs slowing SELECTs in a fully cached database  (lars <lhofhansl@yahoo.com>)
Список pgsql-performance
shared_buffers is big enough to hold the entire database, and there is plenty of extra space. (verified with
PG_buffercache) 
So i don't think that is the reason.


Tom Lane <tgl@sss.pgh.pa.us> schrieb:

>Jeff Janes <jeff.janes@gmail.com> writes:
>> On 7/12/11, lars <lhofhansl@yahoo.com> wrote:
>>> The fact that a select (maybe a big analytical query we'll run) touching
>>> many rows will update the WAL and wait
>>> (apparently) for that IO to complete is making a fully cached database
>>> far less useful.
>>> I just artificially created this scenario.
>
>> I can't think of any reason that that WAL would have to be flushed
>> synchronously.
>
>Maybe he's running low on shared_buffers?  We would have to flush WAL
>before writing a dirty buffer out, so maybe excessive pressure on
>available buffers is part of the issue here.
>
>            regards, tom lane
>
>--
>Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-performance

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

Предыдущее
От: Mario Splivalo
Дата:
Сообщение: Re: Planner choosing NestedLoop, although it is slower...
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: UPDATEDs slowing SELECTs in a fully cached database