Hi,
On Mon, Aug 17, 2020 at 1:17 PM Firthouse banu <penguinsfairy@gmail.com> wrote:
>
> Hi Team,
>
> I have 3 tables one with 84k records , one with 20 records and another one with 1000 records and am fetching few
columnsfrom all these tables with some conditions . It’s taking forever and in explain plan it is having nested loop
andcost is high. I have created index also for these tables but still it’s taking sequential scan.
>
> Any suggestions
It's impossible to help with that few details. See
https://wiki.postgresql.org/wiki/Slow_Query_Questions for what to
include.