Re: PostgreSQL vs. InnoDB performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL vs. InnoDB performance
Дата
Msg-id 29252.1117758720@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PostgreSQL vs. InnoDB performance  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Peter Eisentraut <peter_e@gmx.net> writes:
> On a particular system, loading 1 million rows (100 bytes, nothing
> fancy) into PostgreSQL one transaction at a time takes about 90
> minutes.  Doing the same in MySQL/InnoDB takes about 3 minutes.

What sort of hardware, exactly?

Simple division says that that's about 11K transactions per minute,
which is more or less what you could expect to get with a 15000RPM
drive if everyone is honest and a commit actually involves bits hitting
a platter.  Now we've talked about schemes for committing more than one
transaction per disk revolution, but there's no way we could get to 30
per revolution given our lack of knowledge about the actual disk layout.

I don't think I believe that InnoDB is really truly committing 330K
transactions per minute.  Suggest that the customer try a pull-the-plug
type of test.  Does the DB come back at all, and if so how close to the
last reported-committed row has it got?

            regards, tom lane

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

Предыдущее
От: "Gevik babakhani"
Дата:
Сообщение: PostgreSQL Developer Network
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: SQL call to get pid of current connection