Skip to main content
Question

Monitoring table refresh

  • December 21, 2021
  • 3 replies
  • 8 views

Tim_1
Forum|alt.badge.img+1
  • Participating Frequently

Hi,
Sorry, I'm sure the answer is already in the forum, but I can't find it.
After adding a new projection to a table I'm running a "select refresh" of the table. Is there any way of monitoring the progression to see how much it still has to do?
Regards
Tim

3 replies

s_crossman
Forum|alt.badge.img
  • Participating Frequently
  • December 21, 2021

Tim,

There is a Vertica system table PROJECITON_REFRESHES that I think will give you the details you are looking for. Info on it can be found in the SQL Reference Manual under the V_Monitor systems tables section.

I hope it helps.


Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • December 21, 2021

@Tim_1 - Following up on @s_crossman's recommendation, note that Vertica 11 added a new super informative column named PERCENT_COMPLETE to the PROJECTION_REFRESHES system table!

If you are running a version of Vertica < 11, you can create a database view manually that mimic's Vertica 11's PROJECTION_REFRESHES system table using the attached script.


Tim_1
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • January 7, 2022

Thanks Jim, running version 9 so script is useful.