Query optimization

Goal

TODO / How to implement

For F004, F005, H002, H003, L001 add additional conditions (or change structure) that will speed up queries.

Acceptance criteria

As a user of postgres-checkup, I can use it on large (~10 TiB and more, having a lot of tables and indexes) production databases, heavily loaded – I don't have situations like this one:

Annotation_Content_Render_Window

Edited by Oleg