Anda dapat mencoba indeks parsial:
CREATE INDEX idx_partial ON othertable (m_id)
WHERE (col1 is not null and col2 is not null and col3 is not null);
Dari dokumen:http://www.postgresql.org/docs /current/interactive/indexes-partial.html
Anda dapat mencoba indeks parsial:
CREATE INDEX idx_partial ON othertable (m_id)
WHERE (col1 is not null and col2 is not null and col3 is not null);
Dari dokumen:http://www.postgresql.org/docs /current/interactive/indexes-partial.html