Need a clarification regarding the application of blocking replicated Cache

Hello
I need to know what will happen when the locking of the caches replicated when we have configured configuration lease-granularity member or a thread?

Suppose in my set of 2 members of replicated caches and it extend customers who writes the cached data and another extended which data in caches for its calculation.

Assume that my setup of the granularity of the lease is a member.
My definition:
1. when I say lock on a special touch in all two replicated caches that record with the special key will be locked and no other thread can update this key until I released the lock.
2. in the course of my number blocking any readers can read the record to the above key.
3. even if I update the record (while another player reading this record) by consistency it itself will take care of the update data without corrupting the file and give damaged data to the reader.

Suppose that my setup is thread in granularity of lease
1 when I say lock it will act as a lock on the thread that is running but not a lock for all replicated nodes.
2. This is why when two writers say lock they will get the lock but they can update the same record at the same time, and it could make simultaneous update exception
3 Eventhought writer has acquired the lock and while doing the update any reader can read the data relevant to this record.
4. the update of data relevant to the particular key will be coherense handle (unless the simultaneous update exception doesnot appear) it self and any player can use data not currupted.


Please correct me if I'm wrong. I need to know when we have configured member or thread in rental-granularity under implementation of this lock. According to the documentation I've seen replicated caceh supports the feature LOCK_ALL. hope this function means it locks all cache as a global lock.

Hope you guys can show me a way to add/update records in line while some readers read the same cache.

Kind regards
Sura

Published by: Sura August 3, 2011 20:25

Published by: Sura August 4, 2011 00:26

Hi Sura,

If you use Clients range from updating the replicated Cache, it is recommended to have the following:

(1) specify the granularity lease = "thread" for the replicated cache,
(2) prohibit, by convention, explicit locks in any client of the replicated cache, and
(3) allow customers to extend update the replicated cache via EntryProcessors (http://download.oracle.com/docs/cd/E14526_01/coh.350/e14509/appbestextend.htm#CIHCJHFA)

If the granularity "Member" value, once any thread in this member acquires a lock, another thread running in this node will have access to the lock (and any thread in this member can unlock the key). Having said this, lease-granularity = "thread" restricted access to a key to a single thread within the cluster.

I hope this helps!

See you soon,.
NJ

Tags: Fusion Middleware

Similar Questions

  • Work from home remote access denied because the application is blocked by security settings - never happened before

    (Please excuse my ignorance - I'm not the person more in computer science)

    I worked for a few years with a secure address and open a session using a generated continually home access code.

    Very recently, I tried to log on and a box will appear indicating that the application is blocked by my security settings.

    I tried to reinstall Java to version more up-to-date. It has no effect.

    Any ideas how I can fix this problem?

    Thank you very much

    [moved from Virus & Malware]

    NOTE: http://www.Microsoft.com/en-us/Windows/enterprise/endofsupport.aspx

    I'm guessing here but it could be a problem because you are still using XP which is no longer supported by Ms.  Some entities are beginning to restrict access to their databases by computers using XP.

    I suggest that you speak with the COMPUTER consultants to the organization where you work.   Maybe you need a different code or COMPUTER consultants can tell you how to change your settings.

    Good luck...

  • Need some clarification on the reservations of memory

    After running our VMware environment a pretty ' hands-off "path, so far (based on PROD/DEV resource pools with High/Low shares but no other reservations/limits of CPU/MEM), it seems that we will have to start getting more accurate when it comes to our important VMs (problems of memory the other day affected some Windows VMs of prestige).

    I'm pretty happy with memory and CPU reserves, but I want to say...

    1. If the assignment of a reserve of 3 GB memory to a 3 GB Windows VM, it will be none of this 3 GB available to other virtual machines when the virtual machine is not actively using all booking / 3GB.

    2. If the virtual machine requires all of a sudden all the 3 GB, but there is a conflict of memory on the host computer, how does ESX ensure that the / 3GB is available when virtual machine he needs?  Is the memory still allocated to the VM, but all simply not used?  Is the inflated/shared memory of guests without reservations to satisfy the requirements of the virtual machine with a reservation?  Are vmotioned VM on the host to provide the required RAM

    3. Admission control is called only when the virtual machine is running (as opposed to being rebooted)?

    In short, bookings of memory will allow me to say to the owner of the application that their virtual machines are guaranteed memory resources that they need, when they need it.  I don't want to offer that and then have the roles reversed on me when it turns out that is not to be true.

    Any help appreciated and I'm ready to attribute points to a helpful soul...

    Jon

    (1) only a reboot of the VC restarts the virtual machine world.

    (2) although very unlikely - Ppossibly, sound must be incredibly bad timing, and the 2nd VM would have to have its own reserves.

    The concerns you have are EXTREMELY likely if get you into such a situation, it is easy enough to temporarily disable the admission control, move the surroundings of things you must do and turn it back on.

    We use bookings, while we do not encounter this.

    -Matt

    VCP, vExpert, Unix Geek

  • PLEASE CLARIFY! Need for clarification on the app's installation folder

    Hi all

    I noticed that on some devices such as the Bold 9780, the application after the installation appears on the homescreen on Curve 8520, it appears inside the download folder.

    So I want to know on devices on which it gets on the homescreen and on which he gets in the download folder?

    This device is dependent on?

     

    This is according to the guidelines of my knowledge, dependent on the device.

    Thanks in advance.

    Memory, file download was introduced in one of the 4 OS later releases, an assumption OS 4.5.  It is present until the 5.0 OS.  So, you can check if it is there or not by the level of the OS.  I think that if take you devices running OS 5.0 and earlier have this, that will work for the vast majority of phones out there.  But if you are developing for OS 4 devices, just check the simulators to determine where the icon appears.

  • Need a clarification on the reservation of memory

    I created my first virtual machine and see that the memory allocated to the virtual machine appears to be limited.

    The host computer has 16 GB of memory, but I am only allowed to 384 from reserve to this machine. The tab for the allocation of resources to the virtual machine shows he uses 353/384 MB of memory of comments. Is this ok or y at - it something wrong? It is recommended that I have at least 4 GB of memory for this installation. The memory of comments will expand because it requires more resources?

    Here are some pictures:

    ScreenHunter_02 May. 19 15.50.gif

    ScreenHunter_03 May. 19 15.50.gif

    ScreenHunter_04 May. 19 15.50.gif

    ScreenHunter_05 May. 19 15.57.gif

    35 x is your memroy active and the number of 38 x is your overhead + active. As mentioned above, you can increase the memory allocated to the virtual machine. Simply turn off the virtual machine, do a right click go to change settings and change the memory. Your guest will be the new amount of memory allocated. However, this will not affect the active memory of your comments. Who will probably still low if the prompt is not widely used. If you want you can book memeroy for her. But that won't be necessary. Your guest will be asked just more memory when he needs it (i.e. the amount that you have alloccated at the prompt max). Not setting reserves, you will not sign memory to a virtual machine that can't even use... Hope that makes sense...

    Follow me @ Cloud - Buddy.com

  • Need a clarification on the concept of 'World' and 'Group' with regard to CPU reviews

    All-

    I am investigating questions of CPU usage for one of my guests with esxtop. Can someone clarify the concept of 'World' and 'group '? Many of my guests have a 7 or 11 NWLD and I'm trying to figure out exactly this means. What I gather is the following:

    A guest has many worlds

    There is one guest per group

    A group contains many worlds

    Can someone also explain the purpose to describe the use of the processor in this way?

    Megan

    Hello.

    Check it out "[interpretation statistical esxtop | ]. "[http://Communities.VMware.com/docs/doc-9279.pdf]" document.  «[The planner of UC in VMware® ESX 4 |]» [ http://www.vmware.com/files/pdf/perf-vsphere-cpu_scheduler.pdf] "white book is also a good reference.

    Good luck!

  • Need a Clarification on the installed component and run Simulator Configuration

    Help!

    I need clarification on what the plugin Eclipse is telling me. There are two parameters that are confusing me. For components installed (found under preferences/Window/BlackBerry JDE/Installed Components), I have a choice of 5.0.0 4.7.0,4.6.1, 4.6.0 4.5.0 and 4.3.0.

    Depending on which component I select when I go in the tab Configurations.../Simulator/course walk, I see a different mix of devices.  In all cases, there is a default Simulator.

    Initially, I assumed that each JDE component supports a mixture of different devices, and that is it compiled correctly, I would be assured that the app would work for all devices on the tab run Simulator Configuration.  In my tests, I found theopposite.  I also assume that, for each component of the JDE, there is a 'default' Simulator that was representative of all devices in the drop-down list run Configuration Simulator.  In my tests, am not sure what actually represents the Simulator 'by default'.

    Can someone clarify how to JDE and Configuration simulators run installed interact and a developer show how to ensure that their application is running on a mix of devices?

    When I finally get to the point where I am ready to deliver, what are the points of decision of installation?  Is it enough to simply require a specific version of an operating system (for example 4.7?) or do I have to create a grid and check the two model number and version of the operating system?

    Thanks for your help.

    "currentT shipping Curve 8330 come with OS 4.5" - they must be, as far as the carrier released a version 4.5.

    "Your statement that most consumers do not upgrade surprised me too" - only I support!  You might get a different opinion of someone else.  But the question is why would?  And our world app downloads indicate that he is did not upgraded phones out there.

    "I guess you are right in this assumption of statementI you are right in this statement"

    What is - an appropriate version of the BlackBerry JDE
    Article number: DB-00537
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800738/800901/What_Is...

    "If there is some Curve 8330 there running 4.5 OS, it's a configuration supported." - correct

    "Construction of the 4.3 OS will be one where the menu appears in the upper right and the built 4.5 OS will be one where the menu is out."  Sounds good

  • Question regarding the application of ad hoc patches

    Hello

    We have plans in the following way:

    Upgrade databases to 10.2.0.5.0
    Apply the PSU 3 10.2.0.5
    Apply a list of one-time fixes identified for our environment (which do not appear in 10.2.0.5.3)

    Query:

    If the unique patches identified to be applied in our environment are available only up 10.2.0.5.0 and not 10.2.0.5.3 then which of the below mentioned solutions should be proceed to consider:

    To upgrade the database to 10.2.0.5.0, apply the unique patches available on 10.2.0.5.0 and then apply the PSU3 10.2.0.5.0

    or

    Upgrade the database to 10.2.0.5.0, apply the PSU3 10.2.0.5.0, request specific spots on the top of 10.2.0.5.3 and appy the same




    Thank you and best regards,
    David

    You will need to check if one-offs comes into conflict with the blocks of POWER 3 in the 10.2.0.5. If this is not contradictory, so I suggest that you can install the one-time 10.2.0.5 on top of 10.2.0.5.3.

    I suggest you go with option 2 you listed.

  • Need a clarification about the Installation

    Hi all
    I install in OBIEE 11 g on Oracle database 10g for the first time, so I would like to know if we need new schema of database Oracle or a new Instance.

    Please do not answer...


    Kind regards
    Arun

    Published by: 32956 on 5 April 2012 09:43

    Hello

    You can continue the installation of the oracle 10g database. Before that, make sure that you have downloaded all the files correctly and unzipped into one folder, including the installation of the regional coordinating unit files.

    It inludes two steps
    1. create patterns of Support using the remote control
    Refer to this link: http://allaboutobiee.blogspot.in/2012/03/obiee-111160-rcu-installation.html
    2. installation of OBIEE 11 g.
    Refer to this link: http://allaboutobiee.blogspot.in/2012/04/obiee-111160-step-by-step-installation.html

    It may be useful

    Published by: Nila on April 5, 2012 10:04

  • I need a clarification on the username more license

    OK, here's the deal. We're going to get a permit for oracle database 11g standard edition one. We have to s/1 n and 2 developers working on a web application with php. Let's put the database on windows server 2003 and we use apache to host the web application (on the same machine). There will be about 10-15 users using the web application. Users License how do I need?

    I think that we need only 5. users are:
    -L' apache/PHP hosted on the same machine.
    -S/n (which will also help to develop).
    -2 developers.
    -Maybe the head of IT, I don't know. There is 1 left and we need to buy at least 5.

    Users (who will be the people in the Department of purchase, sales, marketing and warehouse) don't know anything about oracle and they connect to the oracle server. They are connected to the Apache Server (that connects to the oracle server). They do not get the data directly from Oracle. Apache/PHP is obtaining the data and display it on the users web browser.

    I think this right? Or I have to buy a license for 20 users?

    You don't think this right. The number of simultaneous connections, as well as in web applications generally licensed in the universal power supplies is cheaper. Apache is not considered to be 1 connection, end users are counted as connection.
    But then again your friendly salesrep can provide an answer that is binding for Oracle, and nobody here can.

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • Need for clarification on the use of BlackBerry Code signing keys?

    We will use the same key for several applications developed by our care? Or should get us the key for each application that we will deploy on BB devices?

    Thank you

    You can use it on more than one application and deploy it on several devices.

    It is limited to a single machine, I mean a signature key can be installed on a machine.

  • Need some clarification on the operation of H323 with VCS-C/E

    We have our points of endpoints connected to the VCS - C with a VCS-E. When an end point called another unit through IP H323 the VCS - C does anything with the video/audio? He plays the intermediaries? Or is the VCS - C just let both units communicate DIRECTLY with each other (even when I see the appeal in calls in course VCS-C)?

    I try to debug problems with call and need some explanation on how it works.

    Thank you

    RB

    By default, call Routed mode should be on.  This means that the installation & signalling through the VCS, but all media streams are direct between endpoints.

    See you soon,.

    Paul R

  • need for clarification to the free developer license of technology Exchange Developer

    Hello

    could you please specify what is the developer for vSphere Standard product license?  do you mean ESX v4 standard edition? any other license?

    Thank you.

    Kong

    Kong - Thank you for asking it is for vSphere Standard as described in page 4 http://www.vmware.com/files/pdf/vsphere_pricing.pdf

    Hope this helps, see you then...

    Kind regards

    Pablo

  • Clarification regarding the understanding of the ORACLE CONNECT BY PRIOR Clause

    Dear all,

    I'm trying to understand the ORACLE CONNECT BY CLAUSE, and I wrote a query to check my understanding.


    I wrote the below two queries.

    Select the level, lpad ('* ', 2 * (level - 1),'* '). t_ename Ename, empno, sys_connect_by_path(ename,'/') enames, Bishop of PEM
    -where empno = empno
    Start by empno = 7654
    -start with mgr is null
    Connect by prior empno = mgr;

    LEVEL T_ENAME ENAMES EMPNO, MGR
    ---------- -------------------- -------------------------------------------------- ---------- ----------
    1 MARTIN 7654 7698 /MARTIN

    Explanation: Start by EMPNO = 7654 here means, the root node is 7654. Connect BY PRIOR EMPNO = average MGR-> for the empno = 7654 are all the people under him. IE. Mgr with 7654.

    Select the level, lpad ('* ', 2 * (level - 1),'* '). t_ename Ename, empno, sys_connect_by_path(ename,'/') enames, Bishop of PEM
    -where empno = empno
    Start by empno = 7698
    -start with mgr is null
    Connect by prior empno = mgr

    LEVEL T_ENAME ENAMES EMPNO, MGR
    --------- -------------------- -------------------------------------------------- ---------- ----------
    1 BLAKE 7698 7839 /BLAKE
    2 * ALLEN/BLAKE/ALLEN 7499 7698
    2 * 7521 7698 WARD/BLAKE/WARD
    2 * MARTIN/BLAKE/MARTIN 7654 7698
    2 * TURNER, BLAKE/7844 7698 TURNER
    2 * JAMES BLAKE/JAMES 7900 7698

    Explanation: Start by EMPNO = 7698 here means, the root node is 7698. Connect BY PRIOR EMPNO = average MGR-> for the empno = 7698 are all the people under him. IE. Mgr with 7698.


    I UNDERSTAND TO CONNECT BY PRIOR IS CORRECT?

    Please correct me if I'm wrong.

    Thank you
    MK.

    Yes, you're right

    Kind regards
    Sayan M.

  • Need a clarification about the initialization of the

    Hello

    Created and object type EMAIL_TYPE and then created the nested table of this type of object email_array, after that the initialization which according to the number of line 6. and replaced the value according to the number of line 10, want to know is there any other way to initialize the array of objects of type Email_array and can also extend this using the email_obj.extend command and add new values to it at run time. E

    Create or replace TYPE EMAIL_TYPE AS OBJECT (EMAIL VARCHAR2(80));
    CREATE or replace type EMAIL_ARRAY AS TABLE OF EMAIL_TYPE;
    
    declare
          vemail       VARCHAR2(80)    DEFAULT NULL;
           email_obj    email_array := 
                             email_array( email_type('x'), email_type('y') );
       begin
               for i in 1 .. email_obj.count loop
               email_obj(i).email:='[email protected]';
               end loop;
       end;
    

    This:

    declare

    addresses of ADR: = (); - initialization addresses

    Start

    for j in (select * from (select rownum rn, a.* t_address one)) loop

    ADR.extend;

    ADR (j.rn) .street: = "HJK";

    ADR (j.rn) .city: = 'H ';

    ADR (j.rn) .state: = 'H ';

    ADR (j.rn) .postal_code: = "HJK";

    -adr (j.rn): = addresstyp (j.street, j.city, j.state, j.postal_code);

    end loop;

    might work if your table exceeded a record of pl/sql using the street, city, State, zip_code items but you have an array of objects, so there is only one thing in each element of array and this 'thing' is an object. To create an object, you must call the manufacturer (you don't have an object in the front element), once you've done so that you can access the attributes of the object.

    so (not tested) If you put a

    ADR (ADR. (Count()): = adresstyp (null, null, null, null);

    After your expand your code must work... but it would be smarter to call the constructor with the values you want to memorize rather than with a list of NULL values...

    and stop using this thing of rn for address, you simply add an order by in the outer circle choose or decide somehow do not use one of the lines in your loop and your logic will fail.

    HTH

Maybe you are looking for