Re: [PERFORM] slow index scan performance

2017-09-05 Thread Soni M
Trying on another server, it gives different result. -> Index Scan using response_log_by_activity on public.response_log rl2 (cost=0.00..50.29 rows=17 width=8) (actual time=0.955..0.967 rows=0 loops=30895) Output: rl2.activity_id, rl2.feed_id

Re: [PERFORM] slow index scan performance

2017-09-05 Thread Soni M
It's Postgres 9.1.24 on RHEL 6.5 On Tue, Sep 5, 2017 at 8:24 PM, Soni M wrote: > Consider these 2 index scan produced by a query > > -> Index Scan using response_log_by_activity on public.response_log rl2 > (cost=0.00..51.53 rows=21 width=8) (actual time=9.017..9.056 rows=0 > loops=34098) >