pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Creager, Robert S <CreagRS@LOUISVILLE.STORTEK.COM>
Cc: 'SQL - PGSQL' <pgsql-sql@postgresql.org>
Subject: Re: cannot get CREATE TABLE AS to work
Date: Fri, 09 Mar 2001 12:12:58 -0500
Message-ID: <7158.984157978@sss.pgh.pa.us> (raw)
In-Reply-To: <10FE17AD5F7ED31188CE002048406DE8514CDD@lsv-msg06.stortek.com>
References: <10FE17AD5F7ED31188CE002048406DE8514CDD@lsv-msg06.stortek.com>

"Creager, Robert S" <CreagRS@LOUISVILLE.STORTEK.COM> writes:
> And the next question, should this really be taking 3 hours to insert 315446
> records?  I noticed the disk is basically idle during the few times when I
> watched.  Would this be because of the index created on obs_id?

Not for a single index.  I can believe that the referential integrity
checks you're requiring on file_id and star_id might take that much
time, however.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <7158.984157978@sss.pgh.pa.us>
Permalink:  ../7158.984157978@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7158.984157978@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, CreagRS@LOUISVILLE.STORTEK.COM
  Subject: Re: cannot get CREATE TABLE AS to work
  In-Reply-To: <7158.984157978@sss.pgh.pa.us>
  References: <10FE17AD5F7ED31188CE002048406DE8514CDD@lsv-msg06.stortek.com> <7158.984157978@sss.pgh.pa.us>

* 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