explain.depesz.com

PostgreSQL's explain analyze made readable

Result: hssY

Settings
# exclusive inclusive rows x rows loops node
1. 0.000 0.000 ↓ 0.0

XN Hash Left Join DS_BCAST_INNER (cost=25.77..2,365,476,499.16 rows=8,218,980,289 width=169) (actual rows= loops=)

  • Hash Cond: (checksum("outer".unitofmeasure) = "inner".uom_id)
2. 0.000 0.000 ↓ 0.0

XN Hash Join DS_DIST_ALL_NONE (cost=21.87..1,800,947,878.36 rows=7,929,208,548 width=144) (actual rows= loops=)

  • Hash Cond: ((("outer".tag_name)::text = ("inner".tag_name)::text) AND (("outer"."datasource")::text = ("inner"."datasource")::text))
  • Remarks: Derives subplan 0
3. 0.000 0.000 ↓ 0.0

XN Partition Loop (cost=0.00..550,000,020.00 rows=10,000,000,000 width=307) (actual rows= loops=)

4. 0.000 0.000 ↓ 0.0

XN Seq Scan PartitionInfo of ida_eap_prd_tbl_hist.pdc_snsr_wts wts (cost=0.00..20.00 rows=1 width=63) (actual rows= loops=)

  • Filter: ((("month")::text = '01'::text) AND (("year")::double precision = 2019::double precision) AND (subplan 0: (("datasource")::text = ($2)::text)))
5. 0.000 0.000 ↓ 0.0

XN S3 Query Scan wts (cost=0.00..275,000,000.00 rows=10,000,000,000 width=244) (actual rows= loops=)

6. 0.000 0.000 ↓ 0.0

S3 Seq Scan ida_eap_prd_tbl_hist.pdc_snsr_wts wts location:"s3://den-prd-fra-mosaic-archive/ORC/wts" format:ORC_FILE (cost=0.00..175,000,000.00 rows=10,000,000,000 width=244) (actual rows= loops=)

  • Filter: ((tag_timestamp_utc < '2019-01-10 00:00:00'::timestamp without time zone) AND (tag_timestamp_utc >= '2019-01-09 00:00:00'::timestamp without time zone) AND (status = true))
7. 0.000 0.000 ↓ 0.0

XN Hash (cost=14.58..14.58 rows=1,458 width=46) (actual rows= loops=)

8. 0.000 0.000 ↓ 0.0

XN Seq Scan on unit_kpi_gpn ukg (cost=0.00..14.58 rows=1,458 width=46) (actual rows= loops=)

9. 0.000 0.000 ↓ 0.0

XN Hash (cost=3.12..3.12 rows=312 width=29) (actual rows= loops=)

10. 0.000 0.000 ↓ 0.0

XN Seq Scan on uom_cnvs_map uom (cost=0.00..3.12 rows=312 width=29) (actual rows= loops=)