Batch file or scripts to automate running the cache?

Hello gurus,

I'm new to OBIEE and trying to learn how to automate hides...

I got to know that we can automate the cache for the purge by running a batch file or script... outside the purging of the cache by checking the time of persistent cache for individual objects.

I also read the documentation for the purging of the cache as the use of the ODBC extension functions... such as SApurgeCacheByQuery, SApurgeCacheByTable, SApurgeCacheByDatabase, SApurgeAllCache... But how can we get these functions?

Someone can explain on the automation of the cache or can someone give all kinds of web links or reference?

Thanks in advance...

Published by: user12269190 on April 30, 2010 14:35

http://CatB.org/~ESR/FAQs/smart-questions.HTML#before

First result when I search "obiee clear cache" on Google:

http://obiee101.blogspot.com/2008/03/OBIEE-manage-cache-part-1.html

Tags: Business Intelligence

Similar Questions

  • most of my desktop icons present in the form of PDF files and I can't run the shortcut.

    As soon as I install Acrobat Reader DC most of my desktop icons show in the form of PDF files and I can't run the shortcut.  When I hit the icon (shortcut) I get an error msg saying it not good pdf file

    Hi kenc10782958,

    Please see this KB Application, file icons change in Acrobat/Reader icon for the troubleshooting steps.

    Kind regards

    Nicos

  • Script to automatically replace the specific layers?

    Hello. I work for a small company and we frequently get client files I need to edit. Because of the way thay are formatted the layers always come with the same name/structure, but they still have a layer we need to replace. Go to a shared drive and manually place our desired element (a .pdf file if it is of importance) in the subset to continue with the file layer. Thus, for example, there will be a layer in the default file named layer 1, and this layer is Group 1 > Group > mask of clipping and Image.

    I know ideally we should simply fix the script that formats the layers, but for now is not possible. So what I would like to be able to do (assuming that it is still possible), is to have a script that we can run that automatically replaces the 'Image' file in these layers of subset, I spoke with a file to a location on a local computer (for example replace the 1 layer > Group 1 > Group > image.jpg with C:/example/example.pdf).

    I searched online and could not find anything, so I thought that I have turned to the community for help. Entries, suggestions or creative solutions would be greatly appreciated! And as always, thanks, everyone on these forums is usually very beautiful and impressive, so it's always nice to come here to help.

    Glad to see that you have accepted the challenge.

    Well, this should help you get started. Keep in mind, it is written in VB.NET then you will need to translate it is that you want in Javascript. At least you will have a model to begin with. This is just a quick hack for you to start with - you may need to change the layer you want the new image appears on, if it's important. In addition, it is assumed that you started with a plot point (image.jpg) and whether you want the new image to be incorporated. You will see the code tweak as you wish.

    Var app As Illustrator.Application = CreateObject ("Illustrator.Application")

    Dim aDoc as long as I. Document = app. ActiveDocument

    For each item in aDoc.RasterItems

    If the element. Name = "image.jpg" Then

    order of the day. Selected = True

    Dim newPlacedItem As AI. PlacedItem = aDoc.PlacedItems.Add

    newPlacedItem.File = "YourNewFilePathHere.pdf".

    newPlacedItem.Embed)

    order of the day. Delete()

    End If

    Next

    I hope this helps.

    -TT

  • What happens in a batch file when you try to redirect the output of a command in a text file? How did it break the lot?

    I have a lot that downloads the files, and I want to redirect the output to a text file.  The lot is set up similar to the following:
    Set ftp = c:\ftp.txt
    hdir = Set / mydir
    Define ldir = c:\temp
    echo open monsite.org > ftp %
    echo user > ftp %
    echo pw > ftp %
    echo get myfile.txt > ftp %
    echo mget my*.dat > ftp %
    to echo bye > ftp %
    -I - s FTP: ftp % > "c:\temp\ftp.log."

    This lot works perfectly if I redirect the output of the ftp command, but, when I redirect the output, I get a logfile with 3 lines as follows:
    no connection
    mget my*.dat
    Good bye

    I tried the commands different redirect, with undesired results
    > & (which causes only the batch to close by anything in the logs)

    Why is - what this redirect would break the batch and the ftp script in particular?

    This is now fixed; was a simple mistake really, but thanks for all the help anyway.

  • Windows - corrupt file message, telling me to run the chkdsk utility - does not work

    This is the message I get: "the file or directory C:\System Volume Information\EfaData\SYMEFA. DB-journal is damaged and unreadable.  Please run the chkdsk utility. "When I type chkdsk/f to the command prompt it tells me that it cannot run while windows is open and asks if I want it to work when I reboot.  I say Yes and restart and nothing happens.  What I am doing wrong?

    This is the message I get: "the file or directory C:\System Volume Information\EfaData\SYMEFA. DB-journal is damaged and unreadable.  Please run the chkdsk utility. "When I type chkdsk/f to the command prompt it tells me that it cannot run while windows is open and asks if I want it to work when I reboot.  I say Yes and restart and nothing happens.  What I am doing wrong?

    Two observations:

    1 symefa seems to be linked to something of Norton/Symantec called "Symantec Extended File Attributes" that seems related to Unix file data, so why it is present on a Windows system is a good question. A position I've seen connects it with Norton Internet Security 2010/2011 and suggests that uninstall NIS using theNorton removal tool will solve the problem.

    2. the System Volume Information folder is a folder 'hidden super' which is not normally accessible.  This is where Windows XP stores the system restore points andother information important to the operating system .  I suspect that Norton/Symantec has decided to take advantage of the great hidden nature of this file in order to hide some of his own thing.  You can access the System Volume information as described herehttp://support.microsoft.com/kb/309531 and delete the offending file.  But I would get rid of NIS first and then delete the file.

  • Dashboard - not automatically runs the analysis

    We have a dashboard with a couple of guests analysis and dashboard. Whenever we open the dashboard all analyses are executed (the cache or db)... we would like to let the user decide first prompt values and then run the dashboard (apply or redefine).

    Pls. is - it somehow possible? A hidden option?

    SX4
    Antonio

    full analysis

    You mean loading? I don't think there will be a lot of waiting...
    ex: If you set a report level current_date filter, there is no data and it would show no results without delay... other than the reports in real time.

    There is no work around to do this, other than what I proposed. This is the only way to stop the execution of reports on the dashboard

    Published by: Srini VIEREN on 10 April 2013 14:52

  • the files could not be written to the cache

    When I try to download bank statement site web I get this error.  Internet Explorer cannot download a of files cannot be written to the cache.  I made sure that the do not save the encrypted data on disk is not checked.

    Look here:

    http://www.Vistaheads.com/forums/Microsoft-public-InternetExplorer-General/291210-file-could-not-written-cache-error.html

    Try w/o IE Add ons

    Reset Internet Explorer

    see you soon

  • Automatically runs the integration procedure when arrives to the new file source csv

    Hello

    I have a few steps to integrate my data defined as steps in the odi package. All data will be loaded from csv file, located in the source directory. End users will have access smb to the end of the file, they will be able to put the new csv (with a valid, defined name) in this folder. Thus, odi must periodically check if the new file happened and if the new file has been found - my packege should be performed. Or alternatively - package can run periodically and check if the source file exists if so the data should be integrated.

    What is the best way to do it?

    I'd do a package starting with a stage of ODIWaitForFile;).
    You can find this tool in the Toolbox on the left.

  • The log files can be removed automatically in the environment of the HA

    Hi experts BDB.

    I write db HA 4.6.21 the bdb version-based application. Two processes are running on two machines, a master who will be read/write db, one as a client/backup reads only the db. There is a thread in demon master who perform checkpoint all the 1 second: dbenv-> txn_checkpoint (dbenv, 1, 1, 0), and dbenv-> log_archive (dbenv, NULL, DB_ARCH_REMOVE) will be called after runnng checkpoint each time. The env has been opened with indicator: DB_CREATE | DB_INIT_TXN |  DB_INIT_LOCK | DB_INIT_LOG | DB_REGISTER | DB_RECOVER | DB_INIT_MPOOL | DB_THREAD | DB_INIT_REP;   Autoremove indicator has been defined: envp-> set_flags (uid_dbs.envp, DB_LOG_AUTOREMOVE, 1) before open env.

    I found this thread https://forums.Oracle.com/message/10945602#10945602 , who discussed non-ha environment and I tested my code in an env without DB_INIT_REP non-ha, it worked. However in HA env these log files were never deleted. Could help you in this matter? The customer needs to run checkpoint? Can it be a bug in the bdb?

    Thank you

    Min

    There is a thread in demon master who perform checkpoint all the 1 second: dbenv-> txn_checkpoint (dbenv, 1, 1, 0), and dbenv-> log_archive (dbenv, NULL, DB_ARCH_REMOVE) will be called after runnng checkpoint each time. The env has been opened with indicator: DB_CREATE | DB_INIT_TXN |  DB_INIT_LOCK | DB_INIT_LOG | DB_REGISTER | DB_RECOVER | DB_INIT_MPOOL | DB_THREAD | DB_INIT_REP;   Autoremove indicator has been defined: envp-> set_flags (uid_dbs.envp, DB_LOG_AUTOREMOVE, 1) before open env.

    I do not say that this is causing a problem, but make the DB_ENV-> log_archive (DB_ARCH_REMOVE) in your thread and setting DB_ENV-> set_flags (DB_LOG_AUTOREMOVE) are redundant. In your thread, you control the timing. The DB_ENV-> set_flags (DB_LOG_AUTOREMOVE) option checks and removes unnecessary log files when we create a new log file.

    Have you seen in the documentation of DB_ENV-> set_flags (DB_LOG_AUTOREMOVE) we do not recommend do deleting files of automatic newspaper with replication? While this warning is not repeated in DB_ENV-> log_archive (DB_ARCH_REMOVE), it also applies to this option. You should review the use of this option, especially if it is possible that your customer could go down for a long time.

    But it is a warning and automatic log removal should work. My first thought here is to ask if your client has recently experienced a synchronization? Internally, we block archive on the client during certain parts of a synchronization master to improve the chances that we will keep all records required by the sync client. We block archiving for 30 seconds after the client synchronization.

    I found this thread https://forums.oracle.com/message/10945602#10945602 that discussed non-ha environment and I tested my code in an env without DB_INIT_REP non-ha, it worked. However in HA env these log files were never deleted.

    This thread is to discuss a different issue. The reason for our BDB 4.6 warning against the use of automatic elimination of log with replication is that it only takes into account all sites in your replication group, so that we can remove a log of the master who always needs a client.

    We added remove auto journal group that supports replication manager replication 5.3 BDB, and this discussion is about a change in the behavior of this addition. With this addition, we no longer need to recommend against the use of elimination automatic log with replication in BDB 5.3 and later versions.

    Could help you in this matter? The customer needs to run checkpoint? Can it be a bug in the bdb?

    I'm not sure that the customer needs to run its own control points, because it performs checkpoints when it receives control point of the master journal records.

    But none of these options to delete log on the master does nothing to remove the logs on the client. You will need to do the following: to archive logs separately to the customer and the master.

    Paula Bingham

    Oracle

  • Automatically clears the thinstall on my USB files

    Hi all

    Is it possible to create a script to automatically clear the cache of the sandbox (folder Thinstall) on my USB key, without the user to do?

    If this is the case, can you give me a try please?

    Thank you for your help

    David

    >>> 1. What have you changed in the package.ini?

    I uncommented monotube RemoveSandboxExit = 1 as pbjork wrote you.

    >>> 2. How to rebuild my application with this package.ini?

    Replace the Package.ini file (that you downloaded in the wire) with my Package.ini and run the build.bat file. In the bin directory, you will have new application.

  • I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    I, stupid, changed the program by default to a BAT file to the cmd prompt, well, now I can't run the batch files now, please help!

    Hi William,.

    Welcome to the Microsoft community.

    Batch file is a type of script file, a text file, containing a series of commands to be executed by the command prompt. When you run a batch file, it opens the command prompt to run the scripts.

    It would be great if you can answer the following questions:

    1. what happens when you try to run a batch file?

    2 are. what batch file you referring?

    3. the problem occurs for a particular batch file?

    First of all, I suggest you to check the commands written in a batch file. To do the same thing, just right-click on the batch file, and then click change. It will open Notepad with the list of orders scripted for this particular batch file.

    If you have additional questions on the computer, please ask your question about Windows and we will be happy to help you.

  • Run a batch file script

    Hi all

    I want to run a SQL script that is executed from a batch file.
    Lets say, I have the file loader.bat. This .bat file connects to Oracle and wants
    to run the .sql file

    The content of the file loader.bat is
    sqlplus 
    @C:\temp_val_id.sql
    At runtime, it calls in the name of user and password. I enter the user name and password and then log on to Oracle
    But the temp_val_id.sql file isn't exectuted.

    The output is as below, but .sql file does not run
    C:\>sqlplus
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 28 17:19:50 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Enter user-name: utest_tt_senayat/password@silver3
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL>
    I'm now trying another method
    sqlplus 
    @@C:\temp_val_id.sql
    The result is the same as above. Do not run temp_val_id.sql

    Could someone please help me,

    Thanks in advance
    Saaz

    Saaz Ena wrote:
    sqlplus/nolog @test.sql

    test.sql content:

    connect &user/&pass
    select sysdate from dual;
    exit;
    /
    
    C:\work\test>sqlplus /nolog @test
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 28 16:21:12 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Enter value for user: system
    Enter value for pass: manager
    Connected.
    
    SYSDATE
    ---------
    28-MAR-12
    
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
  • How to restart and stop the system by running a batch file?

    Can any body give the command batch file for restart and stop of the system.

    My requirement is to reboot or shut down the system at a specific time. So I think that by creating a batch file, that I can schedule the file to run at a specific time of the scheduled task...
    With regard to:
    Rahma.

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited on MSDN. Please post your question in the MSDN forums. You can follow the link to your question:

  • Should I have the administrator account to run the batch file?

    When I log in as administrator, I run after the file of commands without any problem, but

    When I login as a user, I can't run after the batch file, the changeover of the authority.

    I would like to know if I need to log in as an administrator to run this batch file or not,

    Can I use different accounts group? and always perform this task.

    Does anyone have any suggestions?
    Thanks in advance for your suggestions :>

    off @echo
    echo copy C: d:

    RoboCopy C:\ /MIR R:1 /W:1 D:\
    ECHO done

    Hello
     
    To respond to your request, you must enter the administrator password to access this command file.
    Instructions for Windows 7
    In order to run as administrator, create a shortcut to the batch file.
    1. right click on the batch file, then click on copy
    2. navigate to the location where you the shortcut
    3. right click on the background of the directory
    4. select Paste shortcut
     
    Then, you can set the shortcut to run as Administrator:
    1. right click on the shortcut
    2. Select Properties
    3. in the shortcut tab, click Advanced
    4. check the box "Run as Administrator"
    5. click on OK, OK
    Now when you double-click the shortcut it will ask for confirmation UAC and then run as an administrator (which as I said above is different than running under an account in the administrator group)
     
    I hope this helps.

  • Windows 7 and I have a batch file to copy files from 1 computer to another. It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening

    I am running Windows 7 and I have a batch file to copy files from 1 computer to another.  It works fine alone, but when I put it to run in the Task Scheduler it shows it ends successfully, but nothing is happening.  None of the files are copied, and the control box does not appear.  Any ideas?

    Run a batch file in Task Scheduler

    Hello ITGIRL17,

    Thanks for posting on the Microsoft answers Forum.

    Configure your task under your administrator account.
    Then go to the folder with the batch file and ADD on control for the folder administrator permissions and each of the files in batches.
    If the batch files write data, then the target for the task should ALSO have all explicit permissions.
    Now try to run the Task Scheduler task.

    Also check the information from the following link and look specifically at Brian Vandemark Sommaire steps on 2 September.
    http://social.technet.Microsoft.com/forums/en/winservermanager/thread/d47d116e-10b9-44f0-9a30-7406c86c2fbe

    I hope that this information will help resolve your batch file does not problem.

    Sincerely, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for

  • How will I know if I have enough memory to install El Capitan

    Please see my iMac info below. Do I need to add a memory card to accommodate OS x El Capitan? Thank you iMac Version 10.6.8 2.4 GHz Intel Core 2 Duo processor 1 GB 667 MHz DDR2 SDRAM memory Number of processors: 1 Total number of cores: 2 L2 Cache: 4

  • How to get text messages that have been deleted?

    How to get text messages that have been deleted?

  • Satellite L870-14 x - CD/DVD does not read CD

    I bought this Toshiba Satellite L870-14 portable x on 12 October and he's really starting to annoy me now. I lost hours and hours trying to install my own content of the previous laptop. I have endless questions, trying to get the product key for MS

  • Apple Watch Hermes dials

    I have a question about editing of Apple Watch Hermes. According to this website of Hermes http://www.hermes.com/applewatchhermes/ Apple Watch Hermès edition has 3 dials; Clipper, Cape Cod and space. Is it possible to add or use the standard Apple wa

  • Equim L350 - unable to connect to the WLAN - SOLUTION

    I recently had a very strange moment with my wireless network is not recognized by the new laptop and the only work intermittently. I couldn't really understand the problem that the wireless network is very good and has been recognized by other devic