regression bigtest needs very long time

From: SAKAIDA <sakaida(at)psn(dot)co(dot)jp>
To: pgsql-hackers(at)PostgreSQL(dot)org
Subject: regression bigtest needs very long time
Date: 1999-06-24 11:21:58
Message-ID: 377214D61B8.68B1SAKAIDA@smtp.psn.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I always execute 'regression test' and 'regression bigtest'
when PostgreSQL was enhanced. However,'regression bigtest' needs
the very long processing time in PostgreSQL-6.5. In my computer,
it is taken of about 1 hour.

The reason why the processing time is long is because 1000
digits are calculated using the 'LOG' and 'POWER' function.

Actual statement in "postgresql-6.5/src/test/regress/sql/
numeric_big.sql" is the following.

INSERT INTO num_result SELECT id, 0, POWER('10'::numeric,
LN(ABS(round(val,1000)))) FROM num_data WHERE val != '0.0';

But, the processing ends for a few minutes when this
"LN(ABS(round(val,1000)))" is made to be "LN(ABS(round(val,30)))".

INSERT or SELECT must be tested using the value of 1000 digits,
because to handle NUMERIC and DECIMAL data type to 1000 digits is
possible.

However, I think that there is no necessity of calculating the
value of 1000 digits in the 'LOG' function.

Comments?

--
Regards.

SAKAIDA Masaaki <sakaida(at)psn(dot)co(dot)jp>
Personal Software, Inc. Osaka Japan

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Don Baccus 1999-06-24 13:18:56 Re: [HACKERS] The dangers of "-F"
Previous Message Sam O'Connor 1999-06-24 09:38:57 Postgres on NT freezing