pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
<idle> issue?
3+ messages / 3 participants
[nested] [flat]

* <idle> issue?
@ 2014-10-06 14:54 Emi Lu <emilu@encs.concordia.ca>
  2014-10-06 15:07 ` Re: <idle> issue? Felipe Santos <felipepts@gmail.com>
  2014-10-06 21:10 ` Re: <idle> issue? jaime soler <jaime.soler@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Emi Lu @ 2014-10-06 14:54 UTC (permalink / raw)
  To: pgsql-performance

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <small>Hello List, <br>
      <br>
      May I know will &lt;idle&gt; cause any potential performance
      issues for psql8.3 please?<br>
      version (PostgreSQL 8.3.18 on x86_64-unknown-linux-gnu, compiled
      by GCC 4.1.2)<br>
      <br>
      E.g., got 10 idle connections for 10 days. <br>
      &nbsp;select current_query from pg_stat_activity&nbsp; where usename
      ='test';<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      current_query&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
--------------------------------------------------------------------------<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      &nbsp;&lt;IDLE&gt;<br>
      <br>
      Thanks a lot!<br>
      Emi</small> <br>
  </body>
</html>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: <idle> issue?
  2014-10-06 14:54 <idle> issue? Emi Lu <emilu@encs.concordia.ca>
@ 2014-10-06 15:07 ` Felipe Santos <felipepts@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Felipe Santos @ 2014-10-06 15:07 UTC (permalink / raw)
  To: emilu@encs.concordia.ca; +Cc: pgsql-performance

2014-10-06 11:54 GMT-03:00 Emi Lu <emilu@encs.concordia.ca>:

>  Hello List,
>
> May I know will <idle> cause any potential performance issues for psql8.3
> please?
> version (PostgreSQL 8.3.18 on x86_64-unknown-linux-gnu, compiled by GCC
> 4.1.2)
>
> E.g., got 10 idle connections for 10 days.
>  select current_query from pg_stat_activity  where usename ='test';
>                               current_query
> --------------------------------------------------------------------------
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>
> Thanks a lot!
> Emi
>

Hi Emi,

As far as I know, it wont affect your performance.

It will affect the overall quantity of users that can connect to the
database though (since there is a limit that you can set up on
postgres.conf).

BR,

Felipe

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: <idle> issue?
  2014-10-06 14:54 <idle> issue? Emi Lu <emilu@encs.concordia.ca>
@ 2014-10-06 21:10 ` jaime soler <jaime.soler@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: jaime soler @ 2014-10-06 21:10 UTC (permalink / raw)
  To: emilu@encs.concordia.ca; +Cc: pgsql-performance

El lun, 06-10-2014 a las 10:54 -0400, Emi Lu escribió:
> Hello List, 
> 
> May I know will <idle> cause any potential performance issues for
> psql8.3 please?
> version (PostgreSQL 8.3.18 on x86_64-unknown-linux-gnu, compiled by
> GCC 4.1.2)
> 
> E.g., got 10 idle connections for 10 days. 
>  select current_query from pg_stat_activity  where usename ='test';
> 
> current_query                               
> --------------------------------------------------------------------------
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
>  <IDLE>
> 
> Thanks a lot!
> Emi 

Maybe your application is using a pool of 10 connections but it doesn't
affect any potential performance issues.




-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-10-06 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-10-06 14:54 <idle> issue? Emi Lu <emilu@encs.concordia.ca>
2014-10-06 15:07 ` Felipe Santos <felipepts@gmail.com>
2014-10-06 21:10 ` jaime soler <jaime.soler@gmail.com>

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