From: Alexaki Sofia <alexaki@ics.forth.gr>
To: pgsql-interfaces@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: speed up creation of a table
Date: Sun, 18 Feb 2001 14:52:50 +0200 (EET)
Message-ID: <Pine.GSO.4.10.10102181411540.6140-100000@sappho.ics.forth.gr> (raw)
Hello,
I have two questions concerning space and time required to
load huge volume of data in the DBMS.
To note I use JDBC interface to load the schema and data in the postgresql
In order to create the tables contained in my database
I use the command stmt.executeUpdate("CREATE TABLE t1 .... inherits
(t2));
is there any way to speed up the creation of a table in postgresql????
My application creates a lot of tables in which at the beginning are
stored
few records. I woule like to reduce the size DBMS allocates (8K) every
time needs more space? Can this be achieved without reducing BLCKSZ
parameter since I suspect that reducing BLCKSZ will reduce querying
performance. Is that so??
Is it possible to reduce DBMS size e.g. to 4K during loading and
set it back to 8K when querying?
Thank you in advance
Sofia Alexaki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: alexaki@ics.forth.gr, pgsql-interfaces@postgresql.org
Subject: Re: speed up creation of a table
In-Reply-To: <Pine.GSO.4.10.10102181411540.6140-100000@sappho.ics.forth.gr>
References: <Pine.GSO.4.10.10102181411540.6140-100000@sappho.ics.forth.gr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox