Re: Number of tables

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Number of tables
Дата
Msg-id 20090821003854.GT6261@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Number of tables  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Number of tables  (Greg Stark <gsstark@mit.edu>)
Re: Number of tables  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-performance
Greg Stark wrote:

> It would be nice to have a solution to that where you could create
> lightweight temporary objects which belong to an "application session"
> which can be picked up by a different database connection each go
> around.

It would be useful:

CREATE SCHEMA session1234 UNLOGGED
  CREATE TABLE hitlist ( ... );

Each table in the "session1234" schema would not be WAL-logged, and
would be automatically dropped on crash recovery (actually the whole
schema would be).  But while the server is live it behaves like a
regular schema/table and can be seen by all backends (i.e. not temp)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Number of tables
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Number of tables