High-water Mark for number of sessions/connections reached inPostgres

--_000_F849E59B1BB96C42A849EBCD724513F515FC3CEF47ISCESNA01CX MB_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I was wondering if we can query/obtain the high-water mark of number of ses=
sions or connections reached in a Postgres database. Is there a view or com=
mand that can provide this information. The pg_stat_database shows the cur=
rent number of connections, but not the high-water mark a database had reac=
hed.



Thanks in advance.



Husam


Husam

************************************************************ ***************=
***************
This message may contain confidential or proprietary information intended o=
nly for the use of the
addressee(s) named above or may contain information that is legally privile=
ged. If you are
not the intended addressee, or the person responsible for delivering it to =
the intended addressee,
you are hereby notified that reading, disseminating, distributing or copyin=
g this message is strictly
prohibited. If you have received this message by mistake, please immediatel=
y notify us by
replying to the message and delete the original message and any copies imme=
diately thereafter.

Thank you.
************************************************************ ***************=
***************
CLLD

--_000_F849E59B1BB96C42A849EBCD724513F515FC3CEF47ISCESNA01CX MB_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:#365F91;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:#365F91;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";
color:#365F91;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DWordSection1>

<p class=3DMsoPlainText>I was wondering if we can query/obtain the high-wat=
er
mark of number of sessions or connections reached in a Postgres database. Is
there a view or command that can provide this information.  The
pg_stat_database shows the current number of connections, but not the
high-water mark a database had reached.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>Thanks in advance.<o:p></o:p></p>

<p class=3DMsoPlainText><o:p> </o:p></p>

<p class=3DMsoPlainText>      Husam<o:p></o:p></p>

<p class=3DMsoNormal><span style=3D'color:#365F91'><o:p> </o:p></span>=
</p>

<p class=3DMsoNormal><span style=3D'color:#365F91'><o:p> </o:p></span>=
</p>

<p class=3DMsoNormal><span style=3D'color:#365F91'>    =
 
Husam<o:p></o:p></span></p>

<p class=3DMsoNormal><o:p> </o:p></p>

</div>

<pre>**********************************************************************=
********************
This message may contain confidential or proprietary information intended o=
nly for the use of the
addressee(s) named above or may contain information that is legally privile=
ged. If you are
not the intended addressee, or the person responsible for delivering it to =
the intended addressee,
you are hereby notified that reading, disseminating, distributing or copyin=
g this message is strictly
prohibited. If you have received this message by mistake, please immediatel=
y notify us by
replying to the message and delete the original message and any copies imme=
diately thereafter.

Thank you.
***************************************************************************=
***************
CLLD
</pre></body>

</html>

--_000_F849E59B1BB96C42A849EBCD724513F515FC3CEF47ISCESNA01CX MB_--
htomeh [ Sa, 07 August 2010 02:26 ] [ ID #2045948 ]
Datenbanken » gmane.comp.db.postgresql.admin » High-water Mark for number of sessions/connections reached inPostgres

Vorheriges Thema: High-water Mark for number of sessions/connections reached inPostgres
Nächstes Thema: out of memory error