Skip to content

Instantly share code, notes, and snippets.

View aasmc's full-sized avatar

Alex Alexeyev aasmc

View GitHub Profile
@aasmc
aasmc / duplicate_status_job_analysis.txt
Created May 10, 2025 17:03
Analysis of execution plans for duplicate_status_job
List of relations
Schema | Name | Type | Owner | Persistence | Access method | Size | Description
--------+----------------------+-------+-------+-------------+---------------+--------+-------------
public | duplicate_status_job | table | aasmc | permanent | heap | 394 MB |
create index idx_duplicate_status_success on duplicate_status_job(last_execution_time, create_dt DESC) where status = 'SUCCESS';
create index idx_duplicate_status_error on duplicate_status_job(last_execution_time, create_dt DESC) where status = 'ERROR';