Skip to main content

Stats not reflected in System tables

  • May 2, 2019
  • 2 replies
  • 9 views

esangrame
Forum|alt.badge.img+1

Hi ,

I'm collecting statistics on the column and the whole table, but it is not reflected in the projections and projection_columns table.

Tried executing analyze_statistics with 100%, but still couldn't see it in system tables.

Please let me know if I'm missing anything.

2 replies

esangrame
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • May 2, 2019

Got the answer, it is because the table was full refreshed after the stats was collected. So a table with 0 columns won't collect any stats.
I hope my assumption is correct.


esangrame
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • May 2, 2019

Thank you.
One more doubt. I have collected stats on the tables and columns with which I join the two tables.
But in the explain plan it shows NO STATISTICS.