<div dir="ltr">My bottle neck  is about the &quot; Large queries&quot;, the queries with more 100.000 records table. The time of decadence is enormous. <div style>For a 1104 records result 8 seconds in direct connection and 1 minute 5 s in pgpool streaming mode. </div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/26 Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You could always use standard performance tools such as sysstat,<br>
vmstat etc. to know which is the bottle neck.<br>
<div><div class="h5">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
&gt; Instead when i execute simultaneous async queries (select) with AJAX, i<br>
&gt; notice my server use a lot of processes. These processes use resources. Is<br>
&gt; only the hardware and the net its bottleneck ?<br>
&gt; thk a lot<br>
&gt; Franz<br>
&gt;<br>
&gt;<br>
&gt; 2013/2/26 Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;<br>
&gt;<br>
&gt;&gt; &gt; Is there a guide about performance setting by hardware ? I have an hard<br>
&gt;&gt; &gt; decrement in my select queries. I used streaming replication on two<br>
&gt;&gt; windows<br>
&gt;&gt; &gt; server with PG 8.3. Sorry but client&#39;s requisites do not permit to<br>
&gt;&gt; migrate<br>
&gt;&gt; &gt; to Linux. :-(<br>
&gt;&gt;<br>
&gt;&gt; There&#39;s no performance documentation yet. However I think the major<br>
&gt;&gt; bottle neck is network, including netowrk hardware and TCP/IP stack.<br>
&gt;&gt;<br>
&gt;&gt; Also too trivial SELECT (like pgbench -S) will mask the effect of<br>
&gt;&gt; pgpool performance boosting in load balancing.<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
</div></div>&gt; *Franci anni&#39;80*<br>
<div class="HOEnZb"><div class="h5">&gt; ♫<br>
&gt; (\ /)<br>
&gt; ( . .) ♥●•٠·˙<br>
&gt; c(&quot;)(&quot;)<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><i style="font-family:courier new,monospace">Franci anni&#39;80</i><br><h6><span>♫<br>(\ /) <br>( . .) ♥●•٠·˙ <br>c(&quot;)(&quot;)</span></h6><br>
<div style="display:inline"></div>
</div>