How do I monitor a long running CTAS?
bmurrell
Community Edition User ✭
I'm running a Create Table As, but how do I monitor its progress?
I'm looking at counters in v_monitor.execution_engine_profiles and v_internal_events, but they're NULL.
Tagged:
0
Answers
Grab the transaction id and statement id for the CTAS statement and try a query like this?
For the "StorageUnion" operator, when "rows produced" = "rows to process" then it is done.
For the "Sort" operator, when "rows produced" = "total rows read is sort" then it is done.
Note that Sort occurs after StorageUnion.