Re: [HACKERS] common area

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: meskes(at)topsystem(dot)de (Michael Meskes)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] common area
Date: 1998-02-27 15:11:28
Message-ID: 199802271511.KAA06503@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> It seems we need something like that too. I've just run the new perftest
> program against PostgreSQL and Oracle. It does:
>
> 1) insert 1407 tuples into two tables
> 2) select one attribute from one table
> 3) select one attribute from the join og both tables
> 4) updates one attribute in one table.
>
> Here are the results:
>
> Oracle:
> I needed 24 seconds and 1937 microseconds for the insert test.
> I needed 1 seconds and 600641 microseconds for the selection&projection test.
> I needed 1 seconds and 703673 microseconds for the join test.
> I needed 2 seconds and 404709 microseconds for the update test.
>
> PostgreSQL with -F:
> I needed 10 seconds and 297716 microseconds for the insert test.
> I needed 28 seconds and 964208 microseconds for the selection&projection test.
> I needed 83 seconds and 931762 microseconds for the join test.
> I needed 0 seconds and 588390 microseconds for the update test.

This seems strange. Is a vacuum being done so the optimizer knows how
large each table is?

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)

In response to

  • common area at 1998-02-27 09:48:42 from Michael Meskes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-27 15:25:15 HISTORY list for 6.3
Previous Message Brett McCormick 1998-02-27 15:06:46 Re: [HACKERS] Money type display