I have a pretty old KB, which has several indices that were defined to improve the performance of reports. The reports have changed over time and surely there are many indexes that no longer make sense and I would like to eliminate them.
Try to do a xRef
of the object Index
to see what programs (procedures, webpanels, etc) use the index in your navigation but the list of "Is Referenced By" is always blank - as much as I know that the index is used:
Does anyone have a trick to solve this?
Update the Question after Mark's response:
The question does not focus on the use of the indices in the database - that as the Marcos explains, the DBMS will use or not the indices that we define in GeneXus - the intention of the question is more for cleaning / order of the KB ...
That is to say, if I have defined indexes defined in the KB that are not being referenced (that is, in the KB there is no object that establishes that Order) it is extremely high probability that the index is not used by the DBMS (a unless you have been very lucky!;). However, the existence of the index (not referenced) does negatively affect the writing operations in the database. I'm sure many old KBs suffer from this problem.
I could go deleting indices and throw a specification - to see which objects report a warning for lack of index - to verify that I do not have any object that references it, but ... it seemed a bit too much work.
Another case of use of the x-ref for indexes happens to me when there are defined indexes that are similar - Index 1: A, B, C and index 2: B, C, A, D - and are candidates to analyze if not It is convenient to unify them into one and for that it is important to understand which navigations use them and analyze if that separation makes sense or not.