On Sat, 11 Jul 2020 at 02:48, Vishwa Kalyankar <vishwakalyankar8@xxxxxxxxx> wrote: > Below is the output of the query explain and analyze result. You may find better help here if you follow the advice given in https://wiki.postgresql.org/wiki/Slow_Query_Questions David