Number of concurrent Sessions per user mismatch with profile settings

Hello

Version of DB Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
OS RHES 5U2

I created a profile MYPROFILE and set the value of simultaneous (per user) Sessions on 30. DB has rebounded after the creation of the profile. I made this default profile for a specific user 'MYUSER '. I checked that questioning DBA_USERS (select profile from dba_users where username like "MYUSER") I checked v$ session with this particular user after awhile and noticed that it showed 34 sessions. Certain ASSETS and the INACTIVE.

My question is, if I set the maximum number of concurrent sessions per user on 30 to myprofile and made it the default for MYUSER profile, so how did I am still able to see more than 34 sessions of myuser regardless of the State? I don't know if it's relevant or not, but the IDLE TIME is set to 15 minutes.

Thank you for your help

Published by: user560883 on July 4, 2010 12:45 AM

user560883 wrote:
Hello

Version of DB Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
OS RHES 5U2

I created a profile MYPROFILE and set the value of simultaneous (per user) Sessions on 30. DB has rebounded after the creation of the profile. I made this default profile for a specific user 'MYUSER '. I checked that questioning DBA_USERS (select profile from dba_users where username like "MYUSER" ;)) I checked v$ session with this particular user after awhile and noticed that it showed 34 sessions. Certain ASSETS and the INACTIVE.

My question is, if I set the maximum number of concurrent sessions per user on 30 to myprofile and made it the default for MYUSER profile, so how did I am still able to see more than 34 sessions of myuser regardless of the State? I don't know if it's relevant or not, but the IDLE TIME is set to 15 minutes.

Thank you for your help

You have the parameter resource_limit = true ? You must do so before test sessions_per_user. You can do the following,

alter system set resource_limit=true;

After that, yet try and post comments.

HTH
Aman...

Tags: Database

Similar Questions

  • session per user = 1 does not work in the database?

    Dear all,

    A profile has been configured on the database with the parameter session_per_user = 1 , but it does not work on the database.

    the user can make n number of sessions to the database. What could be the reason profile does not work?
    Please sugeest solution...

    Kind regards
    Rajesh

    Published by: Rajesh.Rathod on March 17, 2009 03:34

    You must change resource_limit true
    Search for details of text fo in metalink Note 745752.1

  • Limit the sessions per user OEM

    Hi all
    We do not want an oem user to be used by several developer at the same time. Want to restrict the number of sessions to connect a user to oem. I tried sessions_per_user limited the backend for oem users, but it does not work.
    Is there something that I need to share this? Enjoy your advisor.

    WHO/db version 10.2.0.4

    Kind regards
    Satheesh Shanmugam
    http://borndba.com

    Published by: Borndba on January 12, 2010 15:34
    information update

    Satheesh,

    Unfortunately there is no implementation of the DB profile where neck defined the limit of session_per_user. So in fact, it won't work.

    I would say that the best way to get control over the number of developers connecting to the OEM, would create a custom for each developer account you allow access to OEM. Hereby, every developer would have his own account, which puts you in a much safer situation.

    Concerning
    Rob

  • Allow multiple sessions per user

    This setting only works when the client connects other hosts?  If Yes, is the only way to allow a user to connect to multiple virtual machines from the same model to define another pool?

    Thank you!

    Yes, it's true. If users want to access several virtual machines via the view on the same machine, they will have to use a different account for each client instance or virtual machines in different pools.

  • Q: number concurrent sessions by hours in a specified interval

    Hello

    I have this table that contains the SESSIONID, CREATEDATE, LASTCHECKDATE, EXPIREDATE PARTNERID

    We make a query that returns the number of max session competitor hours time for the specified interval.

    For example, last week, on a per hour basis or bases the top competitor for each hour or day session day, according to the report.

    can make the number of new session every hour with this request;

    SELECT TO_CHAR (createdate, ' DD/MM/YYYY HH24') | ' h ' value of start_time, COUNT (SESSIONID) new_sessions name, | ' {' | partnerid |} '}' as a partner
    To uws
    WHERE expiredate IS NOT NULL
    and partnerid = 25
    and TO_CHAR(createdate,'YYYY/MM') = ' 2010/05 '
    TO_CHAR Group (createdate, ' DD/MM/YYYY HH24') | ' h ', name | ' {' | partnerid |} '}'
    ORDER BY 1 DESC;

    I think I should use MAX (count (sessionid)) and probably some DECODE when c1 between createdate and lastcheckdate...

    This aspect will have to run it on sqlplus from a script shell if possible and same graph on Google maps.

    The help is appreciated, please note that I'm not an expert of the Oracle...

    Published by: user11954725 on July 19, 2010 17:55

    Hello

    user11954725 wrote:
    Thanks Frank,.

    I think we are very close to the solution, I'm looking for now.

    Here's the script you gave me (with few changes) and exit;

    WITH all_hrs AS
    (
    SELECT min_hr + ((LEVEL-1) / 24) AS the period
    , min_hr + (LEVEL / 24) AS next_period
    DE)
    SELECT TRUNC (MIN (createdate), 'HH') AS min_hr
    , TRUNC (MAX (LASTHEARTBEATDATE), 'HH') AS max_hr

    You may have noticed that this site normally compresses white space. When you post the text formatted (including the code or output) on this site, type the 6 characters:

    \

    (small letters only, inside curly brackets) before and after each formatted section, to preserve the spacing.
    
    
    

    produce output;

    Period SESSIONS
    ------------------------- ----------------------
    19-APR-10 15
    19-APR-10 12
    19-APR-10 15
    ...
    12-MAY-10 28
    569 rows selected

    This is very confusing for several reasons:
    (a) it's not formatted.  Use \
    

    tags, as mentioned above.
    (b) you're not showing all the significant data. If you're GROUPing BY a date, TRUNCated to the hour, then the hour is significant, and you should show the hour, not just the year, month and day. Use the TO_CHAR function to include the hour in the display for this column, or ALTER SESSSION SET NLS_DATE_FORMAT ... to change the default display for all DATEs.
    (c) There's much too much output, even with parts of it cut out. Devise some smaller sample that shows the problem.

    Now the output seem to produce the concurrent sessions as needed but the date range show is not exactly.
    I expect the output to display only for the range specified in parameter, which if for this example only one day.

    The in-line view in all_hours generates min_hr and max_hr.
    If you want min_hr to be parameters that are not derived from data in your table, then you can select them from dual.
    That is, instead of:

     ...     FROM     (
                    SELECT  TRUNC (MIN (createdate),    'HH')     AS min_hr
                    ,     TRUNC (MAX (LASTHEARTBEATDATE), 'HH')     AS max_hr
                    FROM     userwebsession
           where createdate <= TO_DATE('07-MAY-2010 00.00.00','DD-MON-RR HH24.MI.SS')
             and LASTHEARTBEATDATE >= TO_DATE('07-MAY-2010 23.59.59','DD-MON-RR HH24.MI.SS')
               )
    

    You can tell

    ...      FROM     (
                    SELECT  TO_DATE ( '07-May-2010 00'
                             , 'DD-Mon-YYYY HH24'
                             )               AS min_hr
                    ,       TO_DATE ( '07-May-2010 23'
                                   , 'DD-Mon-YYYY HH24'
                             )               AS max_hr
                    FROM     dual
               )
    

    Probably, if we ask a few more days, we would like to display the MAX number of simultaneous session for a day and (optional) average also for that day and that all the days of the period.

    So, for example, based on the output above that level next report would be output as follows (for the period from 19 April 10 to 27 April 10;

    19 APRIL 10 24
    20 APRIL 10 14
    21 APRIL 10 26...

    Yes, it is possible. You can have a single query which truncates dates either at the time or day, and instead of

    ...      CONNECT BY     LEVEL <= 1 + (24 * (max_hr - min_hr)
    

    use something like

    ...      CONNECT BY     LEVEL <= 1 + (periods_per_day * (max_hr - min_hr)
    

    where periods_per_day is 24 or 1, to generate the exact number of lines of output you want.
    Give a specific example if you want to help. D.F.
    "Thanks to this data to sample...
    I would like to pass these parameters:...
    and get this result:...
    but, with the same data, if I pass these parameters:...
    so I want this output:... »
    Once more, there not need a lot of data. Maybe 10 rows, dated between 22:00 one day and 03:00 on the following day, would give a good example of the hourly production so that every day.

    user11954725 wrote:
    I am now looking to do an export of the table for you to test with real data.

    It would be better? expdmp? and download a zip to a site?

    Or if you are good for now with this small sample?

    Small data sets are the best. It is easier for you to post, easier for you to manually draw the expected results, easier for everyone to understand and verify.
    Display instructions INSERT.

    By looking at the output once again, if the TIME period would show in the output that would be great, so maybe I can use it as input to another query that could be summarized per day?

    Use the function TO_CHAR or ALTER SESSION SET NLS_DATE_FORMAT registration time at the exit of the DATEs.
    As I mentioned above, you have a query that produces either hourly output, like this

    period               sessions
    ----------------     --------
    07-May-2010 21:00      5
    07-May-2010 22:00      1
    07-May-2010 23:00      6
    

    or daily output, like this:

    period               sessions
    ----------------     --------
    07-May-2010            12
    

    According to a parameter.
    You might also have a query which produces two output types at the same time:

    period               sessions     daily_total
    ----------------     --------     -----------
    07-May-2010 21:00      5
    07-May-2010 22:00      1
    07-May-2010 23:00      6          12
    

    Give a clear example of what you want, and someone will help you get it.

    Published by: Frank Kulash, July 21, 2010 09:35

  • Procedure for the number of working days per month when the user enters to and from everyday

    Hi all

    Can provide you a solution to this - procedure for the number of working days per month when the user enters and days.

    Suppose that the user enters November 18, 2014 start date and date as November 23, 2014.

    The output should display

    Count: 4

    November 18, 2014 Mar

    Sea 19 November 2014

    November 20, 2014 game

    Fri November 21, 2014

    It will exclude Saturday and Sunday.

    Hello

    Here is an example of removing dates Saturday and Sunday:

    with days as(
         select (trunc(sysdate, 'YEAR') + level) as col from dual
         connect by level < 365
    )
    select * from days
    where trim(to_char(col, 'DAY', 'NLS_DATE_LANGUAGE=ENGLISH')) not in ('SATURDAY', 'SUNDAY')
          and col between to_date('18.11.2014', 'DD.MM.YYYY') and to_date('30.11.2014', 'DD.MM.YYYY')
    order by col;
    

    Cheerz,

    Stako

  • You can buy JUST Adobe Stock for three users in a company? The guy I chatted with that said I had to pay $199.99 per year over $ 69.99 per user. Is this correct?

    You can buy JUST Adobe Stock for three users in a company? The guy I chatted with that said I had to pay $199.99 per year over $ 69.99 per user. Is this correct?

    When I go on the website of plan, it says 199.99 per license as well. Do we buy 3 licenses then 3 plans to 69.99 each apps? It's very confusing.

    Well I advise you to contact Adobe sales for the same because they can help you with the correct plan according to your needs.

    Contact us | Adobe

  • Number of virtual machines per cluster with New-VIProperty

    Hello

    I would like to get the number of virtual machines per cluster using New VIProperty like this:

    New-VIProperty - ObjectType VMHost-name NumberOfVMs'

    -The {($Args [0] |) value} Get - VM | Measure - Object). Count} '

    -Force

    Get-Cluster | Select Name, NumberOfVMs

    But I only get zeros.

    Can someone help me?

    Thank you

    Frédéric

    Take a look at my property NumberOfVms for Clusters.

  • Number of concurrent connections to remote desktop on Windows Server 2008 and 2012

    Dear,

    Can someone help me with what is the maximum number of concurrent connections on Windows Server 2008 (Standard & Enterprise) and Windows Server 2012 as well.

    Kind regards

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • If it hurts if I delete the system per user queued?

    original title: DURING the DISK CLEANUP

    WILL IT HURT IF I DELETE THE SYSTEM PER USER IN QUEUE AND WINDOWS ERROR REPORTING SYSTEM?
    I'M RUNNING OUT OF ROOM AND WHAT ARE THE FILES DEVOURS MORE SPACE!

    Yo can do that, but you can't win important disk space. The three main newspapers are system, security and Application and each maximum by default 20 MB each.

    How to deal with each must select Start, Control Panel, administrative tools, Event Viewer, Windows logs. Place the cursor on the system, click with the right button on the properties and select clear. Repeat for security and application logs. You can also change the default 20 480 KB 2 048 KB maximum. When you have completed the change make sure you click on apply. You must restart the computer to apply the new settings. You note miust use clearly if you want to set a lower maximum rate.

    You'll have more space by deleting old restore points. This action can greatly increase the free disk space.

    Select Start, all programs, accessories, System Tools, cleaning disk to emptying your trash, delete temporary Internet files and other selected options. I recommend also you click Other Options, System Restore and delete all but the last system restore point. Run Disk Defragmenter.

    Using the system restore option is most appropriate when your system is slow and you need to increase the free disk space on your C partition. If you have errors that could be solved by using the system restore to your system settings back to before the error occurred initially do not use this option.

    If more than one person uses the computer and they have their own user log you need to run Disk Cleanup in each user profile that you want to delete all the unwanted files.

    A better program of disk cleanup is cCleaner. Delete System Restore points may be important if you have little free disk space. The ability to delete them is one of the tools options. cCleaner comes with a registry tool. Do not use this tool as any registry cleaner could lead to the creation of very difficult to resolve system errors.

    http://www.CCleaner.com/download

  • Number of virtual machines per server

    This number varies greatly with the type of workload and of (among other variables) network connectivity, but what would you say is a common number of virtual machines running on a particular server (NIC10 G ) platform? 10? 20? 40? The number of sockets/cores on this server?

    Any contribution is appreciated.

    Thank you

    Hey Ex,.

    This issue of $ 1 million has been requested several times before.  The answer is simple - there is no definitive answer.  There are so many variables that contribute to the number of virtual machines, you can run on a server:

    -number of Sockets
    -Core per socket

    -CPU speed

    -Density memory

    -Bandwidth allocated by host

    -Storage connectivity & bandwidth

    -Attributes VM & function of workload (amount of memory, CPU & disk by virtual machine)

    Although you can probably squeeze a lot more virtual machines per server with densities increased memory & CPU power, also increases your default domain name.  HA may be able to 'recover' virtual machines on a failed host, but how virtual machines are you willing to lose only once?  When sizing of your hosts, also the failover capabilities take into account.  Each of your cluster hosts should be able to tolerate the failure of at LEAST one host and meet all the requirements of memory & processor of the additional virtual machines now spread over the remaining hosts in the cluster.  This is why administrators does not often grow over 60% of the capacity of their hosts.  VMware uses a calculation of size "slot" to ensure you have adequate to your cluster failover capacity.

    As typical, I see regularly around the mark of 20 VM per server on a typical 2-socket server with 96 GB of memory and dual 10 G uplinks.  It is also good to think that most software licenses (VMware, Nexus 1000v etc.) is based on the counts of socket, and since the memory is going to be your first argument point - servers that can support large amounts of memory are usually an ideal choice.  B250 is perfectly placed to virtual workloads like this, while the B230 is a little firecracker with a bit more CPU power under its hood so you need.

    As vague as I was, I hope this starts your thought process

    Kind regards

    Robert

  • By the price di creativo su per user (not per aziende) viene Emese manufacture singolo cloud by fiscalmente ITALIA P.IVA valida

    By the price di creativo su per user (not per aziende) viene Emese manufacture singolo cloud by fiscalmente ITALIA P.IVA valida

    Hello

    Purchase order, you will be asked to enter your VAT number, if you provide the VAT ID it will be printed on the invoice.

    Update this thread if you have any other questions.

    ^ Ani

  • Creating native MSI bundle which is "per user" - based (no 'system' - based)

    I'm collecting all the information to create a native MSI package which 'by user' is based - but failed.

    This means:
    (.) The MSI should install to the local directory of the user
    (.) There should be no admin permission required

    When you use the default < fx: deploy... nativebundle = 'msi'... > element - ANT-, the MSI is created "system-wide" basis, installation in ' / Prorgram Files "and asking the admin permission.

    There is no concrete indication in the Oracle documentation (http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm) how to create "per user" basis of MSI files. Maybe, someone already did it and could tell the imprortant steps...

    Thank you!

    PS: I know - using the .exe-company with Inno Setup will create "by user" installers by default, but I don't want to use if possible .exe

    Try

    Although the name of the parameter gives no indication this is system vs by user :)

    I checked that code bundler MSI and it should honour it.

    Let me know if it works (I don't have the time to try it myself today and go on vacation for a week so won't be able to check until I'm back).

    Mark

  • unique identity or concurrent sessions

    Hi all


    advice please address my question, the seller ask us about our users who access the application server,.
    I know there is no sso and sso users, we currently have users to database accounts to authenticate users
    because I see all users under dba_users, but I not confuse what vender say (unique identity or concurrent sessions)?

    can you please gaide me in this issue?


    Thanks in advance.

    >
    advice please address my question, the seller ask us about our users who access the application server,.
    I know there is no sso and sso users, we currently have users to database accounts to authenticate users
    because I see all users under dba_users, but I not confuse what vender say (unique identity or concurrent sessions)?

    can you please gaide me in this issue?
    >
    It is not clear what you're asking.

    If an application server is used to connect to the DB this application server can connect everyone using the same username and password. Some applications have a SINGLE user in the database (for example myAppUser) and the application server connects all as MYAPPUSER.

    For applications the unique username that Oracle knows even is MYAPPUSER and there could be 1,000 or more concurrent sessions logged in as the same user. Oracle would have no knowledge of the actual user of the customer name; only the application server can have this information.

  • slots limit per user

    Hi all.

    I put maxujobs = 60 in the Scheduler configuration, so that a user can not have more than 60 jobs running at once.
    But what about the parallel jobs? If a user sends 60 parallel jobs (for example - orte EP 8), he will receive 480 slot machines!
    I would like to set a limit on the maximum number of sites that a single user can get running at once... something like "maxuslots"...

    I know that I can put the var 'niche roles' in the parallel configuration env, but would limit the number of parallel slots for all users as a whole, not on a per user basis.

    Any comments/advice/help very welcome.

    Best regards.
    Robi

    Hi Robi,
    any chance that you have had time to try this out? He does what you want?
    Let us know if not.

    Michael

Maybe you are looking for

  • Gen 2 release of Eve date?

    Hello community... Does anyone know what is the new generation Watch 2 going to be released? ThnkYou in advance! Jimmay1968

  • Tabs on bottom option missing.

    Firefox crashed the other night. Several "resets" to get something to work. Fine now, except that the tabs are on the top, and that the option ("click a toolbar") does not show the option 'move the tabs' more. Doesn't a reset - no change. Downloaded

  • Cannot install drivers for Tecra S1

    I have problems installing driver Tecra S1. I tried to install the drivers that I downloaded from the site of Toshiba, but without result so far. Who can help me? Select this option.

  • Are liberation TEMPRO and VAP for Vista 64-bit?

    I couldn't find it on google. is it?

  • How to watch a movie from a flash usb on a Sony Bravia KDL46EX500 key?

    Hello... I have the Sony Bravia 46 '' KDL46EX500 TV and it has a usb post on the side of the TV. How do you watch or loading from USB to TV flash drive? Do I need some pain a player recommends the USB, is their any video on how its done? Thank you