From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: System Query hit to Database
Date: Wed, 10 Feb 2016 23:26:48 -0800
Message-ID: <56BC37B8.9050508@hogranch.com> (raw)
In-Reply-To: <MA1PR01MB003971C860E5C85115D0A034DFA80@MA1PR01MB0039.INDPRD01.PROD.OUTLOOK.COM>
References: <MA1PR01MB003971C860E5C85115D0A034DFA80@MA1PR01MB0039.INDPRD01.PROD.OUTLOOK.COM>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On 2/10/2016 9:02 PM, dhaval jaiswal wrote:
> I am getting lot of following queries on my Database. I need your
> help to stop hitting this kind of queries to database.
I ran that query on a pg server I manage and it took 2.3 milliseconds.
on another instance on the same server, it took 2.00 ms. you'd have to
do that 400-500 times a second continuously to use up one cpu core.
ooh, on a couple older servers it took 4.4ms and 5.0ms, so 200/s.
I'm just saying... If 'lot of queries' means a dozen per second
continuously, thats not much performance wise.
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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-jdbc@postgresql.org
Cc: pierce@hogranch.com
Subject: Re: System Query hit to Database
In-Reply-To: <56BC37B8.9050508@hogranch.com>
References: <MA1PR01MB003971C860E5C85115D0A034DFA80@MA1PR01MB0039.INDPRD01.PROD.OUTLOOK.COM> <56BC37B8.9050508@hogranch.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