explain.depesz.com

PostgreSQL's explain analyze made readable

Result: VwkT

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

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

2.          

CTE expanded_compounds

3. 3.354 22.861 ↓ 1.0 10,017 1

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

  • Group Key: compounds_expanded_by_structure.id
4. 0.452 19.507 ↓ 1.0 10,017 1

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

5. 0.000 4.103 ↓ 3.6 18 1

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

6. 0.000 4.087 ↓ 3.6 18 1

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

7. 0.003 4.051 ↓ 1.8 9 1

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

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

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

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

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

10. 0.024 1.992 ↑ 1.0 121 1

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

  • Buckets: 1024 Batches: 1 Memory Usage: 17kB
11. 0.028 1.968 ↑ 1.0 121 1

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

12. 1.819 1.819 ↑ 1.0 121 1

Seq Scan on syn_compound syn_compound_2 (cost=0.00..651.30 rows=121 width=16) (actual time=0.009..1.819 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.027 0.054 ↑ 2.0 1 9

Hash Join (cost=0.36..0.45 rows=2 width=8) (actual time=0.006..0.006 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.027 ↑ 2.0 1 9

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

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
17. 0.018 0.018 ↑ 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.002..0.002 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.153 14.952 ↑ 1.0 9,999 1

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

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

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

22. 4.532 10.620 ↑ 3.3 21,236 1

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

  • Buckets: 131072 Batches: 1 Memory Usage: 2023kB
23. 6.088 6.088 ↑ 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.004..6.088 rows=70,136 loops=1)

24.          

CTE expanded_entities

25. 14.530 57.501 ↓ 1.0 34,374 1

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

  • Group Key: syn_sample_2.id, syn_sample_2.compound_id
26. 1.520 42.971 ↓ 1.0 34,374 1

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

27. 3.672 40.614 ↓ 1.0 24,357 1

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

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

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

29. 5.740 12.507 ↑ 1.0 48,901 1

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

  • Buckets: 65536 Batches: 1 Memory Usage: 2805kB
30. 6.767 6.767 ↑ 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..6.767 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.001 56.721 ↓ 0.0 0 1

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

33. 0.000 56.720 ↓ 0.0 0 1

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

34. 0.000 56.720 ↓ 0.0 0 1

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

35. 0.000 56.720 ↓ 0.0 0 1

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

36. 0.001 56.720 ↓ 0.0 0 1

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

37. 0.000 56.719 ↓ 0.0 0 1

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

38. 0.001 56.719 ↓ 0.0 0 1

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

39. 0.000 56.718 ↓ 0.0 0 1

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

40. 0.000 56.718 ↓ 0.0 0 1

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

41. 0.000 56.718 ↓ 0.0 0 1

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

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

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

43. 0.007 56.718 ↓ 0.0 0 1

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

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

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

45. 0.001 6.601 ↓ 0.0 0 1

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

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

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

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

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

48. 0.003 6.599 ↓ 0.0 0 1

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

49. 0.003 0.020 ↑ 1.0 3 1

Nested Loop (cost=0.29..24.97 rows=3 width=25) (actual time=0.013..0.020 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.015 0.015 ↑ 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.005..0.005 rows=1 loops=3)

  • Index Cond: (id = "*VALUES*".column1)
52. 6.576 6.576 ↓ 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.192..2.192 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. 11.963 746.747 ↓ 30,297.0 30,297 1

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

70. 0.421 613.596 ↓ 30,297.0 30,297 1

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

71. 5.518 582.878 ↓ 30,297.0 30,297 1

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

72. 46.969 547.063 ↓ 30,297.0 30,297 1

Nested Loop Left Join (cost=42.97..847.53 rows=1 width=290) (actual time=96.462..547.063 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.033 469.797 ↓ 30,297.0 30,297 1

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

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

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

75. 19.803 398.347 ↓ 30,297.0 30,297 1

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

76. 19.839 348.247 ↓ 30,297.0 30,297 1

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

77. 14.760 298.111 ↓ 30,297.0 30,297 1

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

78. 4.354 253.054 ↓ 30,297.0 30,297 1

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

79. 27.005 218.403 ↓ 30,297.0 30,297 1

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

80. 19.825 130.804 ↓ 30,297.0 30,297 1

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

  • Hash Cond: (expanded_entities_1.numeric_entity_id = ld_entity_1.id)
81. 14.600 14.600 ↓ 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.600 rows=34,374 loops=1)

82. 15.818 96.379 ↓ 16,033.0 48,099 1

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

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

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

84. 5.196 22.188 ↓ 16,033.0 48,099 1

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

85. 0.003 0.015 ↑ 1.0 3 1

Nested Loop (cost=0.29..24.97 rows=3 width=25) (actual time=0.005..0.015 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.009 0.009 ↑ 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.003..0.003 rows=1 loops=3)

  • Index Cond: (id = "*VALUES*_3".column1)
88. 16.977 16.977 ↓ 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.006..5.659 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 60.594 ↑ 1.0 1 30,297

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

91. 30.297 30.297 ↑ 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.001 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 : 156.444 ms
Execution time : 810.035 ms