pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Jason Coene <jcoene@gotfrag.com>
Subject: Re: Caching of Queries
Date: Thu, 23 Sep 2004 19:40:32 +0200
Message-ID: <41530A90.1030702@bigfoot.com> (raw)
In-Reply-To: <200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com>
References: <27437.1095959132@sss.pgh.pa.us>
	<200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com>

Jason Coene wrote:
> Hi Tom,
> 
> Easily recreated with Apache benchmark, "ab -n 30000 -c 3000
> http://webserver ".  This runs 1 query per page, everything else is cached
> on webserver. 

That test require 30000 access with 3000 connections that is not a normal
load. Describe us your HW.

3000 connections means a very huge load, may you provide also the result of
"vmstat 5" my webserver trash already with -c 120 !

how many connection your postgres can manage ?

You have to consider to use a connection pool with that ammount of connections.


Regards
Gaetano Mendola



view thread (72+ messages)  latest in thread

Message-ID: <41530A90.1030702@bigfoot.com>
Permalink:  ../41530A90.1030702@bigfoot.com/
Also on:    postgresql.org/message-id/41530A90.1030702@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mendola@bigfoot.com, jcoene@gotfrag.com
  Subject: Re: Caching of Queries
  In-Reply-To: <41530A90.1030702@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox