explain.depesz.com

PostgreSQL's explain analyze made readable

Result: THZ

Settings
# exclusive inclusive rows x rows loops node
1. 3.376 813.557 ↓ 15,148.5 30,297 1

Append (cost=7,931.58..9,583.32 rows=2 width=302) (actual time=155.601..813.557 rows=30,297 loops=1)

2.          

CTE expanded_compounds

3. 3.373 22.787 ↓ 1.0 10,017 1

HashAggregate (cost=4,109.57..4,209.61 rows=10,004 width=8) (actual time=21.323..22.787 rows=10,017 loops=1)

  • Group Key: compounds_expanded_by_structure.id
4. 0.441 19.414 ↓ 1.0 10,017 1

Append (cost=1,503.12..4,084.56 rows=10,004 width=8) (actual time=2.827..19.414 rows=10,017 loops=1)

5. 0.000 4.233 ↓ 3.6 18 1

Nested Loop Anti Join (cost=1,503.12..1,696.23 rows=5 width=8) (actual time=2.827..4.233 rows=18 loops=1)

6. 0.001 4.218 ↓ 3.6 18 1

Nested Loop (cost=1,502.97..1,695.35 rows=5 width=8) (actual time=2.820..4.218 rows=18 loops=1)

7. 0.002 4.181 ↓ 1.8 9 1

Nested Loop Semi Join (cost=1,502.68..1,666.49 rows=5 width=8) (actual time=2.813..4.181 rows=9 loops=1)

  • Join Filter: (syn_compound_2.id = ld_entities_projects_2.entity_id)
8. 0.648 4.098 ↑ 1.9 9 1

Hash Join (cost=1,502.32..1,664.98 rows=17 width=24) (actual time=2.759..4.098 rows=9 loops=1)

  • Hash Cond: ("*VALUES*_6".column1 = ld_entity_2.entity_id)
9. 1.345 1.345 ↑ 1.0 9,999 1

Values Scan on "*VALUES*_6" (cost=0.00..124.99 rows=9,999 width=32) (actual time=0.004..1.345 rows=9,999 loops=1)

10. 0.025 2.105 ↑ 1.0 121 1

Hash (cost=1,500.81..1,500.81 rows=121 width=32) (actual time=2.104..2.105 rows=121 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 17kB
11. 0.023 2.080 ↑ 1.0 121 1

Nested Loop (cost=0.29..1,500.81 rows=121 width=32) (actual time=0.020..2.080 rows=121 loops=1)

12. 1.936 1.936 ↑ 1.0 121 1

Seq Scan on syn_compound syn_compound_2 (cost=0.00..651.30 rows=121 width=16) (actual time=0.011..1.936 rows=121 loops=1)

  • Filter: (data_source_id <> 3)
  • Rows Removed by Filter: 21103
13. 0.121 0.121 ↑ 1.0 1 121

Index Scan using pk_ld_entity on ld_entity ld_entity_2 (cost=0.29..7.02 rows=1 width=16) (actual time=0.001..0.001 rows=1 loops=121)

  • Index Cond: (id = syn_compound_2.id)
14. 0.036 0.081 ↑ 2.0 1 9

Hash Join (cost=0.36..0.45 rows=2 width=8) (actual time=0.009..0.009 rows=1 loops=9)

  • Hash Cond: ("*VALUES*_7".column1 = ld_entities_projects_2.project_id)
15. 0.000 0.000 ↑ 4.0 1 9

Values Scan on "*VALUES*_7" (cost=0.00..0.05 rows=4 width=4) (actual time=0.000..0.000 rows=1 loops=9)

16. 0.009 0.045 ↑ 2.0 1 9

Hash (cost=0.34..0.34 rows=2 width=16) (actual time=0.005..0.005 rows=1 loops=9)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
17. 0.036 0.036 ↑ 2.0 1 9

Index Only Scan using entities_projects_unq on ld_entities_projects ld_entities_projects_2 (cost=0.29..0.34 rows=2 width=16) (actual time=0.004..0.004 rows=1 loops=9)

  • Index Cond: (entity_id = ld_entity_2.id)
  • Heap Fetches: 0
18. 0.036 0.036 ↓ 2.0 2 9

Index Scan using canonical_structure_id_index on syn_compound compounds_expanded_by_structure (cost=0.29..5.76 rows=1 width=16) (actual time=0.003..0.004 rows=2 loops=9)

  • Index Cond: (canonical_structure_id = syn_compound_2.canonical_structure_id)
  • Filter: (data_source_id = 3)
  • Rows Removed by Filter: 1
19. 0.018 0.018 ↓ 0.0 0 18

Index Only Scan using ld_compound_unlink_virtual_compound_id_key on ld_compound_unlink (cost=0.15..0.17 rows=1 width=8) (actual time=0.001..0.001 rows=0 loops=18)

  • Index Cond: (virtual_compound_id = compounds_expanded_by_structure.id)
  • Heap Fetches: 0
20. 2.103 14.740 ↑ 1.0 9,999 1

Hash Join (cost=2,137.06..2,288.29 rows=9,999 width=8) (actual time=10.763..14.740 rows=9,999 loops=1)

  • Hash Cond: ("*VALUES*_8".column1 = ld_entity_3.entity_id)
21. 2.242 2.242 ↑ 1.0 9,999 1

Values Scan on "*VALUES*_8" (cost=0.00..124.99 rows=9,999 width=32) (actual time=0.003..2.242 rows=9,999 loops=1)

22. 4.563 10.395 ↑ 3.3 21,236 1

Hash (cost=1,260.36..1,260.36 rows=70,136 width=16) (actual time=10.395..10.395 rows=21,236 loops=1)

  • Buckets: 131072 Batches: 1 Memory Usage: 2023kB
23. 5.832 5.832 ↑ 1.0 70,136 1

Seq Scan on ld_entity ld_entity_3 (cost=0.00..1,260.36 rows=70,136 width=16) (actual time=0.003..5.832 rows=70,136 loops=1)

24.          

CTE expanded_entities

25. 15.159 58.483 ↓ 1.0 34,374 1

HashAggregate (cost=3,350.58..3,688.60 rows=33,802 width=16) (actual time=50.551..58.483 rows=34,374 loops=1)

  • Group Key: syn_sample_2.id, syn_sample_2.compound_id
26. 1.542 43.324 ↓ 1.0 34,374 1

Append (cost=1,855.27..3,181.57 rows=33,802 width=16) (actual time=34.274..43.324 rows=34,374 loops=1)

27. 3.788 40.945 ↓ 1.0 24,357 1

Hash Join (cost=1,855.27..2,643.47 rows=23,798 width=16) (actual time=34.274..40.945 rows=24,357 loops=1)

  • Hash Cond: (expanded_compounds.numeric_entity_id = syn_sample_2.compound_id)
28. 24.395 24.395 ↓ 1.0 10,017 1

CTE Scan on expanded_compounds (cost=0.00..200.08 rows=10,004 width=8) (actual time=21.325..24.395 rows=10,017 loops=1)

29. 5.747 12.762 ↑ 1.0 48,901 1

Hash (cost=1,244.01..1,244.01 rows=48,901 width=16) (actual time=12.762..12.762 rows=48,901 loops=1)

  • Buckets: 65536 Batches: 1 Memory Usage: 2805kB
30. 7.015 7.015 ↑ 1.0 48,901 1

Seq Scan on syn_sample syn_sample_2 (cost=0.00..1,244.01 rows=48,901 width=16) (actual time=0.005..7.015 rows=48,901 loops=1)

31. 0.837 0.837 ↓ 1.0 10,017 1

CTE Scan on expanded_compounds expanded_compounds_1 (cost=0.00..200.08 rows=10,004 width=16) (actual time=0.001..0.837 rows=10,017 loops=1)

32. 0.000 57.560 ↓ 0.0 0 1

Nested Loop Semi Join (cost=33.36..836.77 rows=1 width=302) (actual time=57.560..57.560 rows=0 loops=1)

33. 0.001 57.560 ↓ 0.0 0 1

Nested Loop Left Join (cost=33.00..836.30 rows=1 width=286) (actual time=57.560..57.560 rows=0 loops=1)

34. 0.000 57.559 ↓ 0.0 0 1

Nested Loop (cost=32.86..836.14 rows=1 width=262) (actual time=57.559..57.559 rows=0 loops=1)

35. 0.000 57.559 ↓ 0.0 0 1

Nested Loop Left Join (cost=32.57..835.84 rows=1 width=244) (actual time=57.559..57.559 rows=0 loops=1)

36. 0.000 57.559 ↓ 0.0 0 1

Nested Loop (cost=32.43..835.67 rows=1 width=236) (actual time=57.559..57.559 rows=0 loops=1)

37. 0.001 57.559 ↓ 0.0 0 1

Nested Loop Left Join (cost=32.29..835.51 rows=1 width=238) (actual time=57.559..57.559 rows=0 loops=1)

38. 0.000 57.558 ↓ 0.0 0 1

Nested Loop (cost=32.00..835.18 rows=1 width=222) (actual time=57.558..57.558 rows=0 loops=1)

39. 0.000 57.558 ↓ 0.0 0 1

Nested Loop Left Join (cost=31.71..834.78 rows=1 width=199) (actual time=57.558..57.558 rows=0 loops=1)

40. 0.000 57.558 ↓ 0.0 0 1

Nested Loop Left Join (cost=31.42..834.36 rows=1 width=180) (actual time=57.558..57.558 rows=0 loops=1)

41. 0.000 57.558 ↓ 0.0 0 1

Nested Loop (cost=31.28..834.21 rows=1 width=182) (actual time=57.558..57.558 rows=0 loops=1)

  • Join Filter: ("*VALUES*_1".column1 = syn_observation_type.name)
42. 0.001 57.558 ↓ 0.0 0 1

Nested Loop (cost=31.28..834.11 rows=1 width=182) (actual time=57.558..57.558 rows=0 loops=1)

43. 0.008 57.557 ↓ 0.0 0 1

Hash Join (cost=31.13..833.94 rows=1 width=181) (actual time=57.557..57.557 rows=0 loops=1)

  • Hash Cond: (expanded_entities.numeric_entity_id = ld_entity.id)
44. 50.552 50.552 ↑ 33,802.0 1 1

CTE Scan on expanded_entities (cost=0.00..676.04 rows=33,802 width=16) (actual time=50.552..50.552 rows=1 loops=1)

45. 0.000 6.997 ↓ 0.0 0 1

Hash (cost=31.12..31.12 rows=1 width=181) (actual time=6.997..6.997 rows=0 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 8kB
46. 0.000 6.997 ↓ 0.0 0 1

Nested Loop Left Join (cost=1.00..31.12 rows=1 width=181) (actual time=6.997..6.997 rows=0 loops=1)

  • Join Filter: (syn_observation.id = syn_observation_attachment.observation_id)
47. 0.001 6.997 ↓ 0.0 0 1

Nested Loop (cost=1.00..29.83 rows=1 width=179) (actual time=6.996..6.997 rows=0 loops=1)

48. 0.004 6.996 ↓ 0.0 0 1

Nested Loop (cost=0.71..29.13 rows=1 width=171) (actual time=6.996..6.996 rows=0 loops=1)

49. 0.006 0.044 ↑ 1.0 3 1

Nested Loop (cost=0.29..24.97 rows=3 width=25) (actual time=0.034..0.044 rows=3 loops=1)

50. 0.002 0.002 ↑ 1.0 3 1

Values Scan on "*VALUES*" (cost=0.00..0.04 rows=3 width=4) (actual time=0.001..0.002 rows=3 loops=1)

51. 0.036 0.036 ↑ 1.0 1 3

Index Scan using syn_observation_protocol_id_pk on syn_observation_protocol (cost=0.29..8.31 rows=1 width=21) (actual time=0.012..0.012 rows=1 loops=3)

  • Index Cond: (id = "*VALUES*".column1)
52. 6.948 6.948 ↓ 0.0 0 3

Index Scan using live_report_id on syn_observation (cost=0.42..1.31 rows=8 width=166) (actual time=2.316..2.316 rows=0 loops=3)

  • Index Cond: ((source_live_report_id = 893) AND (protocol_id = syn_observation_protocol.id))
  • Filter: ((is_published)::text = 'N'::text)
  • Rows Removed by Filter: 9903
53. 0.000 0.000 ↓ 0.0 0

Index Scan using pk_ld_entity on ld_entity (cost=0.29..0.70 rows=1 width=8) (never executed)

  • Index Cond: (id = syn_observation.observed_item_id)
  • Filter: (archived = 0)
54. 0.000 0.000 ↓ 0.0 0

Seq Scan on syn_observation_attachment (cost=0.00..1.13 rows=13 width=10) (never executed)

55. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_observation_type_pk on syn_observation_type (cost=0.14..0.16 rows=1 width=17) (never executed)

  • Index Cond: (id = syn_observation.type_id)
56. 0.000 0.000 ↓ 0.0 0

Values Scan on "*VALUES*_1" (cost=0.00..0.05 rows=4 width=32) (never executed)

57. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_unit_id_pk on syn_observation_unit synconcunit (cost=0.14..0.16 rows=1 width=14) (never executed)

  • Index Cond: (syn_observation.quantity_conc_unit = id)
58. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_sample_id_pk on syn_sample (cost=0.29..0.41 rows=1 width=27) (never executed)

  • Index Cond: (id = expanded_entities.numeric_entity_id)
59. 0.000 0.000 ↓ 0.0 0

Index Scan using pk_ld_entity on ld_entity root_entity (cost=0.29..0.40 rows=1 width=23) (never executed)

  • Index Cond: (id = expanded_entities.root_entity_id)
  • Filter: (archived = 0)
60. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_compound_pkey on syn_compound (cost=0.29..0.33 rows=1 width=24) (never executed)

  • Index Cond: (id = root_entity.id)
61. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_unit_id_pk on syn_observation_unit (cost=0.14..0.16 rows=1 width=14) (never executed)

  • Index Cond: (id = syn_observation.unit_id)
62. 0.000 0.000 ↓ 0.0 0

Index Scan using ld_complex_sample_id_unq_idx on ld_complex (cost=0.14..0.17 rows=1 width=16) (never executed)

  • Index Cond: (sample_id = syn_sample.id)
  • Filter: (archived = 0)
63. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_phenomenon_type_id_pk on syn_phenomenon_type (cost=0.28..0.30 rows=1 width=34) (never executed)

  • Index Cond: (id = syn_observation_protocol.phenomenon_type_id)
64. 0.000 0.000 ↓ 0.0 0

Index Scan using syn_document_id_pk on syn_document (cost=0.14..0.16 rows=1 width=40) (never executed)

  • Index Cond: (syn_observation.document_id = id)
65. 0.000 0.000 ↓ 0.0 0

Hash Join (cost=0.36..0.45 rows=2 width=8) (never executed)

  • Hash Cond: ("*VALUES*_2".column1 = ld_entities_projects.project_id)
66. 0.000 0.000 ↓ 0.0 0

Values Scan on "*VALUES*_2" (cost=0.00..0.05 rows=4 width=4) (never executed)

67. 0.000 0.000 ↓ 0.0 0

Hash (cost=0.34..0.34 rows=2 width=16) (never executed)

68. 0.000 0.000 ↓ 0.0 0

Index Only Scan using entities_projects_unq on ld_entities_projects (cost=0.29..0.34 rows=2 width=16) (never executed)

  • Index Cond: (entity_id = root_entity.id)
  • Heap Fetches: 0
69. 10.452 752.621 ↓ 30,297.0 30,297 1

Nested Loop Semi Join (cost=43.61..848.32 rows=1 width=302) (actual time=98.039..752.621 rows=30,297 loops=1)

70. 0.000 620.981 ↓ 30,297.0 30,297 1

Nested Loop (cost=43.25..847.85 rows=1 width=286) (actual time=98.008..620.981 rows=30,297 loops=1)

71. 6.157 591.091 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=43.11..847.69 rows=1 width=288) (actual time=98.003..591.091 rows=30,297 loops=1)

72. 46.999 554.637 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=42.97..847.53 rows=1 width=290) (actual time=97.996..554.637 rows=30,297 loops=1)

  • Join Filter: (syn_observation_1.id = syn_observation_attachment_1.observation_id)
  • Rows Removed by Join Filter: 393861
73. 6.357 477.341 ↓ 30,297.0 30,297 1

Nested Loop (cost=42.97..846.24 rows=1 width=288) (actual time=97.987..477.341 rows=30,297 loops=1)

  • Join Filter: ("*VALUES*_4".column1 = syn_observation_type_1.name)
  • Rows Removed by Join Filter: 90891
74. 4.806 440.687 ↓ 30,297.0 30,297 1

Nested Loop (cost=42.97..846.14 rows=1 width=288) (actual time=97.983..440.687 rows=30,297 loops=1)

75. 19.878 405.584 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=42.83..845.98 rows=1 width=287) (actual time=97.974..405.584 rows=30,297 loops=1)

76. 22.588 355.409 ↓ 30,297.0 30,297 1

Nested Loop (cost=42.54..845.65 rows=1 width=271) (actual time=97.964..355.409 rows=30,297 loops=1)

77. 13.998 302.524 ↓ 30,297.0 30,297 1

Nested Loop (cost=42.25..845.25 rows=1 width=248) (actual time=97.880..302.524 rows=30,297 loops=1)

78. 5.824 258.229 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=41.97..844.95 rows=1 width=230) (actual time=97.872..258.229 rows=30,297 loops=1)

79. 0.000 222.108 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=41.82..844.78 rows=1 width=206) (actual time=97.864..222.108 rows=30,297 loops=1)

80. 21.072 133.759 ↓ 30,297.0 30,297 1

Hash Join (cost=41.39..844.20 rows=1 width=179) (actual time=97.845..133.759 rows=30,297 loops=1)

  • Hash Cond: (expanded_entities_1.numeric_entity_id = ld_entity_1.id)
81. 14.851 14.851 ↓ 1.0 34,374 1

CTE Scan on expanded_entities expanded_entities_1 (cost=0.00..676.04 rows=33,802 width=16) (actual time=0.000..14.851 rows=34,374 loops=1)

82. 15.542 97.836 ↓ 16,033.0 48,099 1

Hash (cost=41.35..41.35 rows=3 width=179) (actual time=97.836..97.836 rows=48,099 loops=1)

  • Buckets: 65536 (originally 1024) Batches: 1 (originally 1) Memory Usage: 8529kB
83. 10.900 82.294 ↓ 16,033.0 48,099 1

Nested Loop (cost=1.00..41.35 rows=3 width=179) (actual time=0.030..82.294 rows=48,099 loops=1)

84. 5.654 23.295 ↓ 16,033.0 48,099 1

Nested Loop (cost=0.71..40.34 rows=3 width=171) (actual time=0.016..23.295 rows=48,099 loops=1)

85. 0.004 0.019 ↑ 1.0 3 1

Nested Loop (cost=0.29..24.97 rows=3 width=25) (actual time=0.006..0.019 rows=3 loops=1)

86. 0.003 0.003 ↑ 1.0 3 1

Values Scan on "*VALUES*_3" (cost=0.00..0.04 rows=3 width=4) (actual time=0.001..0.003 rows=3 loops=1)

87. 0.012 0.012 ↑ 1.0 1 3

Index Scan using syn_observation_protocol_id_pk on syn_observation_protocol syn_observation_protocol_1 (cost=0.29..8.31 rows=1 width=21) (actual time=0.004..0.004 rows=1 loops=3)

  • Index Cond: (id = "*VALUES*_3".column1)
88. 17.622 17.622 ↓ 130.3 16,033 3

Index Scan using syn_observation_protocol_type_quantity_idx on syn_observation syn_observation_1 (cost=0.42..3.89 rows=123 width=166) (actual time=0.007..5.874 rows=16,033 loops=3)

  • Index Cond: (protocol_id = syn_observation_protocol_1.id)
  • Filter: ((is_published)::text = 'Y'::text)
89. 48.099 48.099 ↑ 1.0 1 48,099

Index Scan using pk_ld_entity on ld_entity ld_entity_1 (cost=0.29..0.34 rows=1 width=8) (actual time=0.001..0.001 rows=1 loops=48,099)

  • Index Cond: (id = syn_observation_1.observed_item_id)
  • Filter: (archived = 0)
90. 30.297 90.891 ↑ 1.0 1 30,297

Nested Loop Left Join (cost=0.43..0.58 rows=1 width=35) (actual time=0.002..0.003 rows=1 loops=30,297)

91. 60.594 60.594 ↑ 1.0 1 30,297

Index Scan using syn_sample_id_pk on syn_sample syn_sample_1 (cost=0.29..0.41 rows=1 width=27) (actual time=0.001..0.002 rows=1 loops=30,297)

  • Index Cond: (id = expanded_entities_1.numeric_entity_id)
92. 0.000 0.000 ↓ 0.0 0 30,297

Index Scan using ld_complex_sample_id_unq_idx on ld_complex ld_complex_1 (cost=0.14..0.17 rows=1 width=16) (actual time=0.000..0.000 rows=0 loops=30,297)

  • Index Cond: (sample_id = syn_sample_1.id)
  • Filter: (archived = 0)
93. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_document_id_pk on syn_document syn_document_1 (cost=0.14..0.16 rows=1 width=40) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (syn_observation_1.document_id = id)
94. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_phenomenon_type_id_pk on syn_phenomenon_type syn_phenomenon_type_1 (cost=0.28..0.30 rows=1 width=34) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (id = syn_observation_protocol_1.phenomenon_type_id)
95. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using pk_ld_entity on ld_entity root_entity_1 (cost=0.29..0.40 rows=1 width=23) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (id = expanded_entities_1.root_entity_id)
  • Filter: (archived = 0)
96. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_compound_pkey on syn_compound syn_compound_1 (cost=0.29..0.33 rows=1 width=24) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (id = root_entity_1.id)
97. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_observation_type_pk on syn_observation_type syn_observation_type_1 (cost=0.14..0.16 rows=1 width=17) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (id = syn_observation_1.type_id)
98. 30.297 30.297 ↑ 1.0 4 30,297

Values Scan on "*VALUES*_4" (cost=0.00..0.05 rows=4 width=32) (actual time=0.000..0.001 rows=4 loops=30,297)

99. 30.297 30.297 ↑ 1.0 13 30,297

Seq Scan on syn_observation_attachment syn_observation_attachment_1 (cost=0.00..1.13 rows=13 width=10) (actual time=0.000..0.001 rows=13 loops=30,297)

100. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_unit_id_pk on syn_observation_unit synconcunit_1 (cost=0.14..0.16 rows=1 width=14) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (syn_observation_1.quantity_conc_unit = id)
101. 30.297 30.297 ↑ 1.0 1 30,297

Index Scan using syn_unit_id_pk on syn_observation_unit syn_observation_unit_1 (cost=0.14..0.16 rows=1 width=14) (actual time=0.001..0.001 rows=1 loops=30,297)

  • Index Cond: (id = syn_observation_1.unit_id)
102. 60.594 121.188 ↑ 2.0 1 30,297

Hash Join (cost=0.36..0.45 rows=2 width=8) (actual time=0.004..0.004 rows=1 loops=30,297)

  • Hash Cond: ("*VALUES*_5".column1 = ld_entities_projects_1.project_id)
103. 0.000 0.000 ↑ 4.0 1 30,297

Values Scan on "*VALUES*_5" (cost=0.00..0.05 rows=4 width=4) (actual time=0.000..0.000 rows=1 loops=30,297)

104. 30.297 60.594 ↑ 1.0 2 30,297

Hash (cost=0.34..0.34 rows=2 width=16) (actual time=0.002..0.002 rows=2 loops=30,297)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
105. 30.297 30.297 ↑ 1.0 2 30,297

Index Only Scan using entities_projects_unq on ld_entities_projects ld_entities_projects_1 (cost=0.29..0.34 rows=2 width=16) (actual time=0.001..0.001 rows=2 loops=30,297)

  • Index Cond: (entity_id = root_entity_1.id)
  • Heap Fetches: 0
Planning time : 161.223 ms
Execution time : 817.240 ms