Re: Postgres performance comments from a MySQL user

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Postgres performance comments from a MySQL user
Дата
Msg-id 20030611092957.M93562-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Postgres performance comments from a MySQL user  ("Jay O'Connor" <joconnor@cybermesa.com>)
Список pgsql-general
On Wed, 11 Jun 2003, Jay O'Connor wrote:

> Some backs-story.  I'm in the process of converting our internal file based
> data storage to an RDBMS.  After looking a bit at PostgreSQL and MySQL, I
> chose Postgresql.  My boss has heard of MySQL and has not heard of
> PostgreSQL and every now and then ahe make allusions that we shuold be
> using MySQL.
>
> One comment he got from the architect of another web site is as follows
>
> > If we were to start again
> > from scratch now, I'd still use InnoDB over postgres unless the
> > performance picked up with postgres recently.
> >
> > Keep in mind our application is very write-heavy so your numbers may
> > be different. Does postgres still keep the old row versions in the
> > primary-key B-Tree? If it does I doubt performance improved much for
> > write-heavy apps, that was a very poor design decision by them. InnoDB
> > takes the Oracle route of moving old row versions to a seperate
> > on-disk data structure.
>
> Does what he say make sense? If so, has the situation changed?  BNasically,
> I need something intelligent to say to my boss to either counter or
> mitigate his perception.

Well, one big thing for update (or delete/insert) heavy apps is to make
sure to set the free space map to a reasonable size and vacuum frequently.
If he's only tried older PostgreSQL servers, he may not realize that
vacuums can be run concurrently with queries.  There were still index
related bloat problems, but IIRC those should be going away in 7.4.


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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: plpgsql, rowtype and dropped columns
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [pgsql-advocacy] MySQL gets $19.5 MM