explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ZqMn

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

Aggregate (cost=337,328.81..337,328.82 rows=1 width=8) (actual rows= loops=)

2. 0.000 0.000 ↓ 0.0

Index Only Scan using ""page_view_202005_time_shopId_product_Id_platform_idx"" on page_view_202005 p (cost=0.58..324,630.12 rows=5,079,477 width=25) (actual rows= loops=)

  • Index Cond: ((""time"" >= ((now() - '10 days'::interval) - '2 mons'::interval)) AND (""time"" <= (now() - '2 mons'::interval)))