Re: PostgreSQL and Linux 2.6 kernel.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gary Doades" <gpd(at)gpdnet(dot)co(dot)uk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: PostgreSQL and Linux 2.6 kernel.
Date: 2004-04-02 06:32:10
Message-ID: 23109.1080887530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Gary Doades" <gpd(at)gpdnet(dot)co(dot)uk> writes:
> As a test in PosgreSQL I issued a statement to update a single column
> of a table containing 2.8 million rows with the values of a column in
> a table with similar rowcount. Using the above spec I had to stop the
> server after 17 hours. The poor thing was thrashing the hard disk and
> doing more swapping than useful work.

This statement is pretty much content-free, since you did not show us
the table schemas, the query, or the EXPLAIN output for the query.
(I'll forgive you the lack of EXPLAIN ANALYZE, but you could easily
have provided all the other hard facts.) There's really no way to tell
where the bottleneck is. Maybe it's a kernel-level issue, but I would
not bet on that without more evidence. I'd definitely not bet on it
without direct confirmation that the same query plan was used in both
setups.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Gary Doades 2004-04-02 07:07:38 Re: PostgreSQL and Linux 2.6 kernel.
Previous Message Greg Stark 2004-04-02 04:59:46 Re: single index on more than two coulumns a bad thing?