How to restrict the number of client connections.

Dear All,
I have an Oracle Database version 9.2.0.1 in a Windows server 2000. I created a database users “prod1” in this database. It’s a 10 member team. I have to make changes so that, at a single point of time there should be only 2 members connected to the database simultaneously using the id “prod1”. How do I perform this request?
Thanks in advance
With Regards,
Santhosh

Create a profile with session_per_user (concurrent session) as needed and then assign this profile to prod1 user, in your case.
CREATE PROFILE "REST_USERS"
LIMIT SESSIONS_PER_USER 2
alter user prod1 profile rest_users;
Parameter RESOURCE_LIMIT must be set to TRUE in the init.ora file.
Jaffar
Message was edited by:
The Human Fly

Similar Messages

  • How to restrict max number of client connection per extend server?

    Does anybody point me or tell me what is the vm property or config element I need to put so that an extend client will not accept more than specified number of connections at any give point in time.

    Hello,
    Look at http://coherence.oracle.com/display/COH34UG/acceptor-config the <connection-limit> should do what you want.
    Thanks,
    Nick

  • How to identify the number of clients in server

    Hai
    Iam trying a network program to identify the number of clients which accessing the server. I dont no how to identify the number of clients which accessing the server through server machine. I want to identify the client machine ip or name. If you have any idea help for me.
    Regards
    A.KRaj

    You can keep a ArrayList of active connections and store the IP address of the incoming connection in the Server. You have to do this everytime you accept a connection.

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • How to find the number of ODBC connections to Oracle Database

    Hi All,
    How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
    Thanks in advance,
    Mahi

    What Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
    For example: if you already know of a user using ODBC, you can verify as:
    select username, osuser, terminal, program from v$session where username = 'SCOTT'
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
    SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
    USERNAME                 OSUSER          TERMINAL   PROGRAM
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    SCOTT                    IUSR_SRV231     SRV231     w3wp.exe
    2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
    Hope this helps...

  • How to restrict the number of Records into the Table?

    Is there any way that I can restrict the number of records can be entered into the table?
    For example I have created a table TAB1 with size category 0( zero).
    User dont want to enter more than 100 values, How to restrict the number entries? Whether Basis can do it?
    Regards,
    Prathap

    Hi Prathap,
    You can write a code in table maintenance events to restrict the number of Records added into the Table to constant.
    Solution:
    Se11 -> enter table name (TAB1) -> F6 -> Utlities -> Table maint. generator -> Envirnment -> modification -> events -> write here the form routine name.
    Double click on routine name. You will get into include section of the code. Write here code like:
    IF current_rec_num > 100.
       messgae error 'Entry restriceted to 100'
    ENDIF.
    Somewhat this way you can achieve your target.
    Regards,
    Sachin

  • Adobe Media Server pro 5 Scalabiltiy Requirements with respect to the number of clients connected

    what are the hardware requirements mapped to the number of clients connected to a vritual server running on a Windows 2008 R2 Server? At what point should the scaling be done, what are the best practices? The encoding rate used is 360 Kbps.

    Hi Simon
    The HTTP (HDS and HLS) streaming and recording limit in Adobe Media Server 5 Starter is 10 min. You'll need to buy a serial key if you want to record/stream for longer. Also there are no limit on number of clients for HTTP.
    Hope this helps.
    Thanks,
    Apurva

  • How to restrict the number of login attempts?

    Hi,
    Is there any "out of the box" solution to restrict the number of login attempts
    in personalization server?
    Thanks

    why is it obvious he wants to restrict instances
    of program, rather than instances in
    it? it's not obvious, but it's what I think he meant
    he asked "how to restrict the number of instances in
    a program". it has the words "instances" and
    "program" in it, but not the word "class". on face
    value, yes, he's asking about instances within one
    JVM. knowing a bit about how newbs minds work, I'm
    reading between the lines and I reckon he meant
    instances of his program. had he meant
    "instances of classes" he'd have said so. "instances
    in a program" sounds like somebody more experienced
    talking, which if he was, he'd know how to do limit
    either instances of classes or instances of
    his program, and wouldn't be asking. I could be
    totally wrong, but I don't think I am; that's what I
    inferred from his post. only the OP knows for sureInteresting.
    The OP also said "to any number". So you were guessing that this particular user wants to only permit, for example, five instances to be run on any one box at one time?

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • How to restrict the number of batch jobs used by middleware?

    Hi,
       I'm using middleware to replicate data which send IDOCs from one system to another. I know on source system, I can use SMQS to restrict the number of connections. But on target system, can I use any tool to restrict number of batch jobs? Because every time when replicating data, all batch jobs are occupied.
       Thanks a lot!

    Priya:
    It is likely that the BLOB content defined in your table is being stored 'Out-of-Line'. This means that the LOB columns are stored in segments of their own. These then are the segments that may need shrinking.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006363
    Varad

  • How to limit the number of TCP connections beeing used concurrently while a page is beeing loaded?

    We manufacture industrial small-footprint control modules with embedded web server. The resources of these modules are very limited, especially in RAM. We have problem, that FF opens 15 parallel TCP connections while loading a web page (main html page first, then all icons simultaneously). We can not handle such behavior because of lack of RAM memory needed for TCP buffers.
    Question is how to limit the number of concurrent TCP connections the browser will use? We need to do it somehow directly from the page, we can not push our customers to change the general settings of their browsers (they would not understand such things anyway).
    Do anyone have any suggestion?

    Sorry, one other thought. Many web designers now combine all icons into a single image and use CSS to clip the image so that only the desired portion is displayed. This minimizes the number of required connections and increases the probability that the image can be retrieved from cache.
    More info:
    * [http://www.w3schools.com/css/css_image_sprites.asp CSS Image Sprites - W3Schools]
    * [http://www.alistapart.com/articles/sprites/ A List Apart: Articles: CSS Sprites: Image Slicing’s Kiss of Death]
    * [http://coding.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/ The Mystery Of CSS Sprites: Techniques, Tools And Tutorials | Smashing Coding]
    No idea whether this is practical for your application.

  • How to restrict the Number of attachments

    Hi All,
    I would like to restrict the Number of Attachments,
    I found many threads on how to restrict the size on the attachments.
    Is there any standard way(profile or setup) to restrict the number of attachments
    Other Option is
    When the user try to add attachments, I need to get the Entity, PRIMARY key and
    query FND_ATTACHED_DOCUMENTS count and through an error message.
    Not sure how easy it is.
    If anybody tried this requirement please share the logic to achieve the same.
    Thanks,
    With Regards,
    Kali.

    Hi All,
    I have achieved using the below logic, in the ProcessFormRequest,
    String eventParam = pageContext.getParameter(EVENT_PARAM);
    if("oaAddAttachment".equals(eventParam))
    String pkValue = pageContext.getParameter("PKEYID");
    String attachmentCountQry = "SELECT count(*) FROM fnd_attached_documents WHERE entity_name = <EONAME> AND pk1_value = "+pkValue ;
    //Execute the query and get the count,
    int attachmentsCountInt = executeQuery(attachmentCountQry );
    if(attachmentsCountInt >=2)
    throw new OAException("Add only 2 attachments");
    With Regards,
    Kali.

  • How to restrict the number of items in Sales Contract - QCTR

    Hi,
    Is there any standard way or BADI exit to restrict the number of items  in the Sales Contract?(QCTR). I want to restrict number of items in the Sales Contract. Ex - Contract A - Max of 10 ITems(Materials); Contract B - Max of 20 Items(Materials).
    Thanks in advance.,
    Robin

    you can use ORDER_SAVE badi and check before method you can use CRM_ORDER_READ FM and count line items , if count is more than allowed number you can raise RAISE DONOTSAVE exception and issue a message to user. hope it helps you.

  • How to set the number of outbound connection of the emote delivery queue

    I have a ms exchange 2007 server, that is delivering e-mail's to a smtp server that is out of our organization by smtp.
    The receiver is a very slowly server due to a antivirus program that he is using.
    The server side has a few smtp server's that are set in load balancing system, to handle a lot of connections, this is the way the problem of the low performance can be solved.
    My problem is that I see that the exchange 2007 server establish only one connection avrey time, when he is handling the outbound connection of the emote delivery queue. In that way the load balancing system does not help.
    How can I set the exchange 2007 server in a way that he will handle more than one message in
    queue a time, in a different tcp connection?

    Are you sure that it's your server that's the problem?
    If the receiving site has its load balancer set to send all connections from a given source IP address to the same load balanced member server then your server is limited by whatever restrictions the load balancer or the receiving server imposes (which may
    be no more than one connection per source IP address).
    I suppose you could try opening more than one "test" session to the target IP address with "telnet <ip-address> 25" and see if you can open more than one SMTP session with the target.
    Also, have you made any modifications to the transport settings on the HT server(s)? For example, have you limited the maximum number of connections per domain?
    --- Rich Matheisen MCSE&I, Exchange MVP

  • How to calculate the number of user connections in a report?

    Hi,
    I would like to have a report which automatically calculate the number of connections per user.
    Thanks for your answer.
    Regards

    Hi,
    What do you mean by number of connections? Do you mean how many times each user has run a specific report?
    Thanks

Maybe you are looking for

  • When I preview a page in my browser, I only see the background

    Just recently when I try to view a page or the entire site in a browser, all I am seeing is the background of the site. All the rest is missing, same thing happens when I try and publish the site as a testsite, just the background appears. The asset

  • Download file urgent

    Hi, is it possible to download a file using gui_download which contains bold characters. now i am getting plain text only. Example i want to download like this <b>'download file urgent'</b> but i am getting as 'download file urgent' rgds, Madhu

  • Java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z

    I have recently upgraded from 10.1.3.1 to 10.1.3.3. The application uses form based authentication. The login worked fine in 10.1.3.1 but in the new version I get the following error when submitting the login details: 500 Internal Server Error java.l

  • EPSON GIMP DRIVER PROBLEM

    I want to know how can I fix that gimp driver error I am getting can anyone help I disconnect and connect the usb cable but I cannot add the printer driver (client-error-request-value-too-long) thats the error I get how can I fix it hello anyone can

  • WRT54G v6 problems with new firmware

    I performed the mandatory firmware update and soon began having problems such as DNS errors when trying to access web pages and no IP address assigned to secured wireless connections using DHCP.  I reinstalled the earlier version and all of my proble