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: Where is my bottleneck?



Arnau,

On 1/24/06 10:40 AM, "Arnau Rebassa Villalonga" <arebassa(at)androme(dot)es> wrote:

> I know it's a  problem with a very big scope, but could you give me a
> hint about where I should look to?

Try this:

  time bash -c "dd if=/dev/zero of=bigfile bs=8k count=2000000 && sync"
  time dd if=bigfile of=/dev/null bs=8k

And report the results back here.  If it takes too long to complete (more
than a couple of minutes), bring up another window and run "vmstat 1" then
report the values in the columns "bi" and "bo".

- Luke





Home | Main Index | Thread Index

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