Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> CREATE INDEX idx_dlq_status ON dlq_events (status);

> CREATE INDEX idx_dlq_status_retry_after ON dlq_events (status, retry_after);

You don't need two indices when one is a prefix of another. Just one `idx_dlq_status_retry_after` will do the job.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: