Podría probar con un índice parcial:
CREATE INDEX idx_partial ON othertable (m_id)
WHERE (col1 is not null and col2 is not null and col3 is not null);
De los documentos:http://www.postgresql.org/docs /current/interactive/indexes-partial.html
Podría probar con un índice parcial:
CREATE INDEX idx_partial ON othertable (m_id)
WHERE (col1 is not null and col2 is not null and col3 is not null);
De los documentos:http://www.postgresql.org/docs /current/interactive/indexes-partial.html