Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory?

Поиск
Список
Период
Сортировка
Искать
От
Stefan Keller
Тема
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory?
Дата
Msg-id
CAFcOn28yyQgkw9iKfBcehFzR9s0_998TwzPhrhsuupMTtWHnmA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Cédric Villemain <cedric@2ndquadrant.fr>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Andy Colson <andy@squeakycode.net>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Andy Colson <andy@squeakycode.net>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Claudio Freire <klaussfreire@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Andrew Dunstan <andrew@dunslane.net>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Claudio Freire <klaussfreire@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Peter van Hardenberg <pvh@pvh.ca>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Claudio Freire <klaussfreire@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Andrew Dunstan <andrew@dunslane.net>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Scott Marlowe <scott.marlowe@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Claudio Freire <klaussfreire@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stefan Keller <sfkeller@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Stephen Frost <sfrost@snowman.net>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Jeff Janes <jeff.janes@gmail.com>
Re: PG as in-memory db? How to warm up and re-populate buffers? How to read in all tuples into memory? Thomas Kellerer <spam_eater@gmx.net>
2012/2/29 Stefan Keller :
> 2012/2/29 Jeff Janes :
>>> It's quite possible the vacuum full is thrashing your disk cache due
>>> to maintainance_work_mem. You can overcome this issue with the tar
>>> trick, which is more easily performed as:
>>>
>>> tar cf /dev/null $PG_DATA/base
>>
>> But on many implementations, that will not work.  tar detects the
>> output is going to the bit bucket, and so doesn't bother to actually
>> read the data.
>
> Right.
> But what about the commands cp $PG_DATA/base /dev/null or cat
> $PG_DATA/base > /dev/null ?
> They seem to do something.

...or let's try /dev/zero instead /dev/null:
tar cf /dev/zero $PG_DATA/base

-Stefan
В списке pgsql-performance по дате отправления
От: Stefan Keller
Дата:
От: Robert Haas
Дата:
FAQ