How to find out maximum number of login users?
Hi all,
Is there anyway to find out what is the maximum number of login users since a database is started? Maybe I should ask, what's the largest number of sessions has been opened in a busy time of a database since it is started?
I know v$session is my target. But how can I find out hte HWM of opened sesions?
Thanks.
Thanks Serch-NET. That's what I'm doing today. I should be a little more specific. I'm looking for a script that lends itself to automation. A script that can determine all the databases on a given server, find their background dump dest., grep all alert logs and return the highest of the HWM's. This is all scripting I could do myself, but being a follower of the Lazy DBA, I was hoping someone else had done it. :-)
Thanks again.
Similar Messages
-
How to find out maximum number of sessions allowed to a user?
Hello all,
Can you please tell me how can I find out the maximum concurrent sessions are allowed to a particular or all users in the Oracle database?
I am currently using the Oracle 9.0.2 database server.
I tried to query v$license, it gave me NULL records.
Thanks in advance
HimanshuUsers have a profile. example :
CREATE PROFILE DEFAULT LIMIT
SESSIONS_PER_USER UNLIMITED
CPU_PER_SESSION UNLIMITED
CPU_PER_CALL UNLIMITED
CONNECT_TIME UNLIMITED
IDLE_TIME UNLIMITED
LOGICAL_READS_PER_SESSION UNLIMITED
LOGICAL_READS_PER_CALL UNLIMITED
COMPOSITE_LIMIT UNLIMITED
PRIVATE_SGA UNLIMITED
FAILED_LOGIN_ATTEMPTS UNLIMITED
PASSWORD_LIFE_TIME UNLIMITED
PASSWORD_REUSE_TIME UNLIMITED
PASSWORD_REUSE_MAX UNLIMITED
PASSWORD_LOCK_TIME UNLIMITED
PASSWORD_GRACE_TIME UNLIMITED
PASSWORD_VERIFY_FUNCTION NULL;
SESSIONS_PER_USER is the one you are looking for. You can find more here:
Select * FROM SYS.DBA_PROFILES WHERE PROFILE = :Name -
How to find out the Number range object for Incident number
How to find out the Number range object for Incident number ?
CCIHT_IAL-IALID
regards,
lavanyaHI, an example.
data: vl_num type i,
vl_char(6) type c,
vl_qty type INRI-QUANTITY,
vl_rc type INRI-RETURNCODE.
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
NR_RANGE_NR = '01'
OBJECT = 'ZRG0000001'
QUANTITY = '1'
SUBOBJECT = ' '
TOYEAR = '0000'
IGNORE_BUFFER = ' '
IMPORTING
NUMBER = vl_num
QUANTITY = vl_qty
RETURNCODE = vl_rc
EXCEPTIONS
INTERVAL_NOT_FOUND = 1
NUMBER_RANGE_NOT_INTERN = 2
OBJECT_NOT_FOUND = 3
QUANTITY_IS_0 = 4
QUANTITY_IS_NOT_1 = 5
INTERVAL_OVERFLOW = 6
BUFFER_OVERFLOW = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
vl_char = vl_num.
write vl_char.
Regard -
How to find out the number of songs in my iTunes 11 library
How to find out the number of songs in my iTunes 11 library
Welcome to the Apple Support Communities
To see the number of songs, go to View menu > Show Status Bar, so the number of songs you have will appear at the bottom of the iTunes window -
How to find out asset number in SAP
Hi,
Please let me know how to find out asset number based on the depreciation document number.
Regards,
Bhaskar SuruvuIn the FI document header text / line item text you found back the asset document number like:
AFB01200900101-0000000001
In the table ANLP you can found back the document number -0000000001
On this way you can make the link -
How to find out cellular number on ipad
I have forgotten my cell number that m using for 3G on my ipad 2. Please let me know how to find out cell number on ipad 2
Make sure that your Cellular Data button is turned on:
CELLULAR DATA>CELLULAR DATA = ON
Then the number should show up where Diavonex indicated above -
How do find out the number of rows
how to find out the number of rows of as all tables in a schema with one sql statement
Hi,
What u can try doing is...
declare
numrows number;
begin
for i in (select tname from tab)
loop
execute immideate 'select count(1) into numrows from ' | | i.tname ;
dbms_output.put_line(numrows);
end loop;
end;
Hope this helps. This works only in 8i. So if u need to do the same in 8.0 u have to use dbms_sql pkg.
The logic is same but the way u open ands execute the code is a bit diff.
Best Of Luck.
Regards,
Ganesh R -
How to find out the cost of SAP user for a particular user id
Dear All,
I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
Could you please advice me regarding this.
RaghuHello Raghu,
I got one issue like how to find out the cost of SAP user, i mean for a particular user id.
Could you please advice me regarding this.
I think you need to reach out to BASIS consultant to check out the Cost involved for User ID for the SAP application.
Regards,
Sarthak -
How to find Out Sid Of A Particular User?
How to find Out Sid Of A Particular User?
if you have a privillege for v$mystat
SQL> select distinct sid from v$mystat;
SID
140
If the user doesn't have privillege
In User Session ask him to run .
SQL> select sys_context('userenv','sessionid') from dual;
SYS_CONTEXT('USERENV','SESSIONID')
4294967295
In DBA session compare this value with v$session audsid
SQL> select sid from v$session where audsid=4294967295;
SID
140 -
How to find out responsibility attached for particular user through query
hi
How to find out responsibility attached for particular user through query
Regards
9841672839Hi,
Following sql will help you find the responsibilities associated with the users in oracle applications.
SELECT frt.RESPONSIBILITY_NAME, furg.end_date
FROM
fnd_user_resp_groups furg,
FND_RESPONSIBILITY fr,
fnd_responsibility_tl frt,
fnd_user fu
WHERE fu.user_name = ‘&&username’
AND fu.user_id = furg.user_id
AND furg.responsibility_id = fr.RESPONSIBILITY_ID
AND frt.responsibility_id = fr.RESPONSIBILITY_ID
ORDER BY 1
Cheers... -
How to find out the last time login for a locked login account?
In ASE 15.4,there are many login account show as locked and unlocked. How to find out the last login time for those locked login account?
Thank you. The version of my ASE is 12.5.4.
This is what I got from select * from syslogins:
suid status accdate totcpu totio spacelimit timelimit resultlimit dbname name password language pwdate audflags fullname srvname logincount procid
1
30 2 10/25/2012 11:41:10.430 AM 0 0 0 0 0 . . ... us_english 02/24/2.0.08 12:55:38.640 PM 0 [NULL] [NULL] [NULL] [NULL]
this is what I got from exec sp_displaylogin 'mylogin':
1 Suid: 46
2 Loginame: mylogin
3 Fullname: FN LN
4 Default Database: mydb
5 Default Language: us_english
6 Auto Login Script:
7 Configured Authorization:
8 Locked: YES
9 Date of Last Password Change: Apr 17 2010 2:36PM
10 Password expiration interval: 0
11 Password expired: NO
12 Minimum password length: 6
13 Maximum failed logins: 0
14 Current failed login attempts:
15 Authenticate with: AUTH_DEFAULT
which one is for last login time? -
How to find out the number of threads created under java vm at runtime
our application seems to have hit the max number of threads that can be created under vm and the vm will just hang after that. that behavior seems to be consistent from an article that I read earlier.
I wonder any way that java app can find out the number of threads currently created under vm?
thanks in advance!If you are not starting an extra thread group you can use the Thread.activeCount method. But this willnot return all the threads, as there are some jvm threads, i.e. garbage collector. Also if you are running on a Unix type operating system then you can send a signal to the jvm to give you a thread dump, i think the signal is sighup.
If the application is hanging i would of thought that you have a deadlock situation rather then the JVM not being able to create new threads, roughly how many threads should be running ?? -
How to find out the number of fields in generated proxy structure?
Hi All,
Can anybody help me to find out the number of fields in generated proxy structure in back end system along with controller fields.
i know how to get number of fields in XI system but i want the number of fields in back end system when we generate proxy including automatically generated controller fields.
Thanks in advance.
Regards,
UjwalkumarU mean u want to know at runtime?
Get the output from ur proxy as a string, count the number of "<" characters and divide it by 2. :-P
Of course, you'll have to treat the header fields separately.
Regards,
Henrique. -
How to find out spool number from a jobname.
Hi,
If I know the jobname and jobcount how to find the spool number of it. Jobname and Jobcount are in table TBTCO and spool number is in TSP01. Is there any link between these tables.
Your help will be appreciated.
Thanks & Regards,
Soumya.Hi,
Check the below link
[Re:Spool request;
Regards,
Surinder -
How to find out IODs number for Cisco AP model 1602
Hi All
i have 5 cisco AP with model 1602, i need some help on how to find out the IODs from the device, the reason to do this is to add all the AP to our solarwinds server, hope you can help, Thanks !
Keithwe are using Stand Alone, as how to find out the IODs from the device, as i have already enable snmp on the AP, and has been added to the solarwinds server, and below is what solarwinds replied, how to obtain OID ?
Yes, your AP device can now be monitored even the interfaces, availability, CPU, memory, etc., however you mentioned that you also want to monitor the clients of your AP, the client's ip address, the name of the clients and other resources.
In order to do this, we need to use the Universal Device Poller, we will manually configure NPM to poll the other resources of your AP, that's why we need the OID.
Maybe you are looking for
-
I had a new hard drive fitted to my imac and restored it from my time machine back up on an external hard drive when I try to open itunes I get this message "the itunes library extras.itdb file is locked, on a locked disk, or you do not have write pe
-
Need help adding arch to my grub menu.lst
I am posting a link to my thread on the ubuntu forums in hopes of getting better help here. some additional info: My arch install is located at /dev/hda3. My main ubuntu install is on /dev/hda3 (fyi) http://ubuntuforums.org/attachment.php? - 11849867
-
Problem synchronizing contact birthday into the ca...
Hi Nokia, I have a problem synchronizing the contact birthday into the calendar Need help Please. //Abdou
-
Automatic clearing in Bank Transactions
Hi all, in FF_5 some of the external transactions like outward remmittance, cash orders etc., posting throu FB05, some of the other transactions posted under FB01, but what i need to clear that are posting throu FB05? How to change this from FB01 to
-
Simple Round call results in Arithmetic overflow
Hi, I'm a bit dazzled why this statement won't work in T-SQL : Select Round(9.990000, 0) The error I get is : Arithmetic overflow error converting expression to data type numeric. The result should be : 10 I've tried this in SQL 2005,2008 and 2008 R2