CREATE TABLE, load and freezing

Поиск
Список
Период
Сортировка
От Pavan Deolasee
Тема CREATE TABLE, load and freezing
Дата
Msg-id 2e78013d0802280108s59e52e14hae032e1e67409d6c@mail.gmail.com
обсуждение исходный текст
Ответы Re: CREATE TABLE, load and freezing  ("Florian G. Pflug" <fgp@phlo.org>)
Re: CREATE TABLE, load and freezing  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Re: CREATE TABLE, load and freezing  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: CREATE TABLE, load and freezing  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: CREATE TABLE, load and freezing  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
I had this idea sometime back. Not sure if this has been discussed before

In a typical scenario, user might create a table and load data in the table as
part of a single transaction (e.g pg_restore). In this case, it would help if we
create the tuples in the *frozen* state to avoid any wrap-around related issues
with the table.  Without this, very large read-only tables would
require one round of
complete freezing if there are lot of transactional activities in the
other parts
of the database. And when that happens, it would generate lots of unnecessary
IOs on these large tables.

I don't know if this is a real problem for anybody, but I could think
of its use case, at least in theory.

Is it worth doing ?

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com


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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Logging conflicted queries on deadlocks
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: CREATE TABLE, load and freezing