Re: Question insert data

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Question insert data
Дата
Msg-id 20050319145407.Y49962@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Question insert data  (perico@12move.nl)
Ответы Betr: Re: Question insert data  (perico@12move.nl)
Список pgsql-general
On Sat, 19 Mar 2005 perico@12move.nl wrote:

> Hi There,
>
> I've a problem with inserting data and I can't figure out what the problem
> is:
>
>
> what did I do:
>
>
> 1. I've a master table containing about 40000 records. A count(*) provides
> me the exact number.
>
> 2. I've create a table based on from the master. I copied a fraction from
> the master into the new table using a where clause (insert into ... select
> * from ... where a = b . The number of records copied is about 2553.

Define "based on". Do you mean CREATE TABLE AS or perhaps that the new
table inherits from the old one?  If the latter, you will see the rows in
the parent as well as the child if you do a select from the parent.

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Query performance problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: TIME TO VOTE - comp.databases.pgsql ballot