Orastress! 's author is Geoff Ingram, the author of the ORABM we described earlier, who worked for Oracle for several years and was the author of high Performance Oracle "(isbn:0471224367)."
The book now you can download at this site.
The official web page of the tool can be found here:
Http://www.linxcel.co.uk/orabm/index.html
orastress! you can download it from the original website or choose to download it locally.
The tool is not open source, the default can only use a session test, you can apply for the temporary key from the author, through the following page we can get 7 days of the Non-functional Limited use version:
Orastress! need to run on Windows, you need to install Oracle clients.
After the key is received, the registration method is as follows:
c:\orabm>orastress!
Serial:d5f8-c0a0
After receiving the key, install as follows by entering the Name and key into the dialog box, which is displays when you run:
c:\orabm>orastress! Register
orastress! needs data similar to ORABM, you can refer to the ORABM installation method.
The specific installation steps are as follows:
#
Operation
Command
1
Create the ORABM user (assumes TOOLS tablespace, TEMP temporary tablespace)
Sqlplus system/pwd @orabm_user
2
Create the Tables
Sqlplus system/pwd @orabm_tab
3
Load the data
$ orabmload Warehouses N
4
Create the Indexes
Sqlplus system/pwd @orabm_ind
5
Analyze the tables and indexes
Sqlplus system/pwd @orabm_analyze
6
Ensure ORABM can run the Dbms_lock package
As SYS run:
GRANT EXECUTE on Dbms_lock to ORABM
Note: If the 10-warehouses data is built here, then approximately 1G of space is required.
Here I propose to use the 1,2,3,5,10 warehouses for a single node database to 1,2,4,6,10 concurrent 50,000 transaction tests.
For Multi-node RAC It is recommended to use a 1,2,3,5,10 warehouses for 1,3,4,7,10 concurrent 50,000-transaction tests.
This section of the installation log can refer to: installation log
After you get the test data, you need to run the following script:
Here you need the following parameters:
-s Specifies the number of sessions
-t Specifies the number of things that each session executes.
-c Specifies the join string
-m Specifies the mode of operation. including Read OLTP INS DIO
-s Specifies that the bulk is submitted for INS or Dio mode, by default 10000
Note: if orastress! Run in read mode for a single warehouse, then code execution is the same as ORABM.
The description of the four operating modes is as follows:
Read:runs the identical read-only workload as ORABM to stress CPU and memory.
Oltp:uses all five tpc-c transactions:new-order, Order-status, Payment, Stock-level and Delivery, in order to generate a Mixed-transaction (SQL insert/update/delete) OLTP workload which stresses CPU, memory, and I/O.
Ins:runs an I/O intensive SQL INSERT workload by copying rows to the Item_ins table from the Tpc-c ITEM table.
Dio:runs an I/O intensive Direct-path INSERT workload by copying rows to the Item_dio table from the Tpc-c ITEM table.
Here are some examples of running:
Example 1:
orastress! –s 1–t 50000–c inst1.world–m OLTP
Run one iteration-comprising 50000 transactions in 1 Session-against inst1.world.
Perform a set of tests that test the Inst1.world database through a session containing 50,000 transactions.
Run one iteration comprising 2 concurrent sessions of 50000 transactions on each of Inst1.world,inst2.world giving a total of 4 concurrent sessions. The location of the instances specified by Inst1.world,inst2.world are entirely down to the user. They could be:
Run a set of tests that emit two concurrent sessions for each of the two databases (Inst1.world,inst2.world), 50,000 transactions per session, and two databases can be:
2 Instances of a RAC cluster
different non RAC instances on the same server
different non RAC instances on different servers (e.g. one on Linux, one on Solaris)
Run 3 iterations Each of 50000 transactions to each of four instances:inst1, Inst2, Inst3 and Inst4, where the number of Concurrent sessions in each iteration are:
Run 3 sets of tests, each executing 50,000 transactions for each of the four instances with 1,2,4 concurrent sessions:
1st Iteration:1 Concurrent session on each instance, giving 4 sessions total
2nd Iteration:2 Concurrent sessions on each instance, giving 8 sessions total
3rd Iteration:4 Concurrent sessions on each instance, giving sessions
Results output--Output Result:
Output is very similar to ORABM, showing the transactions per second as each session in each iteration and the Transactio N split between the five tpc-c transactions for OLTP mode:
The output is very similar to the ORABM, for specific reference:
LXD1. World #1 w=3 Txn (All) =5000 xn (SAM) =3999 T (SAM) =431 tps=92.8
---end-fri Sep 19 22:20:19 2003
Here is a brief explanation:
For the benchmark test, the most important is the standard, if you have a unified model and standards, then test data also has significance, otherwise, different concurrency, data to carry out the test is not very significant.
Standards, comparisons, references, which are most important for testing.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.