[TRAFODION-2420] RMS enhancements Introduced 2 new counters HeapWM: - "SQL Heap WM" - Tracks the high water mark of the used memory including space buffer and bmo operator memory. It is enough to monitor this counter alone to track the memory utilization of the query. scrIOTime: "Scr. IO Time" - Tracks the IO time taken to read/write to the scratch files at BMO operator level
Introduced a 'Single line Format' option to display BMO stats and SE stats in a single line format to enable exporting the output to Excel easily.
GET STATISTICS FOR QID CURRENT PROGRESS, OPTIONS 'SL'
Removed and cleaned up the code further
Also fixed memory corruption issues seen with GET STATISTICS command.