I have a query with two tables join based on condition b.customer_id = a.customer_id, there is index(btree) on both table on both columns customer_id.
When I ran explain analyze it says 15 ms:
But when I execute query it took 26 secs:
Successfully run. Total query runtime: 26 secs 168 msec.
30038 rows affected.
