Re: cannot get CREATE TABLE AS to work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cannot get CREATE TABLE AS to work
Дата
Msg-id 7158.984157978@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cannot get CREATE TABLE AS to work  ("Creager, Robert S" <CreagRS@LOUISVILLE.STORTEK.COM>)
Список pgsql-sql
"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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: cannot get CREATE TABLE AS to work
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: cannot get CREATE TABLE AS to work