pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgres@countup.de
To: pgsql-performance@postgresql.org
Subject: Persistent Connections
Date: Sat, 24 Jan 2004 18:32:09 +0100 (CET)
Message-ID: <20040124173209.933905A8170@kserver17.erfurt12.de> (raw)

<html><head></head><body bgcolor="#ffffff" text="#000000" link="#000000" alink="#000000" vlink="#000000" marginwidth=10 marginheight=10 topmargin=10 leftmargin=10>Hi
<br>
<br>I have a php script and i make a pg_pconnect
<br>If i want to make 4-10 pg_query in that script
<br>Have i to close the connection at end of the script?
<br>(i would say yes, is it right?)
<br>
<br>Sorry I m a little bit confused about the persistent thing!!
<br>Is it smart to use persistent connections at all if i expect 100K Users to hit the script in an hour and the script calls up to 10-15 pg functions?
<br>I have at the mom one function but the server needs 500 ms, its a little bit too much i think, and it crashed when i had 20K users
<br>
<br>Thanks
<br>Bye
<br></body></html>



view thread (4+ messages)  latest in thread

Message-ID: <20040124173209.933905A8170@kserver17.erfurt12.de>
Permalink:  ../20040124173209.933905A8170@kserver17.erfurt12.de/
Also on:    postgresql.org/message-id/20040124173209.933905A8170@kserver17.erfurt12.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: postgres@countup.de
  Subject: Re: Persistent Connections
  In-Reply-To: <20040124173209.933905A8170@kserver17.erfurt12.de>
  References: <20040124173209.933905A8170@kserver17.erfurt12.de>

* 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