Re: pg 8.1.2 performance issue

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg 8.1.2 performance issue
Date: 2006-03-26 04:53:03
Message-ID: 200603252153.03602.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday March 25 2006 9:49 pm, Ed L. wrote:
> On Saturday March 25 2006 9:36 pm, Ed L. wrote:
> > I have a performance riddle, hoping someone can point me in
> > a helpful direction. We have a pg 8.1.2 cluster using
> > Apache::Sessions and experiencing simple UPDATEs taking
> > sometimes 30+ seconds to do a very simply update, no foreign
> > keys, no triggers:
> >
> > Table "public.sessions"
> > Column | Type | Modifiers
> > -----------+---------------+-----------
> > id | character(32) | not null
> > a_session | text |
> > Indexes:
> > "sessions_pkey" PRIMARY KEY, btree (id)
>
> The table has 6800 rows over 18000 pages, and is getting a
> minimum of many tens of thousands of updates per day with
> queries like this:
>
> UPDATE sessions SET a_session = ? WHERE id = ?

Sorry, it's getting late. Yes, the table has been analyzed and
explain shows an index scan is occurring.

Ed

In response to

Browse pgsql-general by date

  From Date Subject
Next Message chris smith 2006-03-26 04:55:19 Re: pg 8.1.2 performance issue
Previous Message Ed L. 2006-03-26 04:49:48 Re: pg 8.1.2 performance issue