Skip site navigation (1) Skip section navigation (2)

CREATE TABLE, load and freezing

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: CREATE TABLE, load and freezing
Date: 2008-02-28 09:08:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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 ?


Pavan Deolasee


pgsql-hackers by date

Next:From: Florian G. PflugDate: 2008-02-28 09:35:38
Subject: Re: CREATE TABLE, load and freezing
Previous:From: ITAGAKI TakahiroDate: 2008-02-28 08:46:04
Subject: Logging conflicted queries on deadlocks

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group