a tiny question

From: "Luis Alberto Amigo Navarro" <lamigo(at)atc(dot)unican(dot)es>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: a tiny question
Date: 2002-11-05 08:58:50
Message-ID: 003101c284a9$8f296770$cab990c1@atc.unican.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all:
I've been running small aplications over postgres 7.2.2, they are based over a tpch-like 100Mb database (which give us about 400Mb of disk usage), system is an 8-CPU SGI Power Challenge, postgres is given 80000 shared buffers and backends 32Mb of sort-memory, so all data fits in memory and we avoid disk accesses.
When we improve seq scans, systems scales well up to 8 cpus.When we improve index scan, query performance increase but system stops scaling at about 4 proccessors, profiling shows that it is due to increased memory contention, it seems strange cause query are all read only, at the beggining of the run we insert and delete some rows, but it is only 1/10 of the time.
All of that is first of all to advise of this performance drop, and second to ask what is the difference between memory usage with seqscans and indexscans.
Thanks and regards

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-11-05 10:55:27 Re: Is my Internet connection slow
Previous Message Hannu Krosing 2002-11-05 08:47:18 Re: protocol change in 7.4