Re: postgres copy command very slow.

Поиск
Список
Период
Сортировка
От Sam Barnett-Cormack
Тема Re: postgres copy command very slow.
Дата
Msg-id Pine.LNX.4.58.0403270257280.15225@short.lancs.ac.uk
обсуждение исходный текст
Ответ на postgres copy command very slow.  (Hemapriya <priyam_1121@yahoo.com>)
Список pgsql-admin
On Fri, 26 Mar 2004, Hemapriya wrote:

> Hi,
>
> We have postgresql 7.4.1 running on Mac OS.we are
> doing a conversion from mysql to postgres. I'm
> importing the table dumps using copy command in
> postgres. Copy takes 2 min to import 427938 rows in
> one table and at the same time it takes more than 2
> hrs for 2415768 rows.. no of columns are similar in
> both the tables. i'm not able to figure out why it is
> getting too slower?

Are the field types the same? Indexes on the two tables?

For the best chance of a good diagnosis, please post full details of
both tables - constraints, indexes, and field types at least.

--

Sam Barnett-Cormack
Software Developer                           |  Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University

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

Предыдущее
От: listas@lozano.eti.br
Дата:
Сообщение: Re: License for PostgreSQL for commercial purpose
Следующее
От: "Murthy Kambhampaty"
Дата:
Сообщение: Re: [Retrieved]RE: backup and recovery