pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sugnathi hai <suganhai@yahoo.com>
To: pgsql-performance@lists.postgresql.org <pgsql-performance@lists.postgresql.org>
Subject: Performance tunning
Date: Sat, 30 May 2020 07:36:49 +0000 (UTC)
Message-ID: <975278223.51863.1590824209351@mail.yahoo.com> (raw)
References: <975278223.51863.1590824209351.ref@mail.yahoo.com>

Hi ,
 Can you help to tune the below plan
Limit (cost=0.87..336777.92 rows=100 width=57) (actual time=599302.173..599481.552 rows=100 loops=1) Buffers: shared hit=78496066 -> Nested Loop (cost=0.87..11005874.67 rows=3268 width=57) (actual time=599302.170..599481.506 rows=100 loops=1) Buffers: shared hit=78496066 -> Index Scan using inx_callprocessingstatus_modifieddate on callprocessingstatus contactsta1_ (cost=0.44..2008486.89 rows=15673696 width=16) (actual time=0.356..66774.105 rows=15651059 loops=1) Index Cond: (modifieddate < now()) Filter: ((overallstatus)::text = 'COMPLETED'::text) Rows Removed by Filter: 275880 Buffers: shared hit=15803632 -> Index Scan using "INX_callinfo_Callid" on callinfo contact0_ (cost=0.43..0.57 rows=1 width=49) (actual time=0.033..0.033 rows=0 loops=15651059) Index Cond: (callid = contactsta1_.callid) Filter: ((combinationkey IS NULL) AND (mod(callid, '2'::bigint) = 0)) Rows Removed by Filter: 1 Buffers: shared hit=62692434Planning Time: 1.039 msExecution Time: 599481.758 ms

view thread (4+ messages)  latest in thread

Message-ID: <975278223.51863.1590824209351@mail.yahoo.com>
Permalink:  ../975278223.51863.1590824209351@mail.yahoo.com/
Also on:    postgresql.org/message-id/975278223.51863.1590824209351@mail.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: suganhai@yahoo.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Performance tunning
  In-Reply-To: <975278223.51863.1590824209351@mail.yahoo.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