explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 6Vje

Settings
# exclusive inclusive rows x rows loops node
1. 39.308 5,419.657 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,167.02..406,656.84 rows=256 width=640) (actual time=3,534.546..5,419.657 rows=6,617 loops=1)

2. 6.516 4,070.183 ↓ 25.8 6,617 1

Hash Left Join (cost=390,166.45..400,043.18 rows=256 width=520) (actual time=3,534.298..4,070.183 rows=6,617 loops=1)

  • Hash Cond: (own_ent_funds.fund_type = fund_type_map.fund_type_code)
3. 6.464 4,063.648 ↓ 25.8 6,617 1

Hash Left Join (cost=390,165.03..400,038.23 rows=256 width=456) (actual time=3,534.273..4,063.648 rows=6,617 loops=1)

  • Hash Cond: (ent_entity_metro_areas.metro_id = metro_map.metro_code)
4. 10.748 4,057.071 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,158.86..400,028.55 rows=256 width=440) (actual time=3,534.153..4,057.071 rows=6,617 loops=1)

5. 6.255 3,986.770 ↓ 25.8 6,617 1

Hash Left Join (cost=390,158.43..399,907.55 rows=256 width=445) (actual time=3,534.137..3,986.770 rows=6,617 loops=1)

  • Hash Cond: (country_map.region_code = region_map.region_code)
6. 6.919 3,980.503 ↓ 25.8 6,617 1

Hash Left Join (cost=390,157.25..399,902.85 rows=256 width=379) (actual time=3,534.119..3,980.503 rows=6,617 loops=1)

  • Hash Cond: (fund_entity.iso_country = country_map.iso_country)
7. 8.422 3,973.410 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,149.18..399,891.26 rows=256 width=367) (actual time=3,533.935..3,973.410 rows=6,617 loops=1)

8. 11.694 3,905.435 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,148.76..397,889.34 rows=256 width=326) (actual time=3,533.919..3,905.435 rows=6,617 loops=1)

9. 9.579 3,834.188 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,148.33..397,332.66 rows=256 width=307) (actual time=3,533.905..3,834.188 rows=6,617 loops=1)

10. 7.766 3,765.056 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,147.90..396,258.21 rows=256 width=276) (actual time=3,533.891..3,765.056 rows=6,617 loops=1)

11. 10.529 3,691.120 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,147.47..395,183.76 rows=256 width=239) (actual time=3,533.876..3,691.120 rows=6,617 loops=1)

12. 8.928 3,627.655 ↓ 25.8 6,617 1

Nested Loop Left Join (cost=390,147.05..393,318.48 rows=256 width=223) (actual time=3,533.859..3,627.655 rows=6,617 loops=1)

13. 10.326 3,559.174 ↓ 25.8 6,617 1

Hash Left Join (cost=390,146.63..391,334.00 rows=256 width=192) (actual time=3,533.838..3,559.174 rows=6,617 loops=1)

  • Hash Cond: ((current_factset_fund_holdings.factset_fund_id = factset_prev_fund_holdings.factset_fund_id) AND (current_factset_fund_holdings.fsym_id = factset_prev_fund_holdings.fsym_id))
14.          

CTE factset_fund_holdings

15. 21.506 1,808.878 ↑ 4.0 12,955 1

Subquery Scan on h (cost=189,243.11..195,376.93 rows=51,263 width=46) (actual time=1,546.216..1,808.878 rows=12,955 loops=1)

  • Filter: (h.pos <= 2)
  • Rows Removed by Filter: 64670
16. 79.911 1,787.372 ↑ 2.0 77,625 1

WindowAgg (cost=189,243.11..193,454.58 rows=153,788 width=46) (actual time=1,546.213..1,787.372 rows=77,625 loops=1)

17. 99.727 1,707.461 ↑ 2.0 77,625 1

Merge Left Join (cost=189,243.11..190,763.29 rows=153,788 width=54) (actual time=1,546.206..1,707.461 rows=77,625 loops=1)

  • Merge Cond: ((own_fund_detail.factset_fund_id = adjh.factset_fund_id) AND (ad.report_date = adjh.report_date))
  • Join Filter: (adjh.fsym_id = sar.fsym_id)
18. 152.261 712.963 ↑ 2.0 77,625 1

Sort (cost=115,291.30..115,675.77 rows=153,788 width=46) (actual time=688.842..712.963 rows=77,625 loops=1)

  • Sort Key: own_fund_detail.factset_fund_id, ad.report_date DESC
  • Sort Method: quicksort Memory: 13973kB
19. 39.775 560.702 ↑ 2.0 77,625 1

Nested Loop (cost=77,017.22..102,042.02 rows=153,788 width=46) (actual time=352.057..560.702 rows=77,625 loops=1)

  • Join Filter: (own_fund_detail.factset_fund_id = ad.factset_fund_id)
20. 2.965 433.437 ↑ 1.6 6,730 1

Nested Loop (cost=77,016.79..77,592.30 rows=10,739 width=51) (actual time=352.030..433.437 rows=6,730 loops=1)

21. 0.015 0.015 ↑ 1.0 1 1

Index Only Scan using own_sec_coverage_fsym_id_idx on own_sec_coverage sar (cost=0.42..8.44 rows=1 width=9) (actual time=0.014..0.015 rows=1 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Fetches: 1
22. 6.803 430.457 ↑ 1.6 6,730 1

Hash Join (cost=77,016.37..77,476.47 rows=10,739 width=51) (actual time=352.014..430.457 rows=6,730 loops=1)

  • Hash Cond: (own_fund_detail.factset_fund_id = ent.factset_fund_id)
23. 35.707 360.908 ↑ 2.4 7,979 1

Unique (cost=72,099.09..72,193.17 rows=18,809 width=54) (actual time=289.117..360.908 rows=7,979 loops=1)

24. 241.455 325.201 ↓ 7.6 143,529 1

Sort (cost=72,099.09..72,146.13 rows=18,816 width=54) (actual time=289.116..325.201 rows=143,529 loops=1)

  • Sort Key: own_fund_detail.factset_fund_id
  • Sort Method: quicksort Memory: 17358kB
25. 65.860 83.746 ↓ 7.6 143,529 1

Bitmap Heap Scan on own_fund_detail (cost=442.39..70,763.18 rows=18,816 width=54) (actual time=20.015..83.746 rows=143,529 loops=1)

  • Recheck Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Blocks: exact=13494
26. 17.886 17.886 ↓ 7.7 144,981 1

Bitmap Index Scan on own_fund_detail_fsym_id_report_date_idx (cost=0.00..437.69 rows=18,816 width=0) (actual time=17.886..17.886 rows=144,981 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
27. 22.316 62.746 ↓ 1.0 68,140 1

Hash (cost=4,065.65..4,065.65 rows=68,131 width=9) (actual time=62.746..62.746 rows=68,140 loops=1)

  • Buckets: 131072 Batches: 1 Memory Usage: 3753kB
28. 40.430 40.430 ↓ 1.0 68,140 1

Seq Scan on own_ent_funds ent (cost=0.00..4,065.65 rows=68,131 width=9) (actual time=0.010..40.430 rows=68,140 loops=1)

  • Filter: (active_flag = 1)
  • Rows Removed by Filter: 51192
29. 87.490 87.490 ↑ 1.2 12 6,730

Index Only Scan using q4_fund_dates_pkey on q4_fund_dates ad (cost=0.43..2.10 rows=14 width=13) (actual time=0.008..0.013 rows=12 loops=6,730)

  • Index Cond: ((factset_fund_id = ent.factset_fund_id) AND (report_date >= '2017-06-10'::date) AND (report_date <= '2019-06-10'::date) AND (report_date >= '2017-06-10'::date) AND (report_date <= '2019-06-10'::date))
  • Heap Fetches: 77625
30. 277.952 894.771 ↓ 7.6 143,529 1

Sort (cost=73,951.81..73,998.84 rows=18,809 width=30) (actual time=857.348..894.771 rows=143,529 loops=1)

  • Sort Key: adjh.factset_fund_id, adjh.report_date DESC
  • Sort Method: quicksort Memory: 17358kB
31. 67.936 616.819 ↓ 7.6 143,529 1

Subquery Scan on adjh (cost=72,099.09..72,616.46 rows=18,809 width=30) (actual time=424.822..616.819 rows=143,529 loops=1)

32. 80.568 548.883 ↓ 7.6 143,529 1

Unique (cost=72,099.09..72,428.37 rows=18,809 width=54) (actual time=424.821..548.883 rows=143,529 loops=1)

33. 390.652 468.315 ↓ 7.6 143,529 1

Sort (cost=72,099.09..72,146.13 rows=18,816 width=54) (actual time=424.819..468.315 rows=143,529 loops=1)

  • Sort Key: own_fund_detail_1.factset_fund_id, own_fund_detail_1.adj_holding, own_fund_detail_1.report_date, own_fund_detail_1.reported_holding, own_fund_detail_1.adj_mv, own_fund_detail_1.reported_mv
  • Sort Method: quicksort Memory: 26321kB
34. 60.555 77.663 ↓ 7.6 143,529 1

Bitmap Heap Scan on own_fund_detail own_fund_detail_1 (cost=442.39..70,763.18 rows=18,816 width=54) (actual time=19.218..77.663 rows=143,529 loops=1)

  • Recheck Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Blocks: exact=13494
35. 17.108 17.108 ↓ 7.7 144,981 1

Bitmap Index Scan on own_fund_detail_fsym_id_report_date_idx (cost=0.00..437.69 rows=18,816 width=0) (actual time=17.108..17.108 rows=144,981 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
36.          

CTE factset_prev_fund_holdings

37. 18.872 1,701.336 ↑ 3.5 12,763 1

Subquery Scan on ph (cost=187,152.43..192,589.70 rows=45,304 width=46) (actual time=1,462.743..1,701.336 rows=12,763 loops=1)

  • Filter: (ph.pos <= 2)
  • Rows Removed by Filter: 51672
38. 67.697 1,682.464 ↑ 2.1 64,435 1

WindowAgg (cost=187,152.43..190,890.79 rows=135,913 width=46) (actual time=1,462.740..1,682.464 rows=64,435 loops=1)

39. 93.185 1,614.767 ↑ 2.1 64,435 1

Merge Left Join (cost=187,152.43..188,512.31 rows=135,913 width=54) (actual time=1,462.732..1,614.767 rows=64,435 loops=1)

  • Merge Cond: ((own_fund_detail_2.factset_fund_id = adjh_1.factset_fund_id) AND (ad_1.report_date = adjh_1.report_date))
  • Join Filter: (adjh_1.fsym_id = sar_1.fsym_id)
40. 125.507 678.276 ↑ 2.1 64,435 1

Sort (cost=113,200.62..113,540.40 rows=135,913 width=46) (actual time=658.081..678.276 rows=64,435 loops=1)

  • Sort Key: own_fund_detail_2.factset_fund_id, ad_1.report_date DESC
  • Sort Method: quicksort Memory: 10592kB
41. 34.921 552.769 ↑ 2.1 64,435 1

Nested Loop (cost=77,017.22..101,612.46 rows=135,913 width=46) (actual time=355.271..552.769 rows=64,435 loops=1)

  • Join Filter: (own_fund_detail_2.factset_fund_id = ad_1.factset_fund_id)
42. 2.938 437.088 ↑ 1.6 6,730 1

Nested Loop (cost=77,016.79..77,592.30 rows=10,739 width=51) (actual time=355.241..437.088 rows=6,730 loops=1)

43. 0.025 0.025 ↑ 1.0 1 1

Index Only Scan using own_sec_coverage_fsym_id_idx on own_sec_coverage sar_1 (cost=0.42..8.44 rows=1 width=9) (actual time=0.023..0.025 rows=1 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Fetches: 1
44. 6.767 434.125 ↑ 1.6 6,730 1

Hash Join (cost=77,016.37..77,476.47 rows=10,739 width=51) (actual time=355.215..434.125 rows=6,730 loops=1)

  • Hash Cond: (own_fund_detail_2.factset_fund_id = ent_1.factset_fund_id)
45. 35.382 363.803 ↑ 2.4 7,979 1

Unique (cost=72,099.09..72,193.17 rows=18,809 width=54) (actual time=291.507..363.803 rows=7,979 loops=1)

46. 242.718 328.421 ↓ 7.6 143,529 1

Sort (cost=72,099.09..72,146.13 rows=18,816 width=54) (actual time=291.506..328.421 rows=143,529 loops=1)

  • Sort Key: own_fund_detail_2.factset_fund_id
  • Sort Method: quicksort Memory: 17358kB
47. 66.226 85.703 ↓ 7.6 143,529 1

Bitmap Heap Scan on own_fund_detail own_fund_detail_2 (cost=442.39..70,763.18 rows=18,816 width=54) (actual time=21.591..85.703 rows=143,529 loops=1)

  • Recheck Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Blocks: exact=13494
48. 19.477 19.477 ↓ 7.7 144,981 1

Bitmap Index Scan on own_fund_detail_fsym_id_report_date_idx (cost=0.00..437.69 rows=18,816 width=0) (actual time=19.477..19.477 rows=144,981 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
49. 22.829 63.555 ↓ 1.0 68,140 1

Hash (cost=4,065.65..4,065.65 rows=68,131 width=9) (actual time=63.555..63.555 rows=68,140 loops=1)

  • Buckets: 131072 Batches: 1 Memory Usage: 3753kB
50. 40.726 40.726 ↓ 1.0 68,140 1

Seq Scan on own_ent_funds ent_1 (cost=0.00..4,065.65 rows=68,131 width=9) (actual time=0.013..40.726 rows=68,140 loops=1)

  • Filter: (active_flag = 1)
  • Rows Removed by Filter: 51192
51. 80.760 80.760 ↑ 1.3 10 6,730

Index Only Scan using q4_fund_dates_pkey on q4_fund_dates ad_1 (cost=0.43..2.07 rows=13 width=13) (actual time=0.008..0.012 rows=10 loops=6,730)

  • Index Cond: ((factset_fund_id = ent_1.factset_fund_id) AND (report_date >= '2017-06-10'::date) AND (report_date <= '2019-06-10'::date) AND (report_date >= '2016-12-31'::date) AND (report_date <= '2018-12-31'::date))
  • Heap Fetches: 64435
52. 238.293 843.306 ↓ 7.6 143,529 1

Sort (cost=73,951.81..73,998.84 rows=18,809 width=30) (actual time=804.635..843.306 rows=143,529 loops=1)

  • Sort Key: adjh_1.factset_fund_id, adjh_1.report_date DESC
  • Sort Method: quicksort Memory: 17358kB
53. 67.802 605.013 ↓ 7.6 143,529 1

Subquery Scan on adjh_1 (cost=72,099.09..72,616.46 rows=18,809 width=30) (actual time=413.336..605.013 rows=143,529 loops=1)

54. 81.544 537.211 ↓ 7.6 143,529 1

Unique (cost=72,099.09..72,428.37 rows=18,809 width=54) (actual time=413.334..537.211 rows=143,529 loops=1)

55. 384.483 455.667 ↓ 7.6 143,529 1

Sort (cost=72,099.09..72,146.13 rows=18,816 width=54) (actual time=413.332..455.667 rows=143,529 loops=1)

  • Sort Key: own_fund_detail_3.factset_fund_id, own_fund_detail_3.adj_holding, own_fund_detail_3.report_date, own_fund_detail_3.reported_holding, own_fund_detail_3.adj_mv, own_fund_detail_3.reported_mv
  • Sort Method: quicksort Memory: 26321kB
56. 54.493 71.184 ↓ 7.6 143,529 1

Bitmap Heap Scan on own_fund_detail own_fund_detail_3 (cost=442.39..70,763.18 rows=18,816 width=54) (actual time=18.829..71.184 rows=143,529 loops=1)

  • Recheck Cond: (fsym_id = 'BHM9TN-S'::bpchar)
  • Heap Blocks: exact=13494
57. 16.691 16.691 ↓ 7.7 144,981 1

Bitmap Index Scan on own_fund_detail_fsym_id_report_date_idx (cost=0.00..437.69 rows=18,816 width=0) (actual time=16.690..16.691 rows=144,981 loops=1)

  • Index Cond: (fsym_id = 'BHM9TN-S'::bpchar)
58. 8.515 1,835.669 ↓ 25.8 6,617 1

Hash Left Join (cost=1,157.26..2,328.61 rows=256 width=112) (actual time=1,820.641..1,835.669 rows=6,617 loops=1)

  • Hash Cond: ((current_factset_fund_holdings.fsym_id = previous_factset_fund_holdings.fsym_id) AND (current_factset_fund_holdings.factset_fund_id = previous_factset_fund_holdings.factset_fund_id))
59. 1,552.751 1,552.751 ↓ 25.8 6,617 1

CTE Scan on factset_fund_holdings current_factset_fund_holdings (cost=0.00..1,153.42 rows=256 width=92) (actual time=1,546.220..1,552.751 rows=6,617 loops=1)

  • Filter: (pos = 1)
  • Rows Removed by Filter: 6338
60. 2.855 274.403 ↓ 24.8 6,338 1

Hash (cost=1,153.42..1,153.42 rows=256 width=92) (actual time=274.403..274.403 rows=6,338 loops=1)

  • Buckets: 8192 (originally 1024) Batches: 1 (originally 1) Memory Usage: 523kB
61. 271.548 271.548 ↓ 24.8 6,338 1

CTE Scan on factset_fund_holdings previous_factset_fund_holdings (cost=0.00..1,153.42 rows=256 width=92) (actual time=0.013..271.548 rows=6,338 loops=1)

  • Filter: (pos = 2)
  • Rows Removed by Filter: 6617
62. 2.832 1,713.179 ↓ 28.7 6,524 1

Hash (cost=1,019.34..1,019.34 rows=227 width=88) (actual time=1,713.178..1,713.179 rows=6,524 loops=1)

  • Buckets: 8192 (originally 1024) Batches: 1 (originally 1) Memory Usage: 485kB
63. 1,710.347 1,710.347 ↓ 28.7 6,524 1

CTE Scan on factset_prev_fund_holdings (cost=0.00..1,019.34 rows=227 width=88) (actual time=1,462.747..1,710.347 rows=6,524 loops=1)

  • Filter: (pos = 1)
  • Rows Removed by Filter: 6239
64. 59.553 59.553 ↑ 1.0 1 6,617

Index Scan using own_ent_funds_pkey on own_ent_funds (cost=0.42..7.73 rows=1 width=31) (actual time=0.008..0.009 rows=1 loops=6,617)

  • Index Cond: (current_factset_fund_holdings.factset_fund_id = factset_fund_id)
65. 52.936 52.936 ↑ 1.0 1 6,617

Index Scan using q4_fund_values_pkey on q4_fund_values (cost=0.41..7.28 rows=1 width=26) (actual time=0.008..0.008 rows=1 loops=6,617)

  • Index Cond: (factset_fund_id = current_factset_fund_holdings.factset_fund_id)
66. 66.170 66.170 ↑ 1.0 1 6,617

Index Scan using sym_entity_pkey on sym_entity inst_entity (cost=0.43..4.19 rows=1 width=37) (actual time=0.009..0.010 rows=1 loops=6,617)

  • Index Cond: (factset_entity_id = own_ent_funds.factset_inst_entity_id)
67. 59.553 59.553 ↑ 1.0 1 6,617

Index Scan using sym_entity_pkey on sym_entity fund_entity (cost=0.43..4.19 rows=1 width=40) (actual time=0.009..0.009 rows=1 loops=6,617)

  • Index Cond: (factset_entity_id = own_ent_funds.factset_fund_id)
68. 59.553 59.553 ↑ 1.0 1 6,617

Index Scan using h_entity_pkey on h_entity (cost=0.43..2.16 rows=1 width=37) (actual time=0.009..0.009 rows=1 loops=6,617)

  • Index Cond: (factset_entity_id = own_ent_funds.factset_fund_id)
69. 59.553 59.553 ↑ 1.0 1 6,617

Index Scan using cyclops_fund_overwrites_pkey on cyclops_fund_overwrites cyclops (cost=0.42..7.81 rows=1 width=51) (actual time=0.008..0.009 rows=1 loops=6,617)

  • Index Cond: (factset_fund_id = current_factset_fund_holdings.factset_fund_id)
70. 0.096 0.174 ↑ 1.0 270 1

Hash (cost=4.70..4.70 rows=270 width=15) (actual time=0.174..0.174 rows=270 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 21kB
71. 0.078 0.078 ↑ 1.0 270 1

Seq Scan on country_map (cost=0.00..4.70 rows=270 width=15) (actual time=0.005..0.078 rows=270 loops=1)

72. 0.005 0.012 ↑ 1.0 8 1

Hash (cost=1.08..1.08 rows=8 width=76) (actual time=0.011..0.012 rows=8 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
73. 0.007 0.007 ↑ 1.0 8 1

Seq Scan on region_map (cost=0.00..1.08 rows=8 width=76) (actual time=0.003..0.007 rows=8 loops=1)

74. 59.553 59.553 ↑ 1.0 1 6,617

Index Scan using ent_entity_metro_areas_pkey on ent_entity_metro_areas (cost=0.43..0.46 rows=1 width=13) (actual time=0.009..0.009 rows=1 loops=6,617)

  • Index Cond: (factset_entity_id = inst_entity.factset_entity_id)
75. 0.056 0.113 ↑ 1.0 185 1

Hash (cost=3.85..3.85 rows=185 width=24) (actual time=0.113..0.113 rows=185 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 19kB
76. 0.057 0.057 ↑ 1.0 185 1

Seq Scan on metro_map (cost=0.00..3.85 rows=185 width=24) (actual time=0.005..0.057 rows=185 loops=1)

77. 0.008 0.019 ↑ 1.0 19 1

Hash (cost=1.19..1.19 rows=19 width=84) (actual time=0.018..0.019 rows=19 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 10kB
78. 0.011 0.011 ↑ 1.0 19 1

Seq Scan on fund_type_map (cost=0.00..1.19 rows=19 width=84) (actual time=0.003..0.011 rows=19 loops=1)

79. 59.553 59.553 ↑ 2.0 1 6,617

Index Scan using own_sec_prices_pkey on own_sec_prices prices (cost=0.57..11.38 rows=2 width=45) (actual time=0.008..0.009 rows=1 loops=6,617)

  • Index Cond: ((fsym_id = current_factset_fund_holdings.fsym_id) AND (price_date = (date_trunc('month'::text, (current_factset_fund_holdings.report_date)::timestamp with time zone) - '1 day'::interval)))
80.          

SubPlan (forNested Loop Left Join)

81. 191.893 1,250.613 ↑ 1.0 1 6,617

Aggregate (cost=14.39..14.40 rows=1 width=32) (actual time=0.189..0.189 rows=1 loops=6,617)

82. 23.342 1,058.720 ↓ 2.0 2 6,617

Nested Loop Left Join (cost=8.59..14.39 rows=1 width=138) (actual time=0.094..0.160 rows=2 loops=6,617)

83. 503.264 1,005.784 ↓ 2.0 2 6,617

Hash Right Join (cost=8.46..14.18 rows=1 width=72) (actual time=0.090..0.152 rows=2 loops=6,617)

  • Hash Cond: (country_map_1.iso_country = ent_entity_address.iso_country)
84. 409.882 409.882 ↑ 1.0 270 6,611

Seq Scan on country_map country_map_1 (cost=0.00..4.70 rows=270 width=15) (actual time=0.002..0.062 rows=270 loops=6,611)

85. 19.851 92.638 ↓ 2.0 2 6,617

Hash (cost=8.45..8.45 rows=1 width=60) (actual time=0.014..0.014 rows=2 loops=6,617)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
86. 72.787 72.787 ↓ 2.0 2 6,617

Index Scan using ent_entity_address_factset_entity_id_idx on ent_entity_address (cost=0.43..8.45 rows=1 width=60) (actual time=0.010..0.011 rows=2 loops=6,617)

  • Index Cond: (factset_entity_id = own_ent_funds.factset_inst_entity_id)
87. 29.594 29.594 ↑ 1.0 1 14,797

Index Scan using region_map_pkey on region_map region_map_1 (cost=0.13..0.19 rows=1 width=76) (actual time=0.002..0.002 rows=1 loops=14,797)

  • Index Cond: (region_code = country_map_1.region_code)
Planning time : 4.633 ms
Execution time : 5,424.556 ms