Re: [PATCHES] Bitmapscan changes

From: "Luke Lonergan" <LLonergan(at)greenplum(dot)com>
To: "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl>, "Joshua D(dot)Drake" <jd(at)commandprompt(dot)com>
Cc: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, "PostgreSQL-development Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Bitmapscan changes
Date: 2007-03-17 21:33:19
Message-ID: C3E62232E3BCF24CBA20D72BFDCB6BF802AF292D@MI8NYCMAIL08.Mi8.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Wow, nice!

Can you tell us:
- how big is the table
- cardinality of the column
- how big is the index in each case
- how much memory on the machine
- query and explain analyze

Thanks!

- Luke

Msg is shrt cuz m on ma treo

-----Original Message-----
From: Grzegorz Jaskiewicz [mailto:gj(at)pointblue(dot)com(dot)pl]
Sent: Saturday, March 17, 2007 05:16 PM Eastern Standard Time
To: Joshua D.Drake
Cc: Heikki Linnakangas; PostgreSQL-development Hackers
Subject: Re: [HACKERS] [PATCHES] Bitmapscan changes

This is on dual ultra 2 sparc. with ultrawide 320 scsi drives. 512MB
ram.
I had to drop size of DB, because the DB drive is 4GB (I do welecome
bigger drives as donation, if someone asks - UWscsi 320).

here are my results. With only 4.2 patch (no maintain cluster order
v5 patch). If the v5 patch was needed, please tell me - I am going
rerun it with.

hope it is usefull.

Repeat 3 times to ensure repeatable results.
Timing is on.
select_with_normal_index
--------------------------
100000
(1 row)

Time: 1727891.334 ms
select_with_normal_index
--------------------------
100000
(1 row)

Time: 1325561.252 ms
select_with_normal_index
--------------------------
100000
(1 row)

Time: 1348530.100 ms
Timing is off.
And now run the same tests with clustered index
Timing is on.
select_with_clustered_index
-----------------------------
100000
(1 row)

Time: 870246.856 ms
select_with_clustered_index
-----------------------------
100000
(1 row)

Time: 477089.456 ms
select_with_clustered_index
-----------------------------
100000
(1 row)

Time: 381880.965 ms
Timing is off.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2007-03-17 21:53:58 Re: As proposed the complete changes to pg_trigger and pg_rewrite
Previous Message Grzegorz Jaskiewicz 2007-03-17 21:14:35 Re: [PATCHES] Bitmapscan changes