why Postgresql Explain Cost is Low in Limit and Result Phase but high in Index Scan phase
In the shared plan index scan cost is very high (cost=0.56..696715.50 But Limit (cost=0.56..224.59 is very low and so on result cost Result (cost=224.59..224.60 rows=1 width=8) why it is so? Right now I will consider this query harmless as it…