Checking stats_off
in svv_table_info
I saw that some tables have around 10.0 of this stats off.
In AWS docs the description for that field is:
Number that indicates how stale the table's statistics are; 0 is current, 100 is out of date.
In other docs I found that to update statistics you have to run ANALYZE
statement.
I run several times VACUUM FULL
and ANALYZE
and stats_off
didn't change at all. On the other hand the unsorted row values decreased to almost.
Why is this happening? Maybe is because 10 is a valid value and Redshift
do not update stats despite forcing it?