-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathrwlrun.html
More file actions
164 lines (123 loc) · 4.65 KB
/
Copy pathrwlrun.html
File metadata and controls
164 lines (123 loc) · 4.65 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
<!-- Creator : groff version 1.22.3 -->
<!-- CreationDate: Mon Mar 18 08:51:06 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>rwlrun</title>
</head>
<body>
<h1 align="center">rwlrun</h1>
<a href="#NAME">NAME</a><br>
<a href="#DECLARATION">DECLARATION</a><br>
<a href="#COLUMNS">COLUMNS</a><br>
<a href="#NOTES">NOTES</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">rwlrun −
RWP*Load Simulator rwlrun table</p>
<h2>DECLARATION
<a name="DECLARATION"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">When using a
repository, the rwlrun table contains overall information
about a "run" and it therefore has the runnumber
as its primary key. Some columns are filled by rwloadsim
while you will need an explicit update statement to fill
others.</p>
<pre style="margin-left:11%; margin-top: 1em">create table rwlrun
( runnumber number not null
, key varchar2(30)
, komment varchar2(100)
, rdate date not null
, hostname varchar2(64)
, dbname varchar2(256)
, dbversion varchar2(20)
, constraint rwlrun_pk primary key(runnumber)
, nattr1 number
, nattr2 number
, nattr3 number
, sattr1 varchar2(1000)
, sattr2 varchar2(1000)
, sattr3 varchar2(1000)
)</pre>
<h2>COLUMNS
<a name="COLUMNS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>runnumber</b></p>
<p style="margin-left:17%;">This is the number that
uniquely identifies a run, it is retrieved from a sequence
number for each run that saves statistics.</p>
<p style="margin-left:11%; margin-top: 1em"><b>key
komment</b></p>
<p style="margin-left:17%;">These two columns are fully
user dependent and have their values from the <b>-k -K</b>
options to rwloadsim. The recommended usage is to use the
same, short key for multiple related runs and provide a
descriptive text as the comment.</p>
<p style="margin-left:11%; margin-top: 1em"><b>rdate</b></p>
<p style="margin-left:17%;">This column contains the common
start time, i.e. the time where the runseconds variable is
0s. Irrespective of your locale setting, the value is in UTC
timezone.</p>
<p style="margin-left:11%; margin-top: 1em"><b>hostname</b></p>
<p style="margin-left:17%;">This will contain the value
from nodename returned by uname(3) for the system running
rwloadsim. In multi process execution, the value is
retrieved from the system where the prepare step takes
place.</p>
<p style="margin-left:11%; margin-top: 1em"><b>dbname,
dbversion</b></p>
<p style="margin-left:17%;">These columns are not filled by
rwloadsim itself; if you need them you must yourself run a
dml update against the rwlrun table. It is suggested that
you get dbname from the sql function
sys_context(’USERENV’,’DB_NAME’),
and that you get dbversion from the standard function
serverrelease; both from your primary database under
test.</p>
<p style="margin-left:11%; margin-top: 1em"><b>nattr[123],
sattr[123]</b></p>
<p style="margin-left:17%;">These columns are not filled by
rwloadsim itself; if you need them you must yourself run a
dml update against the rwlrun table. The first three are
number columns, the last are varchar2(1000) columns and they
can be use for any extra attributes you may need. As an
example, nattr1 is used to save the process count in the
shipped oltp workload.</p>
<h2>NOTES
<a name="NOTES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">A row is
inserted into this table when the runnumber is generated
from a sequence number in the repository database. During
multi-process runs, that is in the prepare step.</p>
<h2>COPYRIGHT
<a name="COPYRIGHT"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">Copyright
© 2023 Oracle Corporation</p>
<p style="margin-left:11%; margin-top: 1em">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="statistics.html">statistics(1rwl)</a>,
<a href="function.html">function(1rwl)</a>, <a href="multiprocess.html">multiprocess(1rwl)</a>, uname(3)</p>
<hr>
</body>
</html>