Want to keep the data on one node and allow remote nodes to read it?

by default, we have a distributed cache with backupcount=1 and data is kept over all the members in equal parts
is there a way to do set it another way: i need only one 'main' node to put entries into the cache and keep them locally, while remote nodes can only read entries? the reason for that - i want to update the entries on the main node quite frequently (do not them travel anywhere over the network) - while remote read operations are infrequent. Also, Iwant the whole dataset survive the shutdown of any secondary node. In other words, I need 'all eggs in one backet' with remote read access.

Andrey -
Provided the 'remote/secondary' nodes are within the local area network, you could use a dedicated distributed cache service; storage enabled
on the 'main' node and storage disabled on the 'secondary' nodes. Access from outside the LAN will require configuring a proxy service on the
'main' node and 'secondary' node access over Coherence*Extend.
/Mark

Similar Messages

  • Want to copy the data form one table to another.

    I have two tables named COMP_TRAINING_T and TRNG_CMTS_COMMENTS.
    Now i feel the TRNG_CMTS_COMMENTS is needed so i am moving a column from this table to COMP_TRAINING_T.
    I already have some data in both tables. I have add the column in COMP_TRAINING_T and want to update this table as follows
    update COMP_TRAINING_T a
    SET COMP_TRNG_COMMENTS=
    ( Select COMP_TRNG_CMTS_COMMENTS from comp_trng_cmts_t b
    where a.comp_trng_finance_nbr= b.comp_trng_cmts_finance_nbr and
    a.comp_trng_audit_userid=b.comp_trng_cmts_audit_userid and
    a.comp_trng_date= b.comp_trng_cmts_date and
    a.comp_trng_userid= b.comp_trng_cmts_userid)
    but it is updating the rows correctly for the data it found from the COMP_TRNG_CMTS_COMMENTS table but for other rows it is setting it as Null value.
    How to rewrite this sql.
    Thanks

    Hi,
    Welcome to the forum!
    You're doing an UPDATE statement without a WHERE clause, so every row in the destination table will be updated. If the correlated sib-query doesn't find any matching rows in the source table, there's no error, but NULL is returned, so some rows in the destination table may get set to NULL.
    To avoid that, you can use MERGE:
    MERGE INTO     comp_training_t     a
    USING (
          SELECT     comp_trng_cmts_comments
          ,          comp_trng_cmts_finance_nbr
          ,          comp_trng_cmts_audit_userid
          ,          comp_trng_cmts_date
          ,          comp_trng_cmts_userid
          FROM     comp_trng_cmts_t
          )  b
    ON    (          a.comp_trng_finance_nbr      = b.comp_trng_cmts_finance_nbr
          AND     a.comp_trng_audit_userid = b.comp_trng_cmts_audit_userid
          AND     a.comp_trng_date      = b.comp_trng_cmts_date
          AND     a.comp_trng_userid      = b.comp_trng_cmts_userid
    WHEN MATCHED THEN UPDATE
    SET   a.comp_trng_comments     = b.comp_trng_cmts_comments
    ;MERGE tests (using the ON conditions) whether or not ther is a match between the destination table and the source sub-query.
    If there is a match, it can do an UPDATE.
    If there is no match, it can do an INSERT. In this case, we don't want to insert any new rows, so we just omit the WHEN NOT MATCHED clause.
    Notice that the USING sub-query returns all the columns from the source table that play any role in this job.
    The ON clause contains all the correlation conditions that were in your original statement.
    The alternatives, using UPDATE are:
    (a) Update all rows, but use NVL to set values to themselves if the sub-query returns NULL
    (b) Add a WHERE clause that repeats the correlated sub-query.
    Neither is efficient, and (b) is a maintenance problem, too: if tyou ever change the conditions, you have to make the same change in two places.
    By the way, this site compresses whitespace by default.
    if you need to post formatted code or output, then type these 6 characters:
    (small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get the data from one table and insert into another table

    Hi,
    We have requirement to build OA page with the data needs to be populated from one table and on save data into another table.
    For the above requirement what the best way to implement in OAF.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    Thanks

    You can achieve this in many different ways, one is
    1. Create another VO based on the EO which is based on the dest table.
    2. At save, copy the contents of the source VO into the dest VO (see copy routine in dev guide).
    3. commiting the transaction will push the data into the dest table on which the dest VO is based.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    if by table you mean a DB table, then no, you can have a VO based on multiple EOs which will do DMLs accordingly.Thanks
    Tapash

  • Reminders are not keeping the date/time I set and are not reminding me.

    When I create a reminder, I schedule the date/time to be reminded.  Once I close the Reminders, the date/time are removed from the items in the list.  This just started a few days ago.  I haven't done an update; my phone is up to date.
    Thanks!

    Body text in all of the Page Layout templates is filler text, in Latin. It's there to show the user (that would be you) what a mass of text will look like on the page, without the distraction of having the words actually mean something in the language of the user.
    That filler text is also "Placeholder" text. Click anywhere in the box holding that text and ALL of the text in that box will be selected. Type a single character, and ALL of the placeholder text will disappear, replaced by the character you typed.
    (Some) Headline text in the same templates is in English (possibly in other languages in other localizations), which may or may not be a good idea. A headline reading "Vikings new Champs!!" could blind the user to several posible uses for that template. A headline reading "Lorem Ipsum" leaves those possibilities open.
    Regards,
    Barry

  • I want to store the Data Pump export files on a remote machine

    Hi,
    I have two database servers running, A and B. I want to kick off a cron job on A that takes a dump and stores it on a directory on B every night.
    Is this possible?
    Thanks.

    One other option might be to use the NETWORK_LINK parameter. Let's say you want the files of export from A to be created on the server where B resides. Create a database link from B to A, then run expdp from B using the network link pointing to A
    http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_export.htm#sthref142
    HTH
    Srini

  • How to copy the data from one database to another database without DB link

    Good Day,
    I want to copy the data from one database to another database with out DB link but the structure is same in both.
    Thanks
    Nihar

    You could use SQL*Plus' COPY command
    http://technology.amis.nl/blog/432/little-gold-nugget-sqlplus-copy-command
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/apb.htm#sthref3702
    Edited by: Alex Nuijten on Sep 16, 2009 8:13 AM

  • HT5616 I have multiple phones and iPads and all are linked to one iCloud account and one iTunes Account.  I want to keep the same iTunes Account so I can share music, etc., however, I want each device to have its own iCloud account.  How do I do this?

    I have multiple phones and iPads and all are linked to one iCloud account and one iTunes Account.  I want to keep the same iTunes Account so I can share music, etc., however, I want each device to have its own iCloud account.  Any help on how I can I do this?

    You'll need to create an Apple ID for each device. Use the new Apple ID for FaceTime, iMessage and iCloud on the device. Use the original Apple ID for Settings>iTunes & App Store.

  • How do I adjust the page orientation in Pages?  I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    The work around is to do two documents, one in portrait format and one in landscape format. When finished export to Pdf. open in Preview by select both files and use Cmd + O or doubleclick. You can now in Previews thumbnail column the pages from one document into the other and then save.
    If you have created only one with i.e. all pages in portrait format but with the content for the landscape pages rotated on the pages, you can rotate the pages in Preview. Two ways to get the same result.

  • How to copy the data of one node to another of the same context

    hi experts,
          i need to copy the data of one node to the other node of the same context.
    the source node is a model node ( i.e comming from <b>RFC</b> ) and the destination node is a value node which i have creted.
    what i have done is.
    i have read the source node using wizard
    do.
    elem_t_p0591 = node_t_p0591->get_element(
        index = sy-index ).
        IF ( elem_t_p0591 IS INITIAL ).
          EXIT.
        ENDIF.
    elem_t_p0591->get_static_attributes(
          IMPORTING
            static_attributes = stru_t_p0591 ).
    IF stru_t_p0591 IS NOT INITIAL.
          wa_p0591 = stru_t_p0591.
          APPEND wa_p0591 TO itab_p0591.
        ENDIF.
      ENDDO.
    and then i am trying to read the destination node so the tha data i have got by above method can be binded to the destination node.
    but when i am trying to get the child node it is giving me a dump saying that
    <b>'Access via 'NULL' object reference not possible' </b> i understand this because when i debug my value node is becoming <b>initial</b>, and when i am trying to access the destination node using this <b>initial</b> node it will give me a dump,
    but what is the work aroud for this.
    Plz help.
    Regards,
    Santosh.

    Hi Santosh,
                   I tried replicating your behaviour in my system. This is what my context structure looks like:
    Node_Test (c-> 0:n)
      Name(attribute)
      Node_Test2 (c-> 0:1)
         Name2(attribute)
    Now when i try to access Node_Test2 then it returns me (initial) i.e. no reference and i believe the reason is that my parent node, Node_Test, is of type table( because of the cardinality) so I am expected to perform an operation on my sub node, Node_Test2, based on the node i have selected, or have specified via index .. 1 is taken by default, in Node_Test.. which in WDDOINIT is initial as i havent got access to my view yet.. so instead what you can do is bind data to your parent node, relevant data ofcourse, and then bind the recieved data to your child node i.e. Node3.
    I am pasting the code here for your reference :
    method WDDOINIT .
           DATA:
             node_test                           TYPE REF TO if_wd_context_node,
             elem_test                           TYPE REF TO if_wd_context_element,
             stru_test                           TYPE wd_this->element_test ,
             lt_table   LIKE TABLE OF stru_test,
             item_test_1                         LIKE stru_test-test_1.
         navigate from <CONTEXT> to <TEST> via lead selection
           node_test = wd_context->get_child_node( name = wd_this->wdctx_test ).
         @TODO handle not set lead selection
           IF ( node_test IS INITIAL ).
           ENDIF.
         get element via lead selection
           elem_test = node_test->get_element(  ).
         @TODO handle not set lead selection
           IF ( elem_test IS INITIAL ).
           ENDIF.
    stru_test-test_1 = 'Anoop'.
    APPEND stru_test to lt_table.
    stru_test-test_1 = 'Avi'.
    APPEND stru_test to lt_table.
    stru_test-test_1 = 'Sid'.
    APPEND stru_test to lt_table.
    CALL METHOD node_test->bind_table
      EXPORTING
        new_items            = lt_table
       set_initial_elements = ABAP_TRUE
       index                =
          DATA:
            node_t2                             TYPE REF TO if_wd_context_node,
            elem_t2                             TYPE REF TO if_wd_context_element,
            stru_t2                             TYPE wd_this->element_t2 ,
            item_t2_1                           LIKE stru_t2-t2_1.
        navigate from <CONTEXT> to <TEST> via lead selection
         node_test = wd_context->get_child_node( name = wd_this->wdctx_test ).
        @TODO handle not set lead selection
          IF ( node_test IS INITIAL ).
          ENDIF.
    <b>*     navigate from <TEST> to <T2> via lead selection
          node_t2 = node_test->get_child_node( name = wd_this->wdctx_t2 ).</b>
    <b>*     alternative navigation via index
         Node_T2 = Node_Test->get_Child_Node(
           Name = `T2` Index = 1 ).</b>
        @TODO handle non existant child
        if ( Node_T2 is initial ).
        endif.
        get element via lead selection
          elem_t2 = node_t2->get_element(  ).
        get single attribute
          elem_t2->get_attribute(
            EXPORTING
              name =  `T2_1`
            IMPORTING
              value = item_t2_1 ).
    endmethod.
    I hope this helps.
    Regards,
    Anoop

  • I have different bookmarks that I want to keep on each computer, will sync delete the bookmarks on one computer and overwrite the bookmarks from the other computer in their place

    I have not used sync yet, but I have the gut feeling there is going to be a problem if I do. I have different bookmarks that I want to keep on each computer. Will sync delete the bookmarks on one computer and overwrite the bookmarks from the other computer in their place? So I'm guessing it will erase the bookmarks on the second computer that you set up to sync. Is there a way to merge the bookmarks from each computer into one bookmark library that contains all the bookmarks from both computers, so that I don't lose any bookmarks by syncing?

    Hi,
    Firefox Sync works by merging all the info in all your computers. It doesn't replace anything. So if you have information A in one device and information B in other device, after setting up Sync you will have information A+B in both devices.
    I hope this clarifies the situation.

  • Can I access my husband's iTunes acct. from my iPad?  I have his permission & pass code.  We want to keep all music in one place & family accessible.

    Can I access my husband's iTunes acct. from my iPad?  i have his permission & pass code.  We want to keep all music in one place & family accessible.

    If you log into his account and download some of his past purchases on your iPad then you risk tying your iPad to his account for 90 days : iTunes Store: Associating a device or computer to your Apple ID
    But it looks like that might change when iOS 8 is released in the Autumn (no date has been announced yet) : http://www.apple.com/ios/ios8/family-sharing/
    If you have his content in your computer's iTunes library then you could sync it from there instead of risking the 90 days association on your iPad. If you don't then you could copy it from his computer and then sync it to your iPad e.g. copy his music to a flash drive and then add it to your library via File > Add To Library

  • HT5622 I have two iPhones using the same Apple ID. I want to change the ID on one of the phones without changing the other. Can it be done without affecting the other devices that use the ID.

    How can I change the Apple ID on one phone but the other. Right now they both use the same ID.

    Sure.
    For the iTunes/App store...Settings>iTunes/App Store...tap the ID shown, sign out...now, sign back in with the ID you want to use. Be aware, any apps obtained with the old ID can only be updated using that ID, as all apps are forever tied to the ID used to obtain them.
    Fir iCloud: Settings>iCloud...turn everything off, including Find My Phone. For Contacts/Calendars, you'll be prompted to keep the data on the phone or delete it...your choice. Then, scroll down, Delete Account. Now, set everything back up using the new ID.
    This won't affect any data stored at iCloud.com, or any other devices.

  • I have two macs at my house, and multiple iPhones. I want to keep the same apple id as everyone else, but i want to put my own music only on my iPhone. I want to do this with my laptop which is not the family's main iTune's computer.

    I have two macs at my house, and multiple iPhones. I want to keep the same apple id as everyone else, but i want to put my own music only on my iPhone. I want to do this with my laptop which is not the family's main iTune's computer.

    If you use the same Apple ID for iCloud on each device, yes. However, you can use the same Apple ID for iTunes content on each device, but different Apple ID's for iCloud, iMessage, FaceTime, etc., on each device. That way, you can have whatever iTunes content you want on each phone, but keep all of the other data separate. You can create another Apple ID here:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId?loca lang=en_US
    Must be a verified email address.

  • How can we acess the data of one component into othr compnent in webdynpro?

    How can we acess the data of one component into other component in webdynpro....
    I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
    any doughts do post.....
    thanks in advance!

    Hi Reddy,
    You can do it in multiple ways. One way would be to try transfer the parameters through URL & the other would be to work with the concept of interface nodes. Please try go through these 2 threads ( [Thread 1|Call view of another WDA Component and pass the value to it; & [Thread 2|navigation from one program to another; )where I have explained about working with Interface node in detail. You can refer to this [thread |receving parameters between two standard webdynpro applications;to see as to how you can do the same via parameters in URL.  Hope it would help resolve your problem.
    Regards,
    Uday

  • Reading the data from one component view into another component view

    Hi All,
    I have requirement to read the data from one component into another component while creating the service order. Here are the details.
    Main View for Service order: BT116H_SRVO in that we have two assignment blocks like Organizational data(BTORGSET) and amount allocation(BTAMNTALL).This two blocks are two different component which are associated with main component(BT116H_SRVO).
    I need to read the sales org data from component/View(BTORGSET/Orgsetdata) into Component/View(BTAMNTALL(HdrBillPlanDet) method DO_VALIDATE_INPUT.
    I searched in SDN but all the posts are related to the data exchange between two views in same component. But My scenario is different as explained above.
    Refer the attachments for the component link..
    Please let me know how we can achieve this one..
    Thanks,
    Sapsar.

    Finally I was able to fix my code...My Mistakes were need to read the parent node above three levels and need to use the relation entity name while reading the data..
    Below is the correction code
    IF iv_index IS NOT INITIAL.
         lr_iterator ?= collection_wrapper->get_iterator( ).
         lr_current ?= lr_iterator->get_by_index( iv_index ).
         lr_entity ?= lr_iterator->get_by_index( iv_index ).
       ELSE.
         lr_current = collection_wrapper->get_current( ).
       ENDIF.
    *loop back to root entity
             WHILE lr_entity->get_name( ) NE 'BTAdminH'.
               lr_entity = lr_entity->get_parent( ).
             ENDWHILE.
    *Get the related entity
             IF lr_entity IS BOUND.
               lr_collection ?= lr_entity->get_related_entities( iv_relation_name = 'BTHeaderOrgmanSet' ) .
               IF lr_collection IS BOUND.
                 lr_orgset_m = lr_collection->get_current( ).
    *            lr_orgset = lr_orgset_m->get_related_entity( iv_relation_name = 'BTOrgSet' ).
                 lr_orgset = lr_orgset_m->get_property_as_string( 'SALES_ORG' ).
               ENDIF.
             ENDIF.
    Thanks,
    Sapsar.

Maybe you are looking for

  • 1st generation ipod nano's shuffle feature stoped working

    my 1st generation ipod nano has a shuffle feature, but now it doesnt work. when i turn on the shuffle feature and try to play all songs it only plays the one song you select to be the first song in the shuffle order. when i pick a list of songs it on

  • Mass change of telephone extension within SU01

    Hi! We would like to change for alls the users within SU01 the telephone extension within tcode SU01. Unfortunately the tcode SU10 does not have the option to mass change the telephone extension. Is there some possibilities to do this via BADI/user e

  • Active Directory and userWorkstations constraint

    Could anybody help me? I need to bind to Active Directory with user that has named workstations which can connect from (userWorkstations attribute). When I try to connect the AD returns the following error even from the workstation listed in the attr

  • Is Lightroom 4 compatible with Yosemite?

    I really want to install Yosemite, but I depend on Lightroom 4 for work.  Has anyone installed Yosemite and is Lightroom 4 running fine?  I can't install Yosemite unless Lightroom 4 works perfectly. Thanks.

  • Windows XP Mode - Could not enable integration features

    Hello!  Let me start off with saying that I'm not very computer savvy, so please be gentle!  :)  So here my problem.  I have scoured forums all morning looking for a solution and have tried many things and nothing has worked yet.  I have Windows 7 Pr