pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Why my query not using index to sort?
Date: Fri, 28 Sep 2018 12:56:49 -0600
Message-ID: <0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.com> (raw)
In-Reply-To: <327CBA05-3910-416D-B1E0-175C44A256AE@zeit.io>
References: <D973243A-5DDC-4B20-A1DF-A0C14A487D2A@zeit.io>
	<20311.1538141875@sss.pgh.pa.us>
	<97DDEE09-FE33-43DB-A451-665F3535B5BA@zeit.io>
	<e737e767-6e89-3c37-e86f-c82e13855a51@a-kretschmer.de>
	<40D9D4B8-7D62-4E6E-B6E9-3F83DACA2D45@zeit.io>
	<61708e66-dcc6-6490-b876-979eff8c3efd@a-kretschmer.de>
	<05A26EE2-964C-4F53-8DB5-CD86D3D46D86@zeit.io>
	<2c10559c-21fa-bb73-3814-cec5583ddb6c@aklaver.com>
	<327CBA05-3910-416D-B1E0-175C44A256AE@zeit.io>



On 09/28/2018 12:51 PM, Arup Rakshit wrote:
>
> Yes, I have shown the explain plan output. But in my application log 
> the sql query prints 1.7 to 1.9 ms.
>
>
How often does the production app make this call?  Apparently it could 
do it 500 times per second.  But at such a rate the network overhead 
would be stupendous - you might think about getting more data per call, 
few calls.




view thread (25+ messages)  latest in thread

Message-ID: <0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.com>
Permalink:  ../0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.com/
Also on:    postgresql.org/message-id/0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.com

 · 

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-general@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: Why my query not using index to sort?
  In-Reply-To: <0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.com>
  References: <D973243A-5DDC-4B20-A1DF-A0C14A487D2A@zeit.io> <20311.1538141875@sss.pgh.pa.us> <97DDEE09-FE33-43DB-A451-665F3535B5BA@zeit.io> <e737e767-6e89-3c37-e86f-c82e13855a51@a-kretschmer.de> <40D9D4B8-7D62-4E6E-B6E9-3F83DACA2D45@zeit.io> <61708e66-dcc6-6490-b876-979eff8c3efd@a-kretschmer.de> <05A26EE2-964C-4F53-8DB5-CD86D3D46D86@zeit.io> <2c10559c-21fa-bb73-3814-cec5583ddb6c@aklaver.com> <327CBA05-3910-416D-B1E0-175C44A256AE@zeit.io> <0a779131-11fb-4ef5-5412-fa4e412317f8@gmail.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