We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Help me find what triggers AnalyzeStats — Vertica Forum

Help me find what triggers AnalyzeStats

Hi, I am finding a whole block of these in my vertica log, appearing hourly:

2025-03-13 04:00:06.802 DistCall Dispatch:0x7f081f7fe700-a000000676f5f6 [Txn] Starting Commit: Txn: a000000676f5f6 'AnalyzeStats: (Table: shema_name.TABLE_NAME) (Mode: All Columns)' 73665929

I am at my wits' end trying to understand what triggers them. Whenever I trigger them manually, I use
select analyze_statistics(''); or select analyze_statistics('schema_name.TABLE_NAME') and then I can see those selects in the log. But in my case no 'select analyze_statistics' queries can be found in the log!

So how else do those AnalyzeStats get triggered?

Answers

  • dimitri_pdimitri_p
    edited March 17

    Looks like the query itself is only recorded in the vertica.log of the node, that it was issued on and the rest of the nodes just get the output

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file