-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy patholtpforever.html
More file actions
176 lines (129 loc) · 5.51 KB
/
oltpforever.html
File metadata and controls
176 lines (129 loc) · 5.51 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
<!-- Creator : groff version 1.22.3 -->
<!-- CreationDate: Mon Mar 18 08:51:12 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>oltpforever</title>
</head>
<body>
<h1 align="center">oltpforever</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">oltpforever,
oltpforever2 − Execute oltprun until canceled</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>oltpforever
[-H|--help] [-g|-G] [-a] [-k key] [-R file] [-s n] [-K n]
[-W] [komment text ...]</b></p>
<p style="margin-left:11%; margin-top: 1em"><b>oltpforever2</b></p>
<p style="margin-left:11%; margin-top: 1em">Execute 1h long
runs of the oltp workload until canceled.</p>
<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>-H
--help</b></p>
<p style="margin-left:17%;">Print short help.</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>-g|--graphs|--qegraphs|-G</b></p>
<p style="margin-left:17%;">Show graphs during the runs
using gnuplot’s output to X-Windows. This requires a
properly set DISPLAY environment variable. For details, see
<a href="oltprun.html">oltprun(2rwl)</a>.</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 count 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>-s|--sleep
seconds</b></p>
<p style="margin-left:17%;">Normally, oltpforever starts
the next oltpcore execution as soon as the previous one has
completed; if you provide this option, there will be an
extra sleep between each oltpcore. This can be used to have
an extra period between runs without activity if you
don’t start oltpforever2.</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>-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">If your goal is
to see progression over long time, you can use the
<b>oltpforever</b> command to do so. It does little more
than repeatedly doing <b>oltprun</b> making 3590s long runs.
The process count for these runs is found in the parameter
file which means you can change it without interrupting the
oltpforever run. To stop the run after the next completion,
remove the file named after your project with a .run suffix.
Alternatively, simply hit ctrl-c, which however will
terminate the last run prematurely without cleanup and
without executing oltpplot. You can provide additional text
for your generated html and graphic files by adding extra
arguments to the oltprun command.</p>
<p style="margin-left:11%; margin-top: 1em">Note that there
will be a period between the runs where your database under
test has no workload, and that you can make this period
longer using the -s option. If you want a continuous
workload, you can execute <b>oltpforever2</b> (that does not
take any options) within the first ½ hour of
starting <b>oltpforever</b>; simply start it in a new
session. The latter will then execute the same workload
continuously until stopped or canceled using ctrl-c) but
shifted ½ hour from the former to ensure a
continuously loaded database. If using <b>oltpforever2</b>
you should adjust the number of processes accordingly taking
the double load from the two executions into account.</p>
<p style="margin-left:11%; margin-top: 1em">If running for
extended periods, the time difference between the two may
drift slightly, in which case you may need to restart
both.</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="oltprun.html">oltprun(2rwl)</a>, <a href="oltpday.html">oltpday(2rwl)</a></p>
<hr>
</body>
</html>