Re: Lots o' I/O

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Clarence Gardner <clarence(at)silcom(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>, Sean Leach <sleach(at)netlojix(dot)com>
Subject: Re: Lots o' I/O
Date: 2003-02-14 23:41:02
Message-ID: 20030214153748.I68974-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Fri, 14 Feb 2003, Clarence Gardner wrote:

>
> I have a database that was populated about two months ago, and one
> particular table has begun causing problems. It's got about 20,000
> records, all fixed length of about 1 kbytes. If we do any operation
> that involves a sequential scan of that table (e.g., select count(*)),
> it now takes about 20 seconds, and according to linux vmstat, reads
> 275000 disk blocks (275 mbytes). The database is vacuumed each night.

What does vacuum full verbose <table> show? And how big is the actual
data file?

In response to

  • Lots o' I/O at 2003-02-14 22:41:04 from Clarence Gardner

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-14 23:51:07 Re: pg_stat_user_tables
Previous Message Bruce Momjian 2003-02-14 23:31:43 Re: pg_stat_user_tables