Re :MySQL Benchmark page - Problem with vacuum() in PostgreSQL

From: Mark kirkwood <markir(at)slingshot(dot)co(dot)nz>
To: monty(at)mysql(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re :MySQL Benchmark page - Problem with vacuum() in PostgreSQL
Date: 2001-08-16 08:27:07
Message-ID: 01081620270801.01095@spikey.slithery.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dear all,

Please humour me if this is a silly comment , or has been made before -
but....

when Monty posted the original message I had a few thoughts - ........

I understand that there is a issue with

loop many times
perform a set a updates/inserts
run vauuum
end loop

I would not peform a test this way.... let Postgresql MVCC sort out the
relevant rows to manage... so run vacuum once only....after all on a real
system you try to minimize the number of times vacuum ( or its related
equivalents in other dbms's - e.g : analyze ) are run ( as they are typically
expensive ).

So I guess I am saying that if the Benchmark requires multiple runs of vacuum
/ analyze type functions then maybe the design of the benchmark should be
examined a bit...

regards

Mark

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kenji Sugita 2001-08-16 08:34:01 The -o command line option of pg_dump for a database using foreign keys
Previous Message Karel Zak 2001-08-16 08:02:00 Re: Storing images in PG?