Re: RAM-only temporary tables

Поиск
Список
Период
Сортировка
Искать
От
Alex Hunsaker
Тема
Re: RAM-only temporary tables
Дата
Msg-id
34d269d40811051557na24a796m48dc367ebcc71973@mail.gmail.com
Ответ на
RAM-only temporary tables (Kevin Grittner)
Список
Дерево обсуждения
RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Alvaro Herrera <alvherre@commandprompt.com>
Re: RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Alvaro Herrera <alvherre@commandprompt.com>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Alvaro Herrera <alvherre@commandprompt.com>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables Alvaro Herrera <alvherre@commandprompt.com>
Re: RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables Tom Lane <tgl@sss.pgh.pa.us>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables Alvaro Herrera <alvherre@commandprompt.com>
Re: RAM-only temporary tables Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: RAM-only temporary tables "Alex Hunsaker" <badalex@gmail.com>
Re: RAM-only temporary tables "Matthew T. O'Connor" <matthew@zeut.net>
On Wed, Nov 5, 2008 at 16:00, Kevin Grittner
 wrote:
> An idea for a possible enhancement to PostgreSQL: allow creation of a
> temporary table without generating any disk I/O.  (Creating and
> dropping a three-column temporary table within a database transaction
> currently generates about 150 disk writes).

Well arguably you can already do this...

create tablespace ram location '/dev/shm/';
create temp table (junk int) tablespace ram;

In theory because only one backend needs the temp table we should be
able to use mmap() to fake it being a file as well without to much
trouble.  But im sure I am missing something...

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Matthew T. O'Connor
Дата:
Сообщение: Re: RAM-only temporary tables
FAQ