-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy patholtprun.html
More file actions
224 lines (159 loc) · 6.96 KB
/
oltprun.html
File metadata and controls
224 lines (159 loc) · 6.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<!-- Creator : groff version 1.22.3 -->
<!-- CreationDate: Wed Jan 3 13:21:10 2024 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="generator" content="groff -Thtml, see www.gnu.org">
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<meta name="Content-Style" content="text/css">
<style type="text/css">
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
h1 { text-align: center }
</style>
<title>oltprun</title>
</head>
<body>
<h1 align="center">oltprun</h1>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="#OPTIONS">OPTIONS</a><br>
<a href="#USAGE">USAGE</a><br>
<a href="#COPYRIGHT">COPYRIGHT</a><br>
<a href="#SEE ALSO">SEE ALSO</a><br>
<hr>
<h2>NAME
<a name="NAME"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">oltprun −
Perform one run using the oltp workload</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>oltprun [-H]
[-g|-G] [-a] [-2] [-k key] [-r runperiod] [-R file] [-n
procs] [-x script] [-o file] [-K n] [-W] [komment text
...]</b></p>
<p style="margin-left:11%; margin-top: 1em">Execute one run
using the oltp workload, saving intermediate results in the
results directory and making final results (including stdout
and stderr) available in the awr directory for browsing.</p>
<p style="margin-left:11%; margin-top: 1em">Any arguments
are added as extra komment text using -K option to
rwloadsim; it must be preceded by -- if it includes any text
that appear like options.</p>
<p style="margin-left:11%; margin-top: 1em">Gnu style long
options are also available as shown below.</p>
<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>-h -H
--help</b></p>
<p style="margin-left:17%;">Print short help.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-n|--processcount
N</b></p>
<p style="margin-left:17%;">Set the number of processes,
default 1</p>
<p style="margin-left:11%; margin-top: 1em"><b>-k|--key
key</b></p>
<p style="margin-left:17%;">Set the key that will be used
when storing results in the repository database. The default
is the same as the project name.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-r|--runperiod
N</b></p>
<p style="margin-left:17%;">Set the runperiod in seconds;
the default is 295s. You will get the nicest graphs if the
value chosen is a bit less than a multiple of 300s. If less
than 125s, no awr reports will be created.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-b|--simulatebatch</b></p>
<p style="margin-left:17%;">In stead of the normal
simulation of an average arrival rate, run everything in a
busy loop without any waiting/queuing taking place. You
typically do this with much fewer threads (and/or processes)
as each thread in each process constantly will be executing
emulated business transactions.</p>
<p style="margin-left:17%; margin-top: 1em">Note that all
burst features are turned off and that only the processing
in the normal pool (set via pool_type in your project file)
is done. You should normally arrange for your connections to
be dedicated and set pool_type:="dedicated", but
if you do use e.g. sessionpool, sessions will constantly be
acquired and released.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-g|--graphs</b></p>
<p style="margin-left:17%;">Show two graphs during the run
using gnuplot’s output to X-Windows; this requires a
properly set DISPLAY environment variable. One graph will
show distribution of sessions on database instances together
with counts of open and active sessions when a session pool
is in use. The other graph will show the throughput of the
various emulated business transactions.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-G|--qegraphs</b></p>
<p style="margin-left:17%;">An alternative to the previous,
where the second running graph will show total throughput
and queue time respectively total time per transaction for a
few selected emulated business transactions. This is
particularly useful when using external control to
immediately see the effect of any changes.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-2</b></p>
<p style="margin-left:17%;">Use side 2 for the
aw_transaction workload; it is used by oltpforever2 and
should not be done directly by the user.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-R|--runfile
file</b></p>
<p style="margin-left:17%;">In stead of using the normal
run.rwl file found in the oltp directory, use the file
named. The primary use of this is for experiments that
require modifications to run.rwl.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-a|--preallocate</b></p>
<p style="margin-left:17%;">If your orders and order_items
tables are partitioned, you can use the -a option to make
sure an empty set of partitions are created at the start of
the run. Only use this if the automatic allocation via
interval partitions appears to cause trouble</p>
<p style="margin-left:11%; margin-top: 1em"><b>-o
file|--extraoutput</b></p>
<p style="margin-left:17%;">Add the contents of the named
text file to generated html output; this can be used if you
want to add more information than feasible using
komment.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-x
script|--extrascript</b></p>
<p style="margin-left:17%;">Execute the named script (which
must be in your current directory) after completion; it will
be provided one argument which is the runnumber.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-i|--integer|-d|--double
spec</b></p>
<p style="margin-left:17%;">Provide the option to rwloadsim
when doing the actual run, i.e. when run.rwl (or the file
given as the -R option) is executed.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-W|--awrwait</b></p>
<p style="margin-left:11%; margin-top: 1em"><b>-K|--awrkill
n</b></p>
<p style="margin-left:17%;">See COMPLETION at
<a href="oltpcore.html">oltpcore(2rwl)</a>.</p>
<h2>USAGE
<a name="USAGE"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">You often
don’t need anything but a few options. All graphs,
html files, etc. will have a default title that is specified
in your parameter file. You can provide additional text by
adding extra arguments to the oltprun command.</p>
<h2>COPYRIGHT
<a name="COPYRIGHT"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Copyright
© 2023 Oracle Corporation <br>
Licensed under the Universal Permissive License v 1.0 as
shown at https://oss.oracle.com/licenses/upl</p>
<h2>SEE ALSO
<a name="SEE ALSO"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><a href="oltp.html">oltp(2rwl)</a>,
<a href="oltpcore.html">oltpcore(2rwl)</a>, <a href="oltpscale.html">oltpscale(2rwl)</a>, <a href="oltpforever.html">oltpforever(2rwl)</a>,
<a href="oltpkomment.html">oltpkomment(2rwl)</a></p>
<hr>
</body>
</html>