pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manfred Koizar <mkoi-pg@aon.at>
To: Joost Witteveen <joostje@komputilo.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: create index right after create table not working?
Date: Mon, 17 Mar 2003 09:08:42 +0100
Message-ID: <c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com> (raw)
In-Reply-To: <20030315235332.GA32358@co.uea.org>
References: <20030315235332.GA32358@co.uea.org>

On Sun, 16 Mar 2003 00:53:32 +0100, Joost Witteveen
<joostje@komputilo.org> wrote:
>Can CREATE index commands be issued right after the CREATE TABLE?

Yes.  And the index will be used if you do ANALYSE yourtable; or even
better VACUUM ANALYSE yourtable; after you have initially loaded your
table and before you start querying it.

Servus
 Manfred



view thread (3+ messages)

Message-ID: <c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com>
Permalink:  ../c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com/
Also on:    postgresql.org/message-id/c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com

 · 

reply

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: mkoi-pg@aon.at, joostje@komputilo.org
  Subject: Re: create index right after create table not working?
  In-Reply-To: <c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com>
  References: <20030315235332.GA32358@co.uea.org> <c00b7vc85h4pil73bqmvnr8gntbv004kvh@4ax.com>

* 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