Invalidate cache when data refreshed using external process

Hi all, I have some reference tables that are loaded in memory using cache. I have some external processes - sql scripts - that refreshes these tables. I would like to have a mechanism to notify the cache that the underlined tables have been refreshed.
What options do we have here? I was thinking at using some jms notifications to the cache.
Did you encounter this requirement before?
Thanks.

Hello.
One way to do this is to create a shadow table, who is updated via triggers corresponding to change events on the master table. Next, you need to write and start an "update thread" whose purpose is to poll that table and update the cache accordingly. In order to prevent echo-ing, you will need to include a last updating process column in both the master and the shadow table. That will prevent updates orginating from your cache from infinitely recursing. Essentially, your "update thread" will need to ignore rows created by the write/through or behind mechanism of your cache.
I hope this helps,
-Adrian

Similar Messages

  • Error in using External Process in the Process Flow

    I Created a Process Flow with an external process to Move the file from one location to another location,
    I gave the below parameters for the External Process
    COMMAND: move
    PARAMETER_LIST: ?F:\\FlatFiles\\in\\company.txt?F:\\FlatFiles\\error\\company.err
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    The environment is
    Windows 2003
    OWB 9.2.0.8
    OWF Builder 2.6
    When I deploy and execute using Deployment Manager, it gave me the below error
    Starting Execution TEST
    Starting Task TEST
    Starting Task TEST:EXTERNALPROCESS
    CreateProcess: move move F:\FlatFiles\in\company.txt F:\FlatFiles\error\company.err error=2
    Completing Task TEST:EXTERNALPROCESS
    Completing Task TEST
    Completing Execution TEST
    What am I missing something here?
    Is my Parameters correct?
    GIve me the link where I can find more on using External process.
    Please...please...help me..
    Shree

    Nikolai,
    I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
    I have used two diffent values for the command parameter.
    1. I placed the full path of the file in the command parameter and left the script parameter blank:
    COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    2.I placed the bash command in the command parameter and the full path in the script parameter.
    COMMAND: /usr/bin/sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
    Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
    Starting Execution EXTER_FILE
    Starting Task EXTER_FILE
    Starting Task EXTER_FILE:EXTERNALPROCESS
    Removing ActivatedAudit.dat...
    Removing ActivatedCustomers.dat...
    Removing ActiveAudit.dat...
    Removing ActiveCustomers.dat...
    Done!
    Create the Activated Customers data file...
    Create the Active Customers data file...
    Done!
    WARNING: Log file truncated - see RAB for further information.
    /edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
    /edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
    WARNING: Log file truncated - see RAB for further information.
    Completing Task EXTER_FILE:EXTERNALPROCESS
    Completing Task EXTER_FILE
    Completing Execution EXTER_FILE
    The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
    Can't think of anything else I have missed. I really appreciate your help :)
    Ryan

  • Data Refresh using a Navision base

    Hello,
    I'm actually doing some tests using Power BI but a I have unfortunately some errors.
    I can plan a Data-Refresh using a base created by myself, a Visual Planning base too, but I can't with a Navision
    base (Demo BI for exemple).
    Did someone met this problem ?
    Help, me :)
    Thanks
    Best regards.
    Moda.

    Adom, is this still an issue?
    I don't think it's supported. 
    Can you submit this as a feature request in the UI via the Smile Frown button?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to load external data without using external tables

    Hi,
    I'm asked to develop an ETL for loading external data into a database but, unfortunately, the vers. is 8i so I can't use external tables.
    I know that it's possible by using SQL-Loader. What I want to know is whether there's another way in 8i to load external data from a text file or a CSV file directly with a stored procedure without having to write CTL of SQL-Loader on the server. I mean, is there a way to write everything on the database the same manner I'd do whether I wrote data from a table to a file using for example UTL_FILE or the unique way is to write control files of SQL-Loader directly on the server?
    Thanks!

    Mark1970 wrote:
    Thank you very much Karthick
    I didn't know I could use UTL_FILE also for reading files. I've always use it only for writing data into external files.Yes you can use UTL_FILE to read. The version of oracle you are using i last used in 2004 :) Still remember giving the OS path of the file to open the file. That is long gone now. Its surprising that you are still in 8i.

  • How to run shell script using External Process in Process Flow?

    Hi,
    We can run external process using Process flow.
    I would like to run shell script as external process in Process flow.
    Could any one please explain it?
    Thanks and regards
    Gowtham Sen.

    HI,
    As you said I tried this case. I got the following error. The script is running successfully while I tested at unix command prompt.
    The error is as follows..
    tarting Execution PFPS_SMPL_RUNSHELL
    Starting Task PFPS_SMPL_RUNSHELL
    Starting Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS
    /SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found
    /SOURCE_FILES/CollectFiles.sh: line 1: wc: command not found
    /SOURCE_FILES/CollectFiles.sh: line 1: ls: command not found
    Completing Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS
    Starting Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS_1
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Sep 29 22:57:39 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-12545: Connect failed because target host or object does not exist
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    Enter user-name: SP2-0306: Invalid option.
    Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
    where <logon> ::= <username>[<password>][@<connect_identifier>] | /
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    Completing Task PFPS_SMPL_RUNSHELL:EXTERNALPROCESS_1
    Completing Task PFPS_SMPL_RUNSHELL
    Completing Execution PFPS_SMPL_RUNSHELL
    My scenario is---
    I am trying to return a file name from one shell script. I created a external process for that. After completion of this process, I am running another script which takes that file name and trying to create a external table. The both scripts are runnning successfully. But while I am trying to run using process flow, its not coming.
    And I am not getting the way to catch the output of external process and pass it as parameter as another external process.
    Any suggestions are welcome.
    Thanks and regards
    Gowtham Sen.

  • Why is data being retained in the Firefox Internet cache when I always use Private Browsing ?

    OS Windows 7, using Firefox 33.1.1. I have set "Never remember history" so always use Private Browsing mode. I use CCleaner to delete unwanted files from my PC on each reboot, and notice that despite using private browsing mode CCleaner is deleting files every reboot from Firefox's Internet Cache. This morning, for example, there were 203 files with 2805 KB of data deleted by CC Cleaner from the Firefox Internet cache. What data is Firefox storing there from private browsing sessions?

    If you are in private browsing mode then the location for disk cache should be empty and show the same as the memory cache.
    Are you sure that this is the disk cache as there is more stored at the location where the disk cache is located?
    *C:\Users\&lt;user&gt;\AppData\Local\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    Note that plugins may always store data on disk in their own cache.

  • Reports Services getting down when running reports using in process server

    Hi,
    I have applied patchset 3829014 (Containers for J2EE: Patchset PLACE HOLDER FOR OC4J STANDALONE RELEASE 9.0.4.1)
    to fix the Bug No. 2670561 CPU usage becomes 100% when there is a new HTTP connection
    request in the queue.
    Now after reploying the *.ear file and restarting OC4J_BI_FORMS services from Enterprise Manager and starting the Reports Services if I want to run the reports from the application contained in the ear file, I find the Reports Services is down and the browser throws a 500 - Internal Server Error.
    In the ipm.log file in Oracle_home\opmn\logs I find the following lines:
    05/01/08 17:15:55 [4] Process Alive: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
    05/01/08 17:17:32 [2] [libopmnoc4j] AJP13: Receiving response code: 500 while configured success code is: 200
    05/01/08 17:17:32 [2] [libopmnoc4j] Ping URL for proc: 1162281586 failed while pinging url:/reports/rwservlet/pingserver?start=auto
    05/01/08 17:17:32 [4] [libopmnoc4j] Process Ping Failed: OC4J~OC4J_BI_Forms~default_island~1 (1162281586:636)
    I can't get from where the response code of 500 is coming.
    I have consulted the Doc Id 261867.1 in Metalink and has tuned the opmn.xml file as suggested there but of no use.
    Urgent help in this regard is needed where I went wrong as my production Application Server has become inoperative.
    Thanks
    Nilay

    The ear file contains the front end application from where the reports are called. I have created a new J2EE instance and deployed the application in the form of ear file there.
    After tuning the opmn.xml file following Metalink Doc. Id 261867.1 adding a value of pingtimeout, I found the OC4J_BI_FORMS was not shutting down the inprocess reports server and I was unable to generate reports by giving values from URL. But when I deploy the ear file in the newly created J2EE instance, the OC4J_BI_FORMS is shutting down . Now when I try to start the infrastructure components the OC4J_SEcurity is showing Database dependancy failed although OID and HTTP server components are up.

  • Why does mac mini power shut down when trying to use external harddrive as boot drive?

    I connected a OWC Mercy Elite Pro external hard drive that has it's own power source to my mac mini. It's connected by firewire and I'm trying to use it as an external boot drive. The problem is when I have the power turned on the OWC before I turn the power on the mac mini, the mac powers up but then shuts down after about 30 seconds. However, if I wait to turn on the OWC power after the mac boots up there is no issue. Of course this defeats the purpose of using the OWC as a boot drive because it needs to be on before the mac boots up. I don't have any issues using another external hard drive as a boot drive that doesn't have a power source.

    Hmmm, very strange, could there be a ground loop where the OWC drive is plugged in?
    If you hold alt or option key at bootup, without the OWC drive, once the boot manager shows up connect the OWC drive, wait, does the OWC drive show up eventually as a boot choice, or what happens?

  • Tried to use home sharing to transfer itunes library from old pc to new -- however it only brings over the music, did not bring audiobooks- My question is do I need to delete itunes from my new pc when I redo using external hard drive

    Trying to transfer iTunes library from old windows 7 pc to new windows 8.1.  Used home sharing, but not what I wanted, I want everything on the new so I can discard the old pc -  so now all I have is my music library on new pc thru the cloud none of my Audible audiobooks came over - My question is do I need to delete iTunes off my new pc before I load it in from a external hard drive?

    You might need to make sure neither is going to sleep (System Prefs > Energy Saver)
    Also check your settings under System Prefs > Security. My sisters new laptop kept logging off due to some setting there.
    HTH

  • How to remove namespaces in mapping when using External Definition

    Hi,
    I read in the blog (/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi) that you are able to remove namespaces in mapping by deleting the value from XML Namespace under the Message Type. However, is it possible to do this when you are using External Definition (xsd) ? The blog only describe how to do this if you define a Data Type.

    Hi ,
    No ..it is not possible to remove the namespace once you imported into IR of external defintion.You can remove your namesapce from external definition before importing into IR.
    Sekhar

  • Problem in external process using process flow

    Hi All,
    I want to execute a batch file ( which is appending 2 text files ) using OWB process flow.
    For this i am using external process in OWB process flow and giving the parameters for external process as below:
    COMMAND --- VALUE as c:\winnt\system32\cmd.exe
    PARAMETERS_LIST --- VALUE as ?c:\\fileappend.bat
    when i execute the process flow....it is showing
    Completion Status Completed successfully
    Starting Execution BATCH_PROC
    Starting Task BATCH_PROC
    Starting Task BATCH_PROC:EXTERNALPROCESS
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\owb\owb\bin\win32&gt;
    C:\owb\owb\bin\win32&gt;
    WARNING: Log file truncated - see RAB for further information.
    Completing Task BATCH_PROC:EXTERNALPROCESS
    Completing Task BATCH_PROC
    Completing Execution BATCH_PROC
    But i couldn't see the result, means the files appended.
    It is working when i execute the batch file through MS-DOS.
    Please let me know is there any other necessary steps i need to take.
    Thanks in advance
    Malli

    Hi Malli,
    Because you are using an external process you do not need to specify the cmd command to perform the execution. You can just put the call to the batch file you have in the command string and that is it. Beware that the working directory is <owb home>\owb\bin\win32.
    Mark.

  • External Processing with material Provided to Vendor

    Dear All,
    I have a problem in external processing of Maintenance Order.
    When i have created external processing operation.
    I have assigned one component for that external operation which i have to send to vendor.
    After saving the Maintenance order, system is generating Purchase Requisition for that operation.
    That purchase requisition is having account assignment category F. But it is not picking the item category L and the component assigned for this external operation is not flowing to the purchase requisition.
    Please guide me to solve this issue.
    Thanks & Regards
    Bala

    Hi
    For external service we can use PM03, for that we have to create service sheet and proceed further.
    But here my requirement is, just like PP external processing they are doing one operation outside.
    If you look at PP routing, Operation overview there is given external processing data and there will be subcontracting tick.
    If we tick the sub-contracting button, then system will pick the component assigned to that operation to the Purchase requisition.
    If we don't tick that button, system will not copy the component to PReq. .
    Is there any option available here in PM?
    Please guide me.
    Thanks & Regards
    Bala

  • Using External Monitor (Closing Laptop shut down image on external)

    I am always having to RESTART the MBP to get the screen on the external monitor exclusively. I usually use my MBP with external monitors but when I close the laptop the external goes blank too. Then i have to restart and close the laptop very quickly.
    Is there some way to do this without restarting computer each time? (close laptop but keep image on external monitor).

    My 'wish' is to be able to hot switch without 'sleeping' the MBP as this interrupts backups and network drives etc.
    You mean that you want to be able to go from clamshell mode to open MBP with its display in use? As far as I know this isn't really possible. I'm not at home at my external screen right now so I can't test for sure... but as far as I know as soon as you are in clamshell mode the internal display is deactivated. Have you tried opening it up while its in clamshell mode and then unplugging the display? Maybe if you open it while in clamshell mode, and select "Detect Displays" before unplugging the external screen, the MBP display will come back on. In my mind, this should cause the MBP display to come on, but I'm not sure and I'm not in a position to test it now unfortunately. When I get home I'll check it out for you and see what I can figure.
    You're right though, the best solution right now may be to leave the MBP open, use the external display in "mirror" mode, and dim the display of the MBP down to nothing using F1/F2.
    One more thing: When I started using external monitors and projectors, I did not use the menubar item for "Displays". But, I've since started using it and it really makes things much more simple for managing external displays. You can turn it on in System Prefs --> Displays. Then you can detect displays, adjust their resolution, and change the mirroring settings on the fly without System Preferences.
    --Travis

  • Multiple select queries used in Excel BI report ,fetching data from Sharepoint DB(SP2010_Prod_ProjectServer) causing blockage on DB ,when more than one workbook(same copy of Excel BI Report) refreshed using Refresh All option.

    I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
    is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
    Please let me know mitigation for this blockage issue.
    Should I use begin transaction and commit transaction statements/ shared lock statements.
    please reply

    Hi,
    run same query at the same time?

  • Hi, I have a hard disk failure so to recover my data I am using disk utility to restore the data on an external drive while booting from a second external hard drive. When I perform the operation it gives me an input/output error and stops. Any tips?

    Hi, I have a hard disk failure so to recover my data I am using disk utility to restore the data on an external drive while booting from a second external hard drive. When I perform the operation and after having selected both my destination and source drives, the operation begins but soon fails due to input/output error. If I try to create an image of the drive it gives me the same error message. Any help would be much appreciated.

    Disk Utility only creates a image of the drive, so it's no help getting exactly what you want, which is your files. If the file structure is messed up or the drive is failing then it's no help.
    If you have a external boot drive and you can't access the internal non-booting drive though the typical Finder and windows to transfer your files via drag and drop methods, then you need to install Data Rescue on the external boot drive and it will do as best as it can to recover your files. (works on non-encrypted/non-Filevaulted drives only)
    .Create a data recovery/undelete external boot drive
    Are you sure you have hard drive failure, or that OS X isn't merely not booting?
    Because if the drive is working physically, then there is a host of fixes
    ..Step by Step to fix your Mac
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents#/

Maybe you are looking for

  • Initial Load of DD* tables

    Hi everyone, Just a hopefully quick and simple question. We set up a SLT Replication Server recently and created our first SLT Configuration into HANA. We have no need for real time so we choose a scheduled time out of office hours. The configuration

  • Sql query transpose or pivot info

    we have table with hundred thousand plus users.for each user we have two rows,meaning two test areas,in this case 67 and 75 and each testarea has a flag. not sure this is relevant here but some testers have test areas with same flag and some times di

  • HT1222 iphone 4s

    my iphone has aproblem that not open and it give me acable with i tunes may i can to know if my problem solve is softwere ???? and if there any steps to help me note : idont have jill break and its the first problem had happend and ihad get it from 6

  • Excel Macro screen update

    Hello, I'm using  the above  approach to connect to SAP in order to upload data from excel to SAP R/3  transaction. Myquestions is there exist  away to prevent the screen flickering from EXCEL to SAP during the macro processing , tried to the stateme

  • Problems with movie playback after iTunes update

    Recently updated iTunes to 11.1.1.11 and now my Disney movies won't play - the audio keeps dropping out. Any help?