Re: Same query doing slow then quick

From: FFW_Rude <FFW_Rude(at)hotmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Same query doing slow then quick
Date: 2012-09-26 16:09:17
Message-ID: SNT111-W2098D2E9847FEE99A5828E19C0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


so installing postgresql-contrib stopped my server and i don't have pgbench in it. It is still pgbench command not found...
Could you explain what you are asking me to do because i don't really know what i'm doing...

Rude - Last Territory
Ou écouter ?http://www.deezer.com/fr/music/last-territory/the-last-hope-3617781 (Post-apocalyptic Metal)http://www.deezer.com/fr/music/rude-undertaker (Pop-Rock)
Ou acheter ?La Fnachttp://recherche.fnac.com/fmia14622213/Last-Territory
http://recherche.fnac.com/fmia14770622/Rude-Undertaker

iTuneshttp://itunes.apple.com/us/artist/last-territory/id533857009?ign-mpt=uo%3D4

Date: Wed, 26 Sep 2012 08:53:29 -0700
From: ml-node+s1045698n5725542h62(at)n5(dot)nabble(dot)com
To: FFW_Rude(at)hotmail(dot)com
Subject: Re: Same query doing slow then quick

On 26 September 2012 18:38, FFW_Rude <[hidden email]> wrote:

> root(at)testBI:/etc/postgresql/9.1/main# hdparm -tT /dev/sda

> Timing cached reads: 892 MB in 2.01 seconds = 444.42 MB/sec

> Timing buffered disk reads: 190 MB in 3.02 seconds = 62.90 MB/sec

It's OK for single HDD.

> Is fsync off by default ? I have

> #fsync = on (so it's off right ?).

Disable fsync for pgbench temporarily.

> pgbench is not found on my server. Do i have to apt-get install pgbench ?

Install the postgresql-contrib deb:

http://pkgs.org/download/postgresql-contrib

# sudo apt-get update

# sudo apt-get install postgresql-contrib

--

With best regards,

Nikolay

--

Sent via pgsql-performance mailing list ([hidden email])

To make changes to your subscription:

http://www.postgresql.org/mailpref/pgsql-performance






If you reply to this email, your message will be added to the discussion below:
http://postgresql.1045698.n5.nabble.com/Same-query-doing-slow-then-quick-tp5725486p5725542.html



To unsubscribe from Same query doing slow then quick, click here.

NAML

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Same-query-doing-slow-then-quick-tp5725486p5725549.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2012-09-26 16:29:07 Re: Memory issues
Previous Message Undertaker Rude 2012-09-26 16:05:11 Re: Same query doing slow then quick