Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
Determining License High Water Mark without shutdown

Determining License High Water Mark without shutdown

2005-10-28       - By Goulet, Dick

Reply:     1     2     3     4     5  

Paul,

   Does this help:

Linus2:9.2:GOULET> select * from v$license;

SESSIONS_MAX SESSIONS_WARNING SESSIONS_CURRENT SESSIONS_HIGHWATER
USERS_MAX
-- ---- ---- -- ---- ---- --- -- ---- ---- --- -- ---- ---- -----
-- ---- --
          0                0              318                327
0

 __ __  

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Paul Vincent
Sent: Friday, October 28, 2005 4:29 AM
To: oracle-l@(protected)
Subject: Determining License High Water Mark without shutdown


Recently we needed to increase the PROCESSES parameter due to a major
increase in system usage. Rather than wait for a spate of reported
ORA-00020 (See ORA-00020.ora-code.com) messages, I'm keeping an eye on the "License High Water Mark"
entry in the alert log each time the instance is shut down, so I can
increase PROCESSES again if the demand starts to approach the limit
again. The problem is, this message only appears at shutdown, which
isn't very helpful. What I'd like to be able to do is, at any time, see
what the current High Water Mark is. Now, honest folks, I've RTFM'ed for
all I'm worth, but can't find the relevant system view that contains
this information. I should emphasise that I'm not looking for the
current number of sessions at a moment in time, I'm looking for the high
water mark figure since the last time the instance was started up.

Can anyone point me in the right direction, please, or let me know if
the information *can't* be determined other than at shutdown?

Thanks,

Paul Vincent
DBA
UCE Birmingham

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=602524913-28102005><FONT face=Arial
color=#0000ff size=2>Paul,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=602524913-28102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=602524913-28102005>&nbsp;&nbsp;&nbsp; <FONT
face=Arial color=#0000ff size=2>Does this help:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=602524913-28102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=602524913-28102005><FONT face=Arial
color=#0000ff size=2>Linus2:9.2:GOULET&gt; select * from
v$license;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=602524913-28102005><FONT face="Courier New"
color=#0000ff size=2>SESSIONS_MAX SESSIONS_WARNING SESSIONS_CURRENT
SESSIONS_HIGHWATER&nbsp; USERS_MAX<BR>-- ---- ---- -- ---- ---- ---
-- ---- ---- --- -- ---- ---- -----
-- ---- --<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
318&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
327&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] <B>On Behalf Of </B>Paul
Vincent<BR><B>Sent:</B> Friday, October 28, 2005 4:29 AM<BR><B>To:</B>
oracle-l@(protected)<BR><B>Subject:</B> Determining License High Water Mark
without shutdown<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>Recently we needed to increase the PROCESSES parameter due
to a major increase in system usage. Rather than wait for a spate of reported
ORA-00020 (See ORA-00020.ora-code.com) messages, I'm keeping an eye on the "License High Water Mark" entry
in
the alert log each time the instance is shut down, so I can increase PROCESSES
again if the demand starts to approach the limit again. The problem is, this
message only appears at shutdown, which isn't very helpful. What I'd like to be
able to do is, at any time, see what the current High Water Mark is. Now,
honest
folks, I've RTFM'ed for all I'm worth, but can't find the relevant system view
that contains this information. I should emphasise that I'm not looking for the
current number of sessions at a moment in time, I'm looking for the high water
mark figure since the last time the instance was started up.
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>Can anyone point me in the right direction, please, or let
me know if the information *can't* be determined other than at
shutdown?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>Paul Vincent</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>DBA</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=182352108-28102005><FONT face=Arial
color=#0000ff size=2>UCE Birmingham</FONT></SPAN></DIV></BODY></HTML>