Description
Submitted by: @livius2
Provide a way to see info about packet read in trace.
I mean e.g.:
Table have 10000 records.
I do SELECT * FROM MY_TABLE
But i do not read all records at start (do not fetch all) but i read data in packets e.g. 300 records at one time.
Such statement is shown in MON$STATEMENTS as „Stalled".
Now i do not see any info in trace about this fetches.
I see only PREPARE_STATEMENT, EXECUTE_STATEMENT_START, CLOSE_CURSOR, EXECUTE_STATEMENT_FINISH, FREE_STATEMENT
But i need to calculate how long query was executed.
And between next 300 record fetches can be e.g. 5 minute break.
And i report then such query in my tool as long long running query which consume resources continously.
But really this query run only few ms. All fetches alltogether take e.g. 100ms but i report it as it had been running for an hour or more..