Are there internal caching mechanism

I recognized in my tests, that the response time of the IMDB Cache getting faster after serveral execution of the same SQL Command.
Are there internal request caching mechanism? What ist the name of these functions?

The TimesTen database maintains a cache of prepared SQL statements which is known as the command cache. Whenever a statement is prepared we first check to see if the statement already exists in the cache and if so we will use the existing cached plan rather than do a full prepare. This is similar to soft versus hard parse in the Oracle database.
There are some builtin procedures that allow you to examine the contents of this cache; look in the TimesTen Database reference guide at the builtins that start with ttSQLCmd...
Chris

Similar Messages

  • Are there internal hard drives available fo a 2006 Mac Pro?

    Looks like my original equipment 500 GB internal HD for my 2006 Mac Pro is dying.  Are there any repacement HDs out there?

    Over-due for upgrade it sounds like. Anything you want. SATA is SATA.
    SSD $100
    10K WD VelociRaptor $100 250GB (180MB/sec) or 1TB $200
    WD Black 1TB $93
    Generally, System drive / data and media drive / backup / spare sysstem drive
    WD Black 1TB $93
    http://www.amazon.com/Western-Digital-Caviar-Internal-Desktop/dp/B0036Q7MV0/ 
    WD Green 3TB $149 - backup
    http://www.amazon.com/Western-Digital-Caviar-Green-Desktop/dp/B004RORMF6/
    WD VR 10K 250GB $103 200MB/sec boot drive :
    http://www.amazon.com/gp/product/B007V5A1BK/
    Those last and last and make a nice boot drive.
    SSD: Samsung 840 128GB
    http://www.amazon.com/Samsung-Series-120GB-internal-MZ-7TD120BW/dp/B009NHAF06/
    ATI Radeon 5770
    http://store.apple.com/us/product/MC742ZM/A
    http://www.amazon.com/Apple-ATI-Radeon-5770-MC742ZM/dp/B003Z6QH6M 
    http://www.bhphotovideo.com/c/product/726537-REG/Apple_MC742ZM_A_ATI_Radeon_HD_5 770.html
    And definitely upgrade and replace your RAM.
    How To Install and Remove Memory Mac Prohttps://support.apple.com/kb/HT4433
    2x2GB FBDIMM DDR2 667MHz @ $29http://www.amazon.com/BUFFERED-PC2-5300-FB-DIMM-APPLE-Memory/dp/B002ORUUAC/
    Hardware Monitor
    http://www.bresink.com/osx/HardwareMonitor.html

  • Are there any cache you CANT delete?   Invisible files!?!?!

    My MBP is getting pretty full so i downloaded Whatsize to see where everythings at. i found a cache folder that was about a gig large, so i moved it to the trash. and then when i tried to empty the trash it said that a file was in use (one from the cache file) so i stopped, and did not delete it. Is there any caches you cant delete, something that will effect the performance of my computer? or is it ok to go ahead an delete and open up the space?
    One other issue is when i ran Whatsize it located a file called "Private" with such things as "ver" "ect"" "temp" in it. it is pretty large. but i can find it anywhere on the hard drive. i even tried to spotlight it, but nothing of the such came up. i have no idea what it is. i kinda want to delete it, but im not going to if i dont know what it is. any help would be appreciated. thanks

    Caches which you can't delete should be kept in the cache folder. There are programs open all the time unless you boot into single user mode or connect to another Mac with target disk mode. I would not mess with the caches too much, as some are always being written to. Deleting a file which is being written to can cause data corruption.
    Best to backup your data and only delete files from those folders which are safe which I've outlined:
    http://www.macmaps.com/safetodeleteormove.html

  • JNDI as a caching mechanism

    Hi,
    We are building an application using stateless session beans to access some
    back end systems. The backend transaction is rather expensive with regards
    to execute time. To optimize response times we are looking at a caching
    strategy, we have identfied the following implementation alternatives :
    1. Create object cache implementations as statefull session beans, storing a
    reference to them in JNDI.
    2. Create object cache implementations as regular java objects and storing
    the entire object in JNDI.
    Which one of these alternatives we choose will rely on the performance of
    the WL JNDI, we are using the 5.1 server. If WL JNDI is capable of handling
    reasonable amounts of data there should be no reason to use the expensive
    statefull session beans.
    Q1 : Are there any method to calculate the amount and troughput of data that
    would be possible using alternative 2 ?
    Q2 : Are there any other mechanism we should consider ?
    Any help would be greatly appreciated
    Regards,
    Anders Mathisen

    Read-Only entity beans are the entity beans which never call ejbStore() and
    ejbLoad() is only called when timeout is expired (or never).
    If you want to cache data for the session only you can use HttpSession - in
    the cluster all requests are pinned to the server which originated the session
    until this server fails. To minimize replication overhead you can use transient
    fields or use the fact that replication happens only when session attribute is
    set() - you can associate a cache object with the session and lazy populate it
    later.
    Anders Mathisen <[email protected]> wrote:
    hi,
    thanks for the response, what do you mean by read-only entity beans ?
    Beans that are loaded with data manually (from eg. a stateless session
    bean), and just used as a dataholder ?
    I forgot to mention in the previous article that the caching mechanism here
    needs only be local to a single users session. That is a session will never
    use cached data from another session.
    Althoug even if we have the requirement above, some caching mechanism
    allowing for sharing of data could be handy here, this is not an absolute
    requirement.
    Anders M.
    Rob Woollen <[email protected]> skrev i
    meldingsnyheter:[email protected]...
    Stateful session beans should not normally be used as a cache. A
    stateful session bean instance is associated with a single user.
    I wouldn't use JNDI as a caching mechanism either.
    My suggestion would be Read-Only entity beans.
    -- Rob
    Anders Mathisen wrote:
    Hi,
    We are building an application using stateless session beans to access
    some
    back end systems. The backend transaction is rather expensive withregards
    to execute time. To optimize response times we are looking at a caching
    strategy, we have identfied the following implementation alternatives :
    1. Create object cache implementations as statefull session beans,storing a
    reference to them in JNDI.
    2. Create object cache implementations as regular java objects andstoring
    the entire object in JNDI.
    Which one of these alternatives we choose will rely on the performanceof
    the WL JNDI, we are using the 5.1 server. If WL JNDI is capable ofhandling
    reasonable amounts of data there should be no reason to use theexpensive
    statefull session beans.
    Q1 : Are there any method to calculate the amount and troughput of datathat
    would be possible using alternative 2 ?
    Q2 : Are there any other mechanism we should consider ?
    Any help would be greatly appreciated
    Regards,
    Anders Mathisen--
    Coming Soon: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnweblogic.com
    Dimitri

  • Replacement internal optical drives. Are there tricks for young players?

    My La Cie internal optical 16x started bumping and grinding, not releasing disks and finally not detecting disks. It went in for repair under warranty but the distributor said LaCie is no longer supplying internal optical drives. I got an external as a replacement but I still want to replace the original 4x internal drive.
    I've seen a Sony DRU830A 18x internal and also one of the LiteOn internal 16x models.
    My questions are: Are all these types of drives the same form factor, power usage and connections that will fit the G5 bay? ... even if they say Windows a lot on the box? (I'm aware I need to remove the front bezel and also put on the mounting screws).
    Are there any other requiirements for them to work with the Mac hardware and software or will they just be automatically detected and 'acquired'? I don't care about all the bundled Windows software. However I know the internal DVD drive needs to be initialised and somehow 'certified' and regioned for DVD player to use it.

    Thanks maclover for your reply and the links. The xlr8yourmac forums on CD-DVD drives were particularly relevant. One thing I noticed is that it's best to just enter 'DVD+R/RW - DVD-R/RW' and then just the brand of drive you're interested in. With all the other fields blank you get a large selection of posts, generally including the model you want info about, but even the info about installation experiences with different models is useful. However if you get very specific about your Mac model and OS version the search can return not even one post. Turns out most of the posts are about installing drives in G4s, iMacs, iBooks etc.
    Flashing the drive: this seems to be a real problem in updating the firmware for any number of drives you might want to use in a Mac. In checking the company sites for Sony, Pioneer, LiteOn etc. there's always a firmware update available for download but it's an .exe file for Windows. Other posters have noted that this requires attaching the drive to a Windows machine to flash the ROM. How very convenient. With a drive you've just bought new this probably isn't all that important although when they list the improvements in the latest revision it would be useful to be able to do it. For those trying to upgrade an older drive to burn at 16x and dual layer, they're kind of out of luck. I take it you can't do this upgrading while you're running Virtual PC - no one's mentioned that you could. But I wonder if it would now be possible with the Intel Macs running Windows via Boot Camp. Either that or the service sections of Apple Stores could run a Wintel box and offer a service to flash the ROM if you took the file in on a USB pocket drive. Void your warranty while U Wait.
    Thanks again, The Pioneer DVR - 111D looks like a successful candidate as a replacement drive. Posters also report good results with current LiteOn and Sony models. In fact one reports that the LiteON IS the Sony (and also the BenQ) - just $40 cheaper locally. Probably without the Windows Nero software the Sony bundles. A service technician also reported successful results with an LG internal.
    Cheers, Peter.

  • I have tested the search/ find fuctionality on the atuovue version electro mechanical, I want to know if these features are there in Atuovue 2D and 3D.

    I have tested the search/ find fuctionality on the atuovue version electro mechanical, I want to know if these features are there in Atuovue 2D and 3D.

    Hi Negussie,
    The difference between AutoVue Electro-Mechanical Professional and AutoVue 2D Professional is related to file formats supported and functionality which are related to those formats. For example when using Electro-Mechanical you can view all the formats supported by AutoVue (Office, 2D, 3D and EDA formats). When you are using AutoVue 2D you can only view Office and 2D formats. This is the main difference. Now if a functionality exist in Electro-Mechanical related to either Office or 2D formats the same functionality is exactly the same in AutoVue 2D. In your case if all you need to do is view Word documents and search for text you should definitely purchase AutoVue 2D Professional and you will be able to do it the same way you do it with Electro-Mechanical. If you want screenshots from AutoVue 2D Professional you can send me a mail to [email protected] and I can send you the screenshots but you will see the feature is exactly the same.
    Thanks,
    Daniel

  • My internal fan has gotten loud like a vacuum.  Are there any tricks to fixing it without taking it in?  Can it be taken in to replace the fan or is it time for a new computer?

    My internal fan has gotten loud like a vacuum.  Are there any tricks to fixing it without taking it in?  Can it be taken in to replace the fan or is it time for a new computer?

    Reset the SMC, as per > Resetting the System Management Controller
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Wait fifteen seconds.
    4. Attach the computer's power cord.
    5. Wait five seconds, then press the power button to turn on the computer.

  • Are there charges for imessaging internationally if one user is on wifi and the other isn't?

    My fiancee is using his ipad in Asia (on WiFi) and I'm using my IPhone in the U.S. to imessage. Are there any charges? What if I'm not on wifi? Is it still free? I have unlimited data.

    Are there any charges?
    No.
    What if I'm not on wifi? Is it still free?
    Yes.
    Exchanging iMessages is similar to exchanging emaill - an internet connection is required via an available wi-fi network or cellular data or internet network.

  • Are there additional international roaming charges?

    Are there additional charges when using Verizon services outside of the country while on a More of Everything Plan, specifically in Canada?

        I don't want you having any unexpected charges during a trip, mikewarbington. More Everything plans cover you in the United States, so a trip to Canada will result in some additional charges. We do offer a More Everything plus Canada and Mexico that offers additional benefits like 1000 minutes to use while you're in those 2 countries. Please visit www.vzw.com/tripplanner to see your options available for any trip outside of the United States.
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Hi, I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    Hi,
    I developed a web application using HTML5-Offline Application Cache mechanism. Inspite of deleting the cache as mentioned in the above steps, Firefox still maintains a copy of the page in it's cache. Also, a serious bug is, even though we delete all temp files used by Firefox, and open the previously cached page, it displays it correctly, but upon refreshing/reloading it again shows the previous version of the page maintained in the cache.
    == Troubleshooting information
    ==
    HTML5: Application Caching
    .style1 {
    font-family: Consolas;
    font-size: small;
    text-align: left;
    margin-left: 80px;
    function onCacheChecking(e)
    printOutput("CHECKINGContents of the manifest are being checked.", 0);
    function onCacheCached(e) {
    printOutput("CACHEDAll the resources mentioned in the manifest have been downloaded", 0);
    function onCacheNoUpdate(e)
    printOutput("NOUPDATEManifest file has not been changed. No updates took place.", 0);
    function onCacheUpdateReady(e)
    printOutput("UPDATEREADYChanges have been made to manifest file, and were downloaded.", 0);
    function onCacheError(e) {
    printOutput("ERRORAn error occured while trying to process manifest file.", 0);
    function onCacheObselete(e)
    printOutput("OBSOLETEEither the manifest file has been deleted or renamed at the source", 0);
    function onCacheDownloading(e) {
    printOutput("DOWNLOADINGDownloading resources into local cache.", 0);
    function onCacheProgress(e) {
    printOutput("PROGRESSDownload in process.", 0);
    function printOutput(statusMessages, howToTell)
    * Outputs information about an event with its description
    * @param statusMessages The message string to be displayed that describes the event
    * @param howToTell Specifies if the output is to be written onto document(0) or alert(1) or both(2)
    try {
    if (howToTell == 2) {
    document.getElementById("stat").innerHTML += statusMessages;
    window.alert(statusMessages);
    else if (howToTell == 0) {
    document.getElementById("stat").innerHTML += statusMessages;
    else if (howToTell == 1) {
    window.alert(statusMessages);
    catch (IOExceptionOutput) {
    window.alert(IOExceptionOutput);
    function initiateCaching()
    var ONLY_DOC = 0;
    var ONLY_ALERT = 1;
    var BOTH_DOC_ALERT = 2;
    try
    if (window.applicationCache)
    var appcache = window.applicationCache;
    printOutput("BROWSER COMPATIBILITYSUCCESS!! AppCache works on this browser.", 0);
    appcache.addEventListener('checking', onCacheChecking, false);
    appcache.addEventListener('cached', onCacheCached, false);
    appcache.addEventListener('noupdate', onCacheNoUpdate, false);
    appcache.addEventListener('downloading', onCacheDownloading, false);
    appcache.addEventListener('progress', onCacheProgress, false);
    appcache.addEventListener('updateready', onCacheUpdateReady, false);
    appcache.addEventListener('error', onCacheError, false);
    appcache.addEventListener('obsolete', onCacheObselete, false);
    else
    document.getElementById("stat").innerHTML = "Failure! I cant work.";
    catch (UnknownError)
    window.alert('Internet Explorer does not support Application Caching yet.\nPlease run me on Safari or Firefox browsers\n\n');
    stat.innerHTML = "Failure! I cant work.";
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E)
    == Plugins installed
    ==
    *-Shockwave Flash 10.0 r45
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Google Update
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object
    Thanks & Regards,
    Kandarpa Chandrasekhar Omkar
    Software Engineer
    Wipro Technologies
    Bangalore.
    [email protected]
    [email protected]

    We have had this issue many, many times before including on the latest 3.6 rev. It appears that when the applicationCache has an update triggered by a new manifest file, the browser may still use only its local network cache to check for updates to the files in the manifest, instead of forcing an HTTP request and revalidating both the browser cache and the applicationCache versions of the cached file (seems there is more than one). I have to assume this is a browser bug, as one should not have to frig with server Cache-Control headers and such to get this to work as expected (and even then it still doesn't sometimes).
    The only thing that seems to fix the problem is setting network.http.use-cache to false (default is true) in about:config . This helps my case because we only ever run offline (applicationCache driven) apps in the affected browser (our managed mobile apps platform), but it will otherwise slow down your browser experience considerably.

  • Write-Behind Caching and Limited Internal Cache Size

    Let's say I have a write-behind cache and configure its internal cache to be of a fixed limited size, e.g. 10000 units. What would happen if more than 10000 units are added to the write-behind cache within the write-delay period? Would my CacheStore's storeAll() get all of the added values or would some of the values be missed because of the internal cache size limitation?

    Hi Denis,     >
         > If an entry is removed while it is still in the
         > write-behind queue, it will be removed from the queue
         > and CacheStore.store(oKey, oValue) will be invoked
         > immediately.
         >
         > Regards,
         > Dimitri
         Dimitri,
         Just to confirm, that I understand it right if there is a queued update to a key which is then remove()-ed from the cache, then the following happens:
         First CacheStore.store(key, queuedUpdateValue) is invoked.
         Afterwards CacheStore.erase(key) is invoked.
         Both synchronously to the remove() call.
         I expected only erase will be invoked.
         BR,
         Robert

  • Decument about buffer cache mechanism

    hi gurus
    I want some documentations about the buffer cache internal mechanism,for example the internal structure of the buffer cache,how does the buffer cache works and the LRU mechanism.The more detailed the better.
    I have searched on Oracle Documentation Linrary with buffer head or buffer descriptor as keywords.I did not get what i want.
    many thanks in advance.

    Hi Kevin,
    I believe information which you are looking is not published by Oracle and is avaialable only to Oracle Support and other employees. You can refer to Note:62172.1 for buffer cache mechanism. It mentioned about a note with "@" in beginning meaning the remark was supposed to be unpublished.
    "@ See Note 104937.1 for a description "
    May be the above note has got some description. Anyways I will suggest you to go through the Note:62172.1 and get basic understanding which should be sufficient for dba's.
    Cheers
    Amit

  • HT1270 My mid 2010 MacBook Pro has the maximum 8 GB memory cards installed. Can it be upgraded to 16 GB? Are there compatible 8 GB cards available?

    My mid 2010 MacBook Pro has the maximum 8 GB memory cards installed. Can it be upgraded to 16 GB? Are there compatible 8 GB cards available?

    I have a similar question..  13" macbook pro, mid 2010- having problems with spinning beach ball..  like someone from Mars has taken over the computer..   - the specs are below..   would it help if I added more RAM?   If  yes, any suggestions where/ what to buy?  This only started after upgrade to Mountain Lion from SNL. 
    MacBook Pro 13 inch mid 2010
      Model Identifier:    MacBookPro7,1
      Processor Name:    Intel Core 2 Duo
      Processor Speed:    2.66 GHz
      Number of Processors:    1
      Total Number of Cores:    2
      L2 Cache:    3 MB
    Memory  4 GB 1067 MHz DDR3
      Bus Speed:    1.07 GHz
      Boot ROM Version:    MBP71.0039.B0E
      SMC Version (system):    1.62f7
    Graphics  NVIDIA GeForce 320M 256 MB
    BANK 0/DIMM0:
      Size:    2 GB
      Type:    DDR3
      Speed:    1067 MHz
      Status:    OK
      Manufacturer:    0x80AD
      Part Number:    0x484D54313235533654465238432D47372020
      Serial Number:    0x27A0B2F9
    BANK 1/DIMM0:
      Size:    2 GB
      Type:    DDR3
      Speed:    1067 MHz
      Status:    OK
      Manufacturer:    0x80AD
      Part Number:    0x484D54313235533654465238432D47372020
      Serial Number:    0x2740B300

  • The "Search" function box doesn't find things that are there! Why?!

    The "Search" function box doesn't find things that are there! Why? Eg: It doesnt show all my Sent and Received emails, but it will find an email that I half wrote and deleted. Unsure why or how to explain more fully.
    I also don't understand if I type in "James email" or "J" into the search box and all the J / James stuff appears but it doesn't show the emails I know have been sent and I know are somewhere because I rang "James" up to check, but the search box shows random thing I am NOT looking for, even if I type in fully what I am looking for and test it by typing in full titles of things.
    It also doesn't store all my sent emails in "Sent" box. Confused! I'm not sure if the "Search" box just isn't up to the job or if it is broken / i'm doing something wrong? Maybe the email address I use isn't set up properly?

    This can happen sometimes if the cache is not cleared correctly when items are not deleted from your device.
    The only solution to this is to do a restore to clean out the cache file.

  • I have iPhoto 11, 9.4.1 installed. When my library was upgraded, I got a message the photos couldn't be imported and I need to repair iPhoto permissions. How do I do that? My photos are there, but I can no longer drag them to the photo stream.

    I have iPhoto 11, version 9.4.1 installed. When my library upgraded, I got a message that the photos couldn't be inported and I need to repair iPhoto permissions. How do I do that? My photos are there, but I can no oonger drag them to the photo stream.

    Disable Photo Stream in iPhoto's preferences and then go back and reenable it. See if that will jump start the process.  If that doesn't help try this:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto check its preferences to meka sure all is as you expect and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

Maybe you are looking for