Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Slow Postgresql server



On 12.04.2007, at 07:26, Ron wrote:

You need to buy RAM and HD.

Before he does that, wouldn't it be more useful, to find out WHY he has so much IO?

Have I missed that or has nobody suggested finding the slow queries (when you have much IO on them, they might be slow at least with a high shared memory setting).

So, my first idea is, to turn on query logging for queries longer than a xy milliseconds, "explain analyse" these queries and see wether there are a lot of seq scans involved, which would explain the high IO.

Just an idea, perhaps I missed that step in that discussion somewhere ...

But yes, it might also be, that the server is swapping, that's another thing to find out.

cug



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group