We regularly run analyze_statistics on one of our tables, and I noticed that the statistics vanishes just as regularly.
SELECT distinct statistics_type FROM projection_columns WHERE table_name = 'our_table';
changes to FULL after running
select analyze_statistics('our_table');
but after some time it is back to very backdated ROWCOUNT statistics.
The only way I could think of for this to happen is if someone or something was running 'drop_statistics' on the table. But no such thing is happening per QUERY_REQUESTS. Plus, once you run drop_statistics, the current statistics type resets to NONE and not to some ancient ROWCOUNT.
Any idea how this is possible?
NB: that is on old Vertica 9.2