Re: [GENERAL] Postgres INSERTs much slower than MySQL?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Postgres INSERTs much slower than MySQL?
Дата
Msg-id 199910220604.CAA28175@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Postgres INSERTs much slower than MySQL?  (Vadim Mikheev <vadim@krs.ru>)
Ответы Re: [HACKERS] Re: [GENERAL] Postgres INSERTs much slower than MySQL?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> WAL is Write Ahead Log, transaction logging.
> This will reduce # of fsyncs (among other things) Postgres has
> to perform now.
> Test above took near 38 min without -F flag and 24 min
> with -F (no fsync at all).
> With WAL the same test without -F will be near as fast as with
> -F now.
>
> But what makes me unhappy right now is that with -F COPY FROM takes
> JUST 3 min !!! (And 16 min without -F)
> Isn't parsing/planning overhead toooo big ?!

Yikes.  I always thought it would be nice to try and cache query plans
by comparing parse trees, and if they match cached versions, replace any
constants with new ones and use cached query plan.  Hard to do right,
though.


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Planning final assault on query length limits
Следующее
От: "Matthew N. Dodd"
Дата:
Сообщение: Re: [HACKERS] Readline use in trouble?