market_data=> explain analyse SELECT * from theo_prices where security_id = 3452; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------- Seq Scan on theo_prices (cost=0.00..331256.60 rows=159 width=200) (actual time=38531.429..38531.429 rows=0 loops=1) Filter: (security_id = 3452) Total runtime: 38555.114 ms (3 rows) market_data=>