Multiple column indexing
Hi, I'm doing indexing of 2 columns like this: users will look up the "codinternocomputacional" and then the "CODCANALCOMUNICACIONCLI".
Is this the best way to do it for a faster query?
<!--Cardinalidad Recipient vs. PREFERNCIACOMUNICACION 1-N -->
<element integrity="normal" label="Recipient" name="recipient" noDbIndex="true"
revIntegrity="normal" revLabel="Recipient PreferenciasCom Link" revLink="MD_PREFERENCIACOMUNICACION_CCM"
target="nms:recipient" type="link">
<join xpath-dst="@id" xpath-src="@RECIPIENTID"/>
</element>
<!--Indices -->
<dbindex name="codinternocomputacional">
<keyfield xpath="@codinternocomputacional"/>
</dbindex>
<dbindex name="CODCANALCOMUNICACIONCLI">
<keyfield xpath="@CODCANALCOMUNICACIONCLI"/>
</dbindex>