Re: Unimpletmented features - Mailing list pgsql-general

From Mark Kirkwood
Subject Re: Unimpletmented features
Date
Msg-id 399DED36.FCDABB43@i4free.co.nz
Whole thread Raw
In response to Unimpletmented features  (John Morton <jwm@plain.co.nz>)
List pgsql-general
Ross,

I am not so sure that ALTER <object> family  is used for development
purposes only...

Consider data warehousing where typically each day the administrator
would :

1    Extract data from source database(s) - usually in ascii file
format, as these dbs may be connection unfriendly, not controlled by us
etc etc etc
2    Modify relevant tables in the target database and disable all
constraints ( primary keys too usually )
3    Drop all remaining indexes
4    Bulk load the source data.
5    Enable all constraints
6    Create any remaining indexes

These tables tend to have a very large number of rows ( >100,000,000 )
and are often corrospondingly large ( >10GB ) and thus it is important
to remove indexes and constraints to load the data in a sensible time
frame ( a few hours or less).

Postgresql is good at the "star" type queries that are common in such
warehouse applications, and thus is well suited to move into that area -
but the unimplemented ALTER features hinder this

regards

Mark


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Linking legacy PHP stuff
Next
From: Tom Lane
Date:
Subject: Re: 7.0.2 install doesn't read .conf files