Re: Oracle vs PostgreSQL in real life

Поиск
Список
Период
Сортировка
От mlw
Тема Re: Oracle vs PostgreSQL in real life
Дата
Msg-id 3C7D0437.E58948FE@mohawksoft.com
обсуждение исходный текст
Ответ на Oracle vs PostgreSQL in real life  (Jean-Paul ARGUDO <jean-paul.argudo@idealx.com>)
Ответы Re: Oracle vs PostgreSQL in real life : NEWS!!!  (Jean-Paul ARGUDO <jean-paul.argudo@IDEALX.com>)
Список pgsql-hackers
Jean-Paul ARGUDO wrote:
> 
> Okay...
> 
> I'm very sceptic  today.
> 
> I'm making a survey on Oracle 8.0 on NT4 remplacement with a RedHat 7.2/PG 7.2
> 
> The customer gave me stuff to migrate, like scripts in Pro*C Oracle that I
> migrated successfully with ECPG. Other stuff with Connect by statments, thanks
> to OpenACS guys, I migrated this Connect by statments too.
> 
> But finaly, with all my mind I explained all queries, made all good, I hope
> everything has be done.
> 
> The "test" is a big batch that computes stuffs in the database. Here are the
> timings of both Oracle and PG (7.2) :
> 
> Oracle on NT 4 : 45 minuts to go , 1200 tps (yes one thousand and two hundred
> tps)
> 
> Linux Red Hat 7.2 with PostgreSQL 7.2 : hours to go (statistically, 45 hours),
> 80 tps (eighty tps).

Wow! That is huge. Ok, let me ask some questions:

Did you do a "vacuum analyze" on the tables?
If you did not analyze the tables, it may be using table scans instead of
indexes. That would make a huge difference. Also, it may choose poorly between
hash joins and merge joins.


Did you tune "buffers" in postgresql.conf?
If you have too few buffers, you will get no caching effect on the queries.


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Arrays vs separate system catalogs
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: COPY incorrectly uses null instead of an empty string in last field