-
Notifications
You must be signed in to change notification settings - Fork 18
/
oltpplus.html
174 lines (116 loc) · 4.54 KB
/
oltpplus.html
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
<!-- Creator : groff version 1.22.3 -->
<!-- CreationDate: Tue Jun 4 13:10:18 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>oltpplus</title>
</head>
<body>
<h1 align="center">oltpplus</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="#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">oltpplus
− Call SQL*Plus with some username, password and
connect string</p>
<h2>SYNOPSIS
<a name="SYNOPSIS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>oltpplus
[-H|--help] [-2] [-p|--pool] [-b|--batch] [-A|--awr]
[-S|--system] [-R|--results] [-r|--run] [-a|--aw]
[-o|--oe]</b></p>
<h2>OPTIONS
<a name="OPTIONS"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em"><b>-H</b></p>
<p style="margin-left:17%;">Show short help.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-A|--awr</b></p>
<p style="margin-left:17%;">Call SQL*Plus as the user doing
awr snapshots and reporting.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-S|--system</b></p>
<p style="margin-left:17%;">Call SQL*Plus as the system
user used to run v$ queries etc.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-C|--cruser</b></p>
<p style="margin-left:17%;">Call SQL*Plus as the system
user used to create schemas.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-R|--results</b></p>
<p style="margin-left:17%;">Call SQL*Plus as your
repository user.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-r|--run</b></p>
<p style="margin-left:17%;">Call SQL*Plus as your normal
runtime user.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-a|--aw</b></p>
<p style="margin-left:17%;">Call SQL*Plus as the user who
owns the artificial workload schema.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-o|--oe</b></p>
<p style="margin-left:17%;">Call SQL*Plus as the user who
owns the order entry schema.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-2</b></p>
<p style="margin-left:17%;">If you are using -r or -a, use
the side 2 version of the schema (as used by
oltpforever2).</p>
<p style="margin-left:11%; margin-top: 1em"><b>-p|--pool</b></p>
<p style="margin-left:17%;">If you are using -r, -a or -o,
use the pool_connect connect string, otherwise use
normal_connect.</p>
<p style="margin-left:11%; margin-top: 1em"><b>-b|--batch</b></p>
<p style="margin-left:17%;">If you are using -r, -a or -o,
use the batch_connect connect string, otherwise use
normal_connect.</p>
<h2>USAGE
<a name="USAGE"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">The
<b>oltpplus</b> command is used to start an interactive
SQL*Plus sessions with one of the normal users you have
defined in your oltp key file. The major benefit of using
this command is that it prevents showing visible passwords
on your terminal.</p>
<p style="margin-left:11%; margin-top: 1em">The
<b>oltpplus</b> command takes no arguments and exactly one
of the schemas must be selected using the appropriate
option.</p>
<p style="margin-left:11%; margin-top: 1em">When called, it
will first echo the username and the connect string, and
then call sqlplus.</p>
<h2>NOTES
<a name="NOTES"></a>
</h2>
<p style="margin-left:11%; margin-top: 1em">The
<a href="oltpconnect.html">oltpconnect(2rwl)</a> command can be used if you want to start
some other tool without showing the password on the
terminal.</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="oltpsetup.html">oltpsetup(2rwl)</a>, <a href="oltpparams.html">oltpparams(2rwl)</a>, <a href="oltpconnect.html">oltpconnect(2rwl)</a></p>
<hr>
</body>
</html>