Added ALTER SYSTEM FLUSH commands to Oracle benchmark scripts

This commit is contained in:
lukaseder 2017-11-22 11:34:58 +01:00
parent 615b103a3d
commit e54bd9b888
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,11 @@
-- This version displays actual execution times.
-- Beware that according to Oracle licensing, it is not allowed to publish benchmark results
SET SERVEROUTPUT ON
ALTER SYSTEM FLUSH SHARED_POOL;
ALTER SYSTEM FLUSH BUFFER_CACHE;
DECLARE
v_ts TIMESTAMP WITH TIME ZONE;
v_repeat CONSTANT NUMBER := 10000;

View File

@ -16,6 +16,10 @@
-- According to our understanding of Oracle licensing, such benchmark results may be published
-- as they cannot be compared to other databases and do not provide absolute time values
SET SERVEROUTPUT ON
ALTER SYSTEM FLUSH SHARED_POOL;
ALTER SYSTEM FLUSH BUFFER_CACHE;
CREATE TABLE results (
run NUMBER(2),
stmt NUMBER(2),