Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>, <pgsql-hackers(at)postgresql(dot)org>, "Magnus Hagander" <mha(at)sollentuna(dot)net>
Subject: Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak
Date: 2005-10-21 20:34:09
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD679@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
> Hm, what were the tests exactly? Offhand I'd expect something like a
> SELECT COUNT(*) on a large but not-too-wide table to show noticeable
> improvement.
>
> regards, tom lane
I STAND CORRECTED! My tests were high volume record by record
iterators, etc. Read and drool, gentlemen.

Merlin

=============stock============

esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 844.000 ms
esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 843.000 ms
esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 844.000 ms
esp=# \q
=============patched============
esp=# \timing
Timing is on.
esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 453.000 ms
esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 468.000 ms
esp=# select count(*) from data1.line_file;
count
--------
321306
(1 row)

Time: 469.000 ms

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-10-21 20:36:35 Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak
Previous Message Tom Lane 2005-10-21 20:14:58 Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance tweak