Re: Arithmetic
Posted in 1999
Carlos Bolden wrote: > > It's not Neccesarily update statistics. I've recieved this error during > multiple threads doing kaio, also on many of the backend processes. > > The question I ask now is have you or has anyone ever updated the nuniques > column of sysindexes in the perspective database and have they run into any > problems... I had a problem last year with queries choosing wrong indexes and we had one of the optimizer developers here on site for a day and his solution was to manually muck the sysindexes attributes fields (nunique, levels, leaves, clust) until the index we wanted looked more desireable to the optimizer than the one it seemed to prefer. Anyway this engineer stated that those columns are only accessed by the optimizer for determining which of several candidate indexes will be most efficient. They are never looked at by the operational portions of the engine so it is safe to update these manually. You just need to be careful in the sense that while fixing query on eyou may break query 2. But that is not the problem you have. Art S. Kagel