caching - How to disable oracle cache for performance tests -
I am trying to test the usefulness of a new summary table for my data.
So I have prepared two processes to bring data of a fixed interval, each using a different table source, so on my C # console application, I only call one or the other phone problem Starts when I want to repeat it several times to make a good pattern of reaction time.
I found something like this: 1199,84,81,81,81,81,82,80,80, 81,81,80,81,91,80,80,81,80
Perhaps my Oracle 10G is making an improper caching.
How can I solve it?
Edit: See what describes and why not to do this.
If you are in a testing environment, you can keep your tablespace offline and online again:
ALTER TABLESPACE & lt; Tablespace_name & gt; Offline; ALTER TABLESPACE & lt; Tablespace_name & gt; Online;
Or you can try
ALTER SYSTEM FLUSH BUFFER_CACHE;
But then on the test environment itself.
When you test on your "real" system, after the first call (using cached data) you may be as interesting, the more interesting it is that you Will cache. Call the process twice, and consider only the performance results that you get in subsequent execution.
Comments
Post a Comment