Re: Issues with \copy from file

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Issues with \copy from file
Дата
Msg-id 603c8f070912181624w54602de6w306126817bc2e28c@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Issues with \copy from file  (Sigurgeir Gunnarsson <sgunnars@gmail.com>)
Список pgsql-performance
On Fri, Dec 18, 2009 at 10:51 AM, Sigurgeir Gunnarsson
<sgunnars@gmail.com> wrote:
> The intention was never to talk down postgresql but rather trying to get
> some explanation of this difference so that I could do the proper changes.
>
> After having read the link from Euler's post, which I oversaw, I have
> managed to shorten the import time. My problem was with the indexes. I was
> able to shorten the import time, of a 26 million line import, from 2 hours +
> (I gave up after that time) downto 12 minutes by dropping the indexes after
> truncate and before copy.
>
> This is what I was expecting and I'm therefore satisfied with the result.

Ah ha!  Well, it sounds like perhaps you have the answer to what was
causing the difference too, then.  I'm not trying to be unhelpful,
just trying to explain honestly why you might not get exactly the
response you expect to MySQL comparisons - we only understand half of
it.

...Robert

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Automatic optimization of IN clauses via INNER JOIN
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Automatic optimization of IN clauses via INNER JOIN