The performance of Passivate and Activate!?

in the Stateful Session Bean, weblogic will PASSIVATE a bean instance into disk or db when the number of bean instances reach the max-beans-in-cache and ACTIVATE it when the client call it again.
but i wonder that the performance of the operation ,can it be very expensive and affect the responsive time very much? if the effect is depended on the persistence fields?
3ks a lot:)

I think there is some confusion about the Activation and Passoivation phenomenons. I have sincere doubts that bean activation and passivation has anything to do with max-beans-in-cache figure. It just affects the idle time, after which the server passivates the bean.
the main adea behind the bean passivation is to preserve the precious server memory during runtime. if the client is idle for certain time (which is totally decided by container), the state of bean instance is preserved and the bean instance is returned to the pool, where it can be used to serve some other clients. when the same client calls back again, the container randomly pickes up any available bean instance and initializes it's state with the previously saved state, so client feels that the same bean instance is serving him continuously.
now the how the container responds to the max-beans-in-cache figure. the container tries it's best to manage all the clients request with the "max-beans-in-cache" bean instances. if the total requests : max-beans-in-cache ratio is very high, the session time out becomes lesser and lesser and vice versa. but if container finds it's really hard to serve all the requests with the supplied max-beans-in-cache, then it can temporarily generate some more bean instances to improve efficiency and those extra bean instances would be killed (not passivated) if no longer needed.
this activation / passivation is to improve the performance and make it less expensive and not otherwise. Managing more no. of idle objects in the memory would be much more expensive than this operation.
hope this helps,

Similar Messages

  • A process for the performance monitoring, tuning and fixing issues

    Hello
    Any recommendations for 10g a process/procedure/methodology for the performance monitoring, tuning and fixing issues for a team to follow ?

    Ranker wrote:
    Hello
    Any recommendations for 10g a process/procedure/methodology for the performance monitoring, tuning and fixing issues for a team to follow ?1) upgrade the DB to a supported version.
    2) Read The Fine Manual; Performance Tuning Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e10822/toc.htm
    Handle:     Ranker
    Status Level:     Newbie
    Registered:     May 12, 2013
    Total Posts:     13
    Total Questions:     4 (4 unresolved)
    How sad!
    why do you never get your questions answered here?

  • Passivate and Activate

    Can any body tell me
    how container knows what is to be activated and passivated ??
    How the container is actually doing activation and passivation ??
    whether we have to give implementation details for acivate and passivate ??
    what background process is happning while activation and passivation ??

    The container calls ejbActivate and ejbPassivate to activate and passivate an entity bean's state.
    Activation and passivation means swapping a bean in and out of memory (to conserve resources). This usually occurs when a given bean has not been called by a client for a long time.
    You don't have to provide any implementation for ejbActivate or ejbPassivate - but if you do, it's usually things like closing connections/files etc in ejbPassivate and reopening them in ejbActivate (for example)

  • Difference in the performance of Quality and Production system

    Hi All,
    We have a scenario wherein we refreshed the production system data into quality system 1 month ago.
    Few days back we noticed that when we are trying to fetch data from COMM_PRODUCT database table (in CRM Production system) based on the product description.....it was taking 2-3 mins.
    However, when we try the same in quality system, it takes only 10 secs. Any idea as to how there is such a difference when both the production and quality contain nearly same data (was refreshed only one month ago).
    Any thoughts on this?

    You should really search the forum before asking. Exactly the same question was asked and answered here two weeks ago: Performance of the program is very good in Quality but Very poor in Prod.
    Rob

  • I am trying to activate my Droid and cannot get through to the techs.  I have been trying to get my phone activated since Saturday. It gives me the same error message. I have been told 3 times already to call back in the morning to try and activate it bec

    Can someone please help me?  I have been trying to get my phone activated since Saturday and Verizon keeps telling me that they cannot do it because their system is still was being updated or is down so to call in the morning becuase it should be up and running.  Is anyone else having this same problem?  I tried calling the for technical support all morning and it keeps giving a message that my request cannot be processed at this time.  Same thing happens when I try to contact them online.

    Dear Apple team,
    I recently bought an iphone3GS from USA and jail broke it. Since I heard the there are lots of disadvantages I thought to unlock it officially through the original owner (in copy). He assisted me and confirmed that he unlocked it with AT& T (See the attachment). According to the instructions I restored the phone. But it is not activating with “Activation server is currently not available, please try again or try with iTunes”
    When I try with iTunes , it says “you haven’t inserted a SIM” even though I insert the original AT&T SIM.
    My current location is Sri Lanka ,so don’t have any apple support.
    Please help me to be a good fan of apple.

  • I downloaded a program for my online job and with it, comes a messenger, however, I am unable to activate the messenger...nothing happens. Therefore, i cannot get online and activate my account. Please advise.

    I downloaded a program, and with it, there is a messenger. When I click on the messenger, nothing happens. I cannot open it and I need to open it to perform my work, and activate my account for my online position. It is similar to Yahoo messenger, and I can pull that up, but I cannot pull this messenger up...nothing happens when I click on the icon. Therefore, I am stuck and unable to go online and do my work with this company. On their website, they suggested if I have Firefox, I may need to temporarily dis-engage Firefox, how do I do that>

    CS2 is very old and reached its "end of life" a while back.  So probably won't run on modern operating systems.  If you can still run it, you'll need to uninstall what you have and re-install with the download link below to activate it.
    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Nancy O.

  • Get back the Data mart status in ODS and activate the delta update.

    I got a problem when deleting the requests in ODS.
    actually there is Cube(1st level. it gets loaded from an ODS(2nd level). this gets loaded from 3 ODS'S( 3rd level). we were willing to delete recents requests from all the data tardets and reload from PSA. but while delting in the request in ODS(2nd level), it has displayed a window, showing as follows.
    - the request 132185 already retrived by the data target BP4CLT612.
    -Delta update in BP4CLT612 must be deactivated before deleting the request.
    - Do you want to deactivate the delta update in data target BP4CLT612.
       I have clicked on execute changes in the window. it has removed the data mart status for all the request which i have not deleted.
    in the same it happened inthe 3 ODS's(3rd level).
    I got clear that if we load further data from source system. it will load all the records from starting.
    so to avoid this can any body help me how to reset the Data mart status and activate the delta update.

    Hi Satish,
    U have to make the requests RED in cube and back them out from cube,before u can go for request deletions from the base targets(from which cube gets data).
    Then u have to reset data mart status for the requests in your 'L2 ODS' before u can delete requests from ODS.
    Here I think u tried to delete without resetting data mart status which has upset the delta sequence.
    To correct this..
    To L2 ODS,do an init without data transfer from below 3 ODS's after removing init request from scheduler menu in init infopackage.
    Do similar from L2 ODS to Cube.
    then reconstruct the deleted request in ODS.It will not show the tick mark in ODS.Do delta load from ODS to Cube.
    see below thread..
    Urgentt !!! Help on reloading the data from the ODS to the Cube.
    cheers,
    Vishvesh

  • N4S: Adobe Interactive Forms - How to install the credentials and activate

    In the download section for NW04S on Linux I see a note saying as follows
    "... the user must install the essential credential file and activate it using a unique password".
    I have downloaded the credentials files which is named as "SDNCerts09_Jul.zip".
    Kindly give me the steps to
    1) install the above file
    2) Activate it with unique password

    Download the zip credentials file to:
    /netweaver/sapmnt/N4S/global/AdobeDocumentServices/TrustManagerService/trust/credentials
    Unzip, it contains two files:
    - certificate.pfx
    - password
    - run visual admin
    - install the new certificate, path "server->services->document services configuration" tab credentials specify:
      Type p12
      Alias "ReaderRights" (without quotations marks)
      P12 browse to the pfx certificate file,
      Password is into the second file
      Press Add
    - restart services "document services trust manager" and "pdf manipulation - low encryption"
    Bye
    sambarza

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • I own CS6. I just built a new computer with Win-7. How do I change to the 64 bit version and install on the new computer?

    I own CS6. I just built a new computer with Win-7. How do I change to the 64 bit version and install on the new computer?
    Lance

    download the installation file(s) and activate with your serial number,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.<

  • If my LR3 CD is cracked, can I download trail version and activate with my serial number?

    Hi,  I bought a copy of LR3 a little over a year ago and it has only been uploaded to my desktop PC.  Yesterday I bought a new computer and found that my CD of LR3 is cracked and could not be uploaded to the new computer.  Can I download the free trail version and activate it with my serial number?  Or can I move the whole program off of my old computer onto a DVD and transfer it to my new computer?  I don't want to have to buy it again since I've only had it one year and only had it on one computer.  Please help!
    Cherie

    Download the trial version from http://prodesigntools.com/adobe-acrobat-x-10-pro-reader-suite-direct-download-links-ddl.ht ml
    Follow the Very Important Instructions on that page first otherwise the links will not work.
    When you launch the trial, enter your serial number to convert it to a full version.

  • ADjust and activate table

    hi
    i have done some changes to a table adding few fields i need to know
    1) what is the tcode to adjust and activate the table again if we do some changes to the primary key
    2) since tehre is a view maintainence which exist for the table so what steps i should take for the same to adjust the view mantainence as per new addition of fields and a primay key addition
    regards
    Arora

    1) SE14
    2) I am afraid you will have to regenerate maintanance view once again
    Regards
    Maricn
    Right now I realized you can most probably use the same tool ( DB Utility - se14 ) to adjust View too.
    Edited by: Marcin Pciak on Sep 2, 2009 10:32 AM

  • Recieve Step -Use Correlation and Activate Correlation

    Hi,
    In Integration process-recieve step , Can any one Please explain what does the properties USE CORRELATION and ACTIVATE CORRELATION mean and where these should be defined?
    Many Thanks,
    Sharath

    These are if you are going to be receiving many message into the same IP.
    By default an IP is created everytime a new message is received. If you don't want this to be the case you can specify a correlation which says that if message A contains 123 and if message B contains 123 in a sepcific field then they belong in the same IP.
    you define these where you define your containers you just have to toggle between the two modes.

  • Smart Form Generate and Activate

    Hi Experts!
    Can anyone explain me wat's the difference between Generate and activate in Smart forms?
    Thanks!

    Hi,
    firstly you are creating smart form is nothing but generate. after syntax check complete u wll activate the smartform. whenever if you activate the smartform it wll create a one function module it(function module) encapsulate all the attributes of that particular form. this is nothing but activation.
    thanks.
    sriram.

  • Performing targets discovery and agent configuration --- HANGS

    Hello,
    I'm running Grid Control 10.2.0.4 on windows2003 server. I have installed the agent on a number of systems with no problem.
    BUT, on one server the install seems to HANG during the:
    "Performing targets discovery and agent configuration" step.
    below is the last entry in my log file. So a couple questions:
    1. Any ideas what is going on?
    2. If I cancel it the install, can I restart it manually (agentca -d ???)
    3. What logs should I look at.
    I have tried installing it on this server several times with no luck. I also had problems upgrading from DB 10.2.0.1 to 10.2.0.3. The DBUA would say "thinks this is a Rerun operation" and recommend I remove some file that doesn't exist (but this is a seperate issue, just included it FYI).
    installActions2008-03-13_03-03-56PM.log
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '5961654' for restore. This might take a while...
    Backing up files affected by the patch '5961654' for rollback. This might take a while...
    Patching component oracle.oracore.rsf, 10.2.0.3.0...
    Copying file to "g:\oracle\agent10g\bin\oracore10.dll"
    Copying file to "g:\oracle\agent10g\rdbms\admin\oracore10.sym"
    Copying file to "g:\oracle\agent10g\
    lib\oracore10.lib"
    ApplySession adding interim patch '5961654' to inventory
    Verifying the update...
    Inventory check OK: Patch ID 5961654 is registered in Oracle Home inventory with proper meta-data.
    Files check OK: Files from Patch ID 5961654 are present in Oracle Home.
    The local system has been patched and can be restarted.
    OPatch succeeded.
    Finished one-offs apply...
    Deleting the files...
    Finished deleting the above files...
    INFO: Configuration assistant "Oneoff Patch Application" succeeded
    INFO: Command = oracle.sysman.emcp.agent.AgentPlugIn
    INFO: Install area Control created with access level 1
    Performing free port detection on host=gridTEST
    Securing the agent
    Performing targets discovery and agent configuration
    CfmLogger_2008-03-13_03-10-51-PM.log
    INFO: oracle.sysman.top.agent:Executing Command: g:\oracle\agent10g\perl\5.8.3\bin\MSWin32-x86-multi-thread\perl.exe G:\oracle\agent10g\sysman\admin\discover\oracledb.pl G:\oracle\agent10g gridTEST

    I get:
    G:\>emctl status agent
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.0
    OMS Version : 10.2.0.4.0
    Protocol Version : 10.2.0.4.0
    Agent Home : g:\oracle\agent10g
    Agent binaries : g:\oracle\agent10g
    Agent Process ID : 3548
    Agent URL : ( I deleted this)
    Repository URL : ( I deleted this)
    Started at : 2008-03-13 17:21:11
    Started by user : SYSTEM
    Last Reload : 2008-03-13 17:21:11
    Last successful upload : 2008-03-13 17:21:56
    Total Megabytes of XML files uploaded so far : 0.30
    Number of XML files pending upload : 3
    Size of XML files pending upload(MB) : 0.17
    Available disk space on upload filesystem : 9.55%
    Last successful heartbeat to OMS : 2008-03-13 17:21:25
    Agent is Running and Ready
    G:\>emctl pingOMS
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD pingOMS completed successfully
    Now I see the server in Grid Control. THANKS!!!!!!!!!!!!!!

Maybe you are looking for