On Mar 24, 2010, at 11:37 AM, Ingres Forums wrote:
>
> I am getting the same error on our person records, can you please send
> me some ionstructions on how you would go about re-creating stats as i
> am new to ingres and have very low knowledage on where to go and find
> things. I can see it in VDBA just dont know how to re-create it.
I don't know how to do anything in VDBA. I think there is a "drop
statistics" and "create statistics" menu item somewhere.
At the command line, what you woud do is
statdump -zdl databasename -rtablename -acolumn1 -acolumn2 ...
optimizedb -zv database -rtablename -acolumn1 -acolumn2
The statdump -zdl drops statistics. It's not really necessary, as
the optimizedb will overwrite any old histograms, but it is a
"feel good". The optimizedb command regenerates the
histograms. The -zv option simply tells optimizedb to output
a bit of info when it's done, and can be omitted.
Karl
>> Stay informed about: histogram error