explain.depesz.com

PostgreSQL's explain analyze made readable

Result: t36M

Settings
# exclusive inclusive rows x rows loops node
1. 0.130 59.293 ↑ 195.0 4 1

Sort (cost=619.47..621.42 rows=780 width=3,133) (actual time=59.242..59.293 rows=4 loops=1)

  • Sort Key: l."Id
  • Sort Method: quicksort Memory: 33kB
2. 0.125 59.163 ↑ 195.0 4 1

Hash Left Join (cost=248.49..582.00 rows=780 width=3,133) (actual time=54.931..59.163 rows=4 loops=1)

  • Hash Cond: ((l."LegalEntityTypeRefValue")::text = ("l.LegalEntityTypeRef"."Value")::text)
3. 0.175 58.830 ↑ 195.0 4 1

Hash Left Join (cost=236.14..566.65 rows=780 width=2,462) (actual time=54.680..58.830 rows=4 loops=1)

  • Hash Cond: (l."LogoId" = "l.Logo"."Id")
4. 0.111 51.595 ↑ 195.0 4 1

Hash Left Join (cost=192.13..520.58 rows=780 width=2,286) (actual time=47.524..51.595 rows=4 loops=1)

  • Hash Cond: (l."LicenseId" = "l.License"."Id")
5. 0.116 24.765 ↑ 195.0 4 1

Hash Left Join (cost=78.73..405.14 rows=780 width=2,157) (actual time=20.776..24.765 rows=4 loops=1)

  • Hash Cond: ("l.Accreditation"."AccreditationCategoryRefId" = "l.Accreditation.AccreditationCategoryRef"."Id")
6. 0.112 24.530 ↑ 195.0 4 1

Hash Left Join (cost=66.49..389.32 rows=780 width=1,487) (actual time=20.621..24.530 rows=4 loops=1)

  • Hash Cond: (l."AccreditationId" = "l.Accreditation"."Id")
7. 0.134 4.753 ↑ 195.0 4 1

Hash Left Join (cost=12.85..333.63 rows=780 width=1,450) (actual time=0.928..4.753 rows=4 loops=1)

  • Hash Cond: ((l."LegalFormRefValue")::text = ("l.LegalFormRef"."Value")::text)
8. 4.215 4.215 ↑ 195.0 4 1

Index Scan using "IX_LegalEntities_LegalEntityTypeRefValue" on "LegalEntities" l (cost=0.28..318.67 rows=780 width=724) (actual time=0.491..4.215 rows=4 loops=1)

  • Filter: (immutable_array_to_string(avals("NameTranslations"), ','::text) ~~* '%a%'::text)
  • Rows Removed by Filter: 776
9. 0.190 0.404 ↑ 1.0 16 1

Hash (cost=12.38..12.38 rows=16 width=726) (actual time=0.395..0.404 rows=16 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 13kB
10. 0.214 0.214 ↑ 1.0 16 1

Index Scan using "IX_LegalFormRefs_Value" on "LegalFormRefs" "l.LegalFormRef" (cost=0.14..12.38 rows=16 width=726) (actual time=0.020..0.214 rows=16 loops=1)

11. 9.565 19.665 ↑ 1.0 882 1

Hash (cost=42.61..42.61 rows=882 width=37) (actual time=19.657..19.665 rows=882 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 51kB
12. 10.100 10.100 ↑ 1.0 882 1

Index Scan using "PK_dbo.Accreditations" on "Accreditations" "l.Accreditation" (cost=0.28..42.61 rows=882 width=37) (actual time=0.021..10.100 rows=882 loops=1)

13. 0.055 0.119 ↑ 1.0 4 1

Hash (cost=12.19..12.19 rows=4 width=670) (actual time=0.110..0.119 rows=4 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
14. 0.064 0.064 ↑ 1.0 4 1

Index Scan using "PK_dbo.AccreditationCategoryRefs" on "AccreditationCategoryRefs" "l.Accreditation.AccreditationCategoryRef" (cost=0.13..12.19 rows=4 width=670) (actual time=0.019..0.064 rows=4 loops=1)

15. 12.585 26.719 ↑ 1.0 1,179 1

Hash (cost=98.66..98.66 rows=1,179 width=129) (actual time=26.709..26.719 rows=1,179 loops=1)

  • Buckets: 2048 Batches: 1 Memory Usage: 138kB
16. 14.134 14.134 ↑ 1.0 1,179 1

Index Scan using "PK_dbo.Licenses" on "Licenses" "l.License" (cost=0.28..98.66 rows=1,179 width=129) (actual time=0.018..14.134 rows=1,179 loops=1)

17. 3.258 7.060 ↑ 1.0 296 1

Hash (cost=40.31..40.31 rows=296 width=176) (actual time=7.049..7.060 rows=296 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 70kB
18. 3.802 3.802 ↑ 1.0 296 1

Index Scan using "PK_dbo.Files" on "Files" "l.Logo" (cost=0.15..40.31 rows=296 width=176) (actual time=0.024..3.802 rows=296 loops=1)

19. 0.103 0.208 ↑ 1.0 8 1

Hash (cost=12.25..12.25 rows=8 width=671) (actual time=0.199..0.208 rows=8 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 11kB
20. 0.105 0.105 ↑ 1.0 8 1

Index Scan using "IX_TypeOfLegalEntityRefs_Value" on "LegalEntityTypeRefs" "l.LegalEntityTypeRef" (cost=0.13..12.25 rows=8 width=671) (actual time=0.023..0.105 rows=8 loops=1)

Planning time : 5.625 ms
Execution time : 60.068 ms