Hello,
My recursive CTE query is dealing with quite massive data volume (tens of millions of records) and there could be up to 3.5k iterations thus the query is running for many hours. Naturally, this is not the only process running on the server thus processing time varies. I'd like to track query performance while it's running so that I can better estimate time to completion. Is there a way to figure out which iteration is currently processed? I bet server must have this information somewhere, but I can't locate appropriate SYS table and column.
Thank you very much for any advice or hint!
Daniel