Benchmarksql - 2.3.2 Installation and User Guide: Environment
Benchmarksql - 2.3.2 Installation and User Guide: Environment
https://sdlc3e.sun.com/ECom/EComActionServlet;jsessionid=45F28B6E93FBCA3CF8B7C6C838
A77669# )
OraclePoint.com
OraclePoint.com
OraclePoint.com
2. make sure the project created successfully
We suggest you create a new oracle user with necessary DBA roles.
OraclePoint.com
4. Run the "sqlTableCreates" to create the base tables
OraclePoint.com
w_city varchar(20),
w_state char(2),
w_zip char(9)
);
-- SQL Success: Runtime = 517 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
OraclePoint.com
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
OraclePoint.com
ol_delivery_d timestamp,
ol_amount decimal(6,2),
ol_supply_w_id integer,
ol_quantity decimal(2,0),
ol_dist_info char(24)
);
-- SQL Success: Runtime = 516 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
C:\Program Files\BenchmarkSQL-2.3.2\run>
OraclePoint.com
5. Run the "loadData" command file to load all of the default data for a
benchmark
OraclePoint.com
C:\Program Files\BenchmarkSQL-2.3.2\run> runSQL oracle.properties
sqlIndexCreates
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
OraclePoint.com
-- history table has no primary key
-- commit;
commit;
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 16 ms --
commit;
-- SQL Success: Runtime = 16 ms --
commit;
-- SQL Success: Runtime = 1 ms --
commit;
OraclePoint.com
-- SQL Success: Runtime = 1 ms --
commit;
-- SQL Success: Runtime = 1 ms --
vacuum analyze;
-- SQL Runtime Exception -----------------------------------------
DBMS SqlCode=900 DBMS Msg=
ORA-00900: invalid SQL statement
------------------------------------------------------------------
Among the output, you may experience ORA-00900 error as highlighted above in color
red. The command “vacuum analyze”is POSTGRESQL-specific command to analyze
database objects. In Oracle, we do as followings.
OraclePoint.com
And then, we’ll see Java Applet as following.
Based on that, you can freely setup the necessary parameters to got tpmC value on your
system.
About Author
OraclePoint.com