Guest User

Untitled

a guest
Apr 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. INFO: analyzing "public.zfmt"
  2. INFO: "zfmt": scanned 40432 of 40432 pages, containing 2172838 live rows and 23031 dead rows; 300000 rows in sample, 2172838 estimated total rows
  3. ANALYZE
  4. (nobody@[local]) [flr]> explain SELECT DISTINCT zf.upc, t.bkkey
  5. FROM zfmt zf LEFT OUTER JOIN ztestbook t ON zf.upc = t.upc
  6. WHERE zf.format NOT IN ('Minidisc', 'Vinyl', 'Laserdisc', 'Memory Card');
  7. QUERY PLAN
  8. ---------------------------------------------------------------------------------------------------------------
  9. Unique (cost=1049363.71..1085504.99 rows=4818837 width=19)
  10. -> Sort (cost=1049363.71..1061410.80 rows=4818837 width=19)
  11. Sort Key: zf.upc, t.bkkey
  12. -> Merge Left Join (cost=57139.45..423876.20 rows=4818837 width=19)
  13. Merge Cond: (zf.upc = t.upc)
  14. -> Index Scan using zfmt_upc_keepers on zfmt zf (cost=0.00..234872.75 rows=2086169 width=15)
  15. -> Index Scan using ztestbook_upc on ztestbook t (cost=0.00..509648.18 rows=7628206 width=19)
  16. (7 rows)
Add Comment
Please, Sign In to add comment