explain.depesz.com

PostgreSQL's explain analyze made readable

Result: sg3y

Settings
# exclusive inclusive rows x rows loops node
1. 0.179 131.611 ↑ 195.0 4 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Hash (cost=12.38..12.38 rows=16 width=726) (actual time=4.030..4.041 rows=16 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 13kB
10. 3.252 3.252 ↑ 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=2.784..3.252 rows=16 loops=1)

11. 17.487 37.226 ↑ 1.0 882 1

Hash (cost=42.61..42.61 rows=882 width=37) (actual time=37.216..37.226 rows=882 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 51kB
12. 19.739 19.739 ↑ 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.041..19.739 rows=882 loops=1)

13. 0.178 2.912 ↑ 1.0 4 1

Hash (cost=12.19..12.19 rows=4 width=670) (actual time=2.902..2.912 rows=4 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 9kB
14. 2.734 2.734 ↑ 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=2.652..2.734 rows=4 loops=1)

15. 22.598 56.131 ↑ 1.0 1,179 1

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

  • Buckets: 2048 Batches: 1 Memory Usage: 138kB
16. 33.533 33.533 ↑ 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.068..33.533 rows=1,179 loops=1)

17. 3.955 7.841 ↑ 1.0 296 1

Hash (cost=40.31..40.31 rows=296 width=176) (actual time=7.831..7.841 rows=296 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 70kB
18. 3.886 3.886 ↑ 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.886 rows=296 loops=1)

19. 0.119 2.017 ↑ 1.0 8 1

Hash (cost=12.25..12.25 rows=8 width=671) (actual time=2.007..2.017 rows=8 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 11kB
20. 1.898 1.898 ↑ 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=1.799..1.898 rows=8 loops=1)

Planning time : 38.290 ms
Execution time : 132.483 ms