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
Himanshu
Users 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
Similar Messages
-
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. -
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 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 exact culpirit session
How to find out the exact culpirit client machine process to kill the session and release.
Thanks,We can not directly solve this mystery, only you can do so.
V$SESSION contains data for all connected sessions.
If no unique combination of fields exists that allows you to identify the culprit client session, then you are out of luck.
See you started this thread with the premise that 1 session connected to the DB is a problem.
OK, we will accept this as being true.
Now via SQL how/what can you SELECT so that only 1 row is returned & that row corresponds to "problem client" session?
Since this is YOUR system & not ours, only you can solve this mystery. -
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. -
Hi, I have a 4GEE device and I'd like to cancel my contract.But I don't have a login and don't know what my"mobiler number" is - or how to find it out. Any idea what I need to do?
Hi
If you log in to the Connection Manager you can see your mobile number.
Thanks. -
How to find out which abap queries were executed by a user
Dear SAP Gurus,
Is there a way to find out which abap queries were executed by an end user in the recent past??
1.I tried using the t-code "stat" BUT:
dont seem to be getting any results even though I put the start time almost 2 months back.
2.Also when using STAT, I give the report name of the query in the program field but it seems to truncate it.
Any ideas how can I find out which abap queries were executed by the end user.
thanks a lot, I'll make sure to award points for your help.STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
If you want it for a period way back into the past, then you need to use ST03N.
There are at least 2 dependencies and 1 confusion:
1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
You should also ensure that only responsible users / auditors have access to S_TOOLS_EX. -
How to find out memory occupied by a table and a user?
I want to find out how much memory space is occupied by a table and I also wants to know how much data, a user is using.
Eg: Consider Emp table of 8 columns and 14 rows. I need memory occupied by Emp table.
Suppose consider "Scott" user is created 4 tables,3 sequences,2 indexes, 1 view.
I want to know how much memory is used by Scott?Did you mean the object size?
--For particular object size in MEGABYTEs
select sum(bytes)/1024/1024 mega_bytes
from dba_segments
where segment_name = 'EMP'
and owner = 'SCOTT';
MEGA_BYTES
0.0625
--For a schema size
select segment_type,sum(bytes)/1024/1024 mega_bytes
from dba_segments
where owner = 'SCOTT'
group by rollup(segment_type);
SEGMENT_TYPE MEGA_BYTES
INDEX 1.0625
LOBINDEX 0.0625
LOBSEGMENT 0.0625
TABLE 15
16.1875
Maybe you are looking for
-
Hi experts, May I know what is the table with all the G/L Closing Balance. I try to look at the FAGLFLEXT but it more seems like G/L Transactional table, rather than showing the balance. Do I need to total up all the figure of previous year to get th
-
"FRM:40654 Record has been updated by another user" - Error in POST-QUERY
Hi, I'm using Forms version 6.0.8.26.0 In one of the forms, its data block is based on a view. In POST-QUERY trigger, I try to change the value for a database item. This operation results in following error: "FRM-40654: Record has been updated by ano
-
Date must be truncated to month and year
Hi, I have a date field after the user gives F4 help I need to truncate the date , i.e I want only month and year For Ex. If the user selects as 12/12/2009 I must display as 12/2009 How can It be done?
-
Adobe Reader Page Prints in almost all black
Has any one ever experienced this. Not sure if there is setting that causes this or why it happens. Any advice? Using dell computer with windows xp pro
-
Maps for mapquest & others will not load,"bocked mbecause of unresolved driver issues"
the graphics on some sites like mapquest don't seem to work. I get a blank area where the maps should. Started after last or previous update. mapquest does work fine with IE