explain.depesz.com

PostgreSQL's explain analyze made readable

Result: t13x

Settings
# exclusive inclusive rows x rows loops node
1. 0.203 79.134 ↑ 195.0 4 1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Hash (cost=12.38..12.38 rows=16 width=726) (actual time=0.584..0.595 rows=16 loops=1)

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

11. 12.271 24.989 ↑ 1.0 882 1

Hash (cost=42.61..42.61 rows=882 width=37) (actual time=24.979..24.989 rows=882 loops=1)

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

13. 0.166 0.259 ↑ 1.0 4 1

Hash (cost=12.19..12.19 rows=4 width=670) (actual time=0.148..0.259 rows=4 loops=1)

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

15. 16.676 34.956 ↑ 1.0 1,179 1

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

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

17. 4.233 8.741 ↑ 1.0 296 1

Hash (cost=40.31..40.31 rows=296 width=176) (actual time=8.731..8.741 rows=296 loops=1)

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

19. 0.198 0.346 ↑ 1.0 8 1

Hash (cost=12.25..12.25 rows=8 width=671) (actual time=0.336..0.346 rows=8 loops=1)

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

Planning time : 2.211 ms
Execution time : 79.929 ms