E. van der Poll
Member²
I am trying to get some Oracle query statistics for the queries we are using. I found that the number of records read from the server does not match the number of records fetched by the program.
I use a TOracleDataset, in combination with a DBgrid. Normally the ReadBuffer is set to 25. If the grid can show 13 records, there will still be 25 records read from the server. I can see that in the SQL monitor. If I display RecordCount as a means of comparing the statistics I get the wrong values.
Can I access the actual number of records read from the server (other than setting ReadBuffer to 1)?
I use a TOracleDataset, in combination with a DBgrid. Normally the ReadBuffer is set to 25. If the grid can show 13 records, there will still be 25 records read from the server. I can see that in the SQL monitor. If I display RecordCount as a means of comparing the statistics I get the wrong values.
Can I access the actual number of records read from the server (other than setting ReadBuffer to 1)?