Using the client result cache without the query result cache

I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.

e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table 
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.
You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
See the OCI dev guide
http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
Statement Caching in OCI
Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
  OCIStmtPrepare2()
  OCIStmtRelease()

Similar Messages

  • Can't I use my Scanner with the Elements 10 editor without the organizer??

    I have been using Photoshop Elements for a looong time to help me create the product images I need for my online business. It's been a love-love relationship... until I took advantage of a special offer and bought Elements 10. Now it seems the only way I can scan images is thru the Organizer.... and the organizer is something I don't need.
    Is there a way to scan my images thru the Editor only... and completely bypass the organizer (as I'm able to do with my older version of Elements)? Like a twain plugin I can install or something?
    I may scan 10 images and decide to use only 3 of them... and those are the only ones I save.
    With the way PSE10 is set up using the Organizer to scan, it's saving all 10 of them. Not to mention the extra steps of scanning thru the Organizer... (which means that pop-up window for my scanner every time), back over to the editor to pull the images in for editing, back to my files to delete the ones the organizer saved that I don't want... etc etc etc.
    It's like 5-6 extra steps altogether and a huge time-sink for me (you know the old saying... time is money).
    If there's no way to bypass the Organizer for scanning.... can I get a refund on my purchase? My older version of Elements works beautifully for me...  I was just hoping for  more sophisticated image editing capabilities.
    VERY frustrated right now.

    Thank you very much for your explanation which I fully understand.  Since a "fix", as you say, is not a solution might it not be a good idea to alert purchasers of the latest editions of Elements that they have an option to try this alteration to the installation in order to be able to import images from a scanner?  (My own experience with versions prior to 9 always worked perfectly!)  I do not know but does Photoshop CS5 allow the user to import images from a scanner or does the user have to use a similar solution to what applies to Photoshop Elements?  I find Elements to be a very good app and am sure it is a good selling product for Adobe for amateur/semi-pro users that the alternative that I suggest may be a useful tool for existing or new users who want or need the capability to import from a scanner rather than having to go through other more difficulty and time consuming ways of doing the same task.  Kindest regards and with my best intentions.
    Fergus Cooper
    Date: Tue, 20 Dec 2011 12:50:51 -0700
    From: [email protected]
    To: [email protected]
    Subject: Can't I use my Scanner with the Elements 10 editor without the organizer??
        Re: Can't I use my Scanner with the Elements 10 editor without the organizer??
        created by Barbara B. in Photoshop Elements - View the full discussion
    It's not a "fix", exactly. The TWAIN plug-in causes a lot of crashing in PSE so in the past couple of versions adobe makes you install it if you want it.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4096095#4096095
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4096095#4096095. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Is there a way I can use my external hard drive without the files being transferred on to my computer? as like like my iTunes music being on my hard drive without them being copied onto my computers hard drive ?

    is there a way I can use my external hard drive without the files being transferred on to my computer? as like like my iTunes music being on my hard drive without them being copied onto my computers hard drive ? because i dont have that much memory and i wanted my external hard drive to be the source for my music files and not my computer.

    Many users keep their iTunes libraries on external drives. You just have to remember to connect and power up the drive before launching iTunes.
    iTunes for Mac: Moving your iTunes Media folder:
      http://support.apple.com/kb/HT1449 

  • Reports included in the page keep looping without retrieving any results

    We are facing an issue related to the behaviour of Siebel Analytics when more than 1 answer are included in a dashboard page. When a report is generated, the other reports included in the page keep looping without retrieving any results, but if I manually click on 'cancel' link, the reports successfully appear with consistent data. This behaviour is not stable since sometimes the page works fine, sometimes not, but it's not clear what it depends on. Can anybody please let me know if this behaviour is a known bug.

    Hi Deb,
    Could you please explain me in more detail?
    The problem is we are able to see the old reports that we were already moved into Q environment. The newly moved 5 reports are giving this error message.
    Please help
    Thanks
    Sri

  • What are the actual dimensions of the new Thunderbolt Display without the stand (e.g., when using a VESA mount)?

    I need to use the new Thunderbolt Display without the stand on a VESA mount, but before I order it I need to make sure it will fit height-wise in the allotted space.

    The ThunderBolt display specs page has the same sizes listed as the 27" LED Cinema Display specs page (web archive).  I just measured my Cinema Display for you and the height of the display itself without the stand is 15 5/8".  However, you will need some additional space at the bottom for air flow intake.  These displays get hot and need proper ventilation so do not block the vents on the bottom.  Also the bottom vents are where the speakers are.
    Hope this helps.

  • Can you put the sim card in without the tray on the iPhone 3GS?

    Can you put the sim card in without the tray on the iPhone 3GS?
    I don't have the tray, I have ordered a new one but would like to still use my iphone for the next few weeks

    Don't....wait until you get a tray...never a good idea to rig something up

  • How to list printers on the client machine to print the documents in ADF

    Hi,
    I have a requirement to print multiple documents stored on the server. I am trying to find out how to list the printers or get a default printer on the client machine and print the documents using ADF.
    Thanks
    Sukarna

    I tried that solution. but I am not getting any printer list.
    public void printDocument(ActionEvent actionEvent){
    BindingContainer bindings =
    BindingContext.getCurrent().getCurrentBindingsEntry();
    PrintService[] service = PrintServiceLookup.lookupPrintServices(null, null);
    if (service.length == 0){
    JOptionPane.showMessageDialog(null, "No Printer Selected");
    The printer Service is not returing any data.
    Thanks
    Sukarna
    Edited by: 911653 on Oct 5, 2012 9:01 AM

  • Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process the request.

    Hi,
    I am using EWS Java APIs and passing OAuth tokens to fetch data from office 365 mailboxes.
    Because I am developing Web APIs I preferred using "Application Permissions" defined in Azure active directory application for Office 365, and used "client credential flow" OAuth flow to fetch OAuth token specific to application which will
    allow "Have full access via EWS to all mailboxes in the organisation".
    After fetching token with the procedure specified in the document "http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx"
    I passed this token to EWS Java APIs,
    it gave me error saying:
    microsoft.exchange.webservices.data.ServiceResponseException: Exchange Web Services are not currently available for this request because none of the Client Access Servers in the destination site could process the request.
    I tried similar thing with EWS managed APIs for .net. Got similar error.
    Can anyone provide some help and direction to resolve this error.
    Thanks & Best Regards,
    Pranjal

    I see you found an answer with the X-AnchorMailbox header on StackOverflow:
    http://stackoverflow.com/questions/29554724/exchange-web-services-are-not-currently-available-for-this-request-because-none

  • I have an older Sony digital camcorder, and I am having trouble importing the movie files. Sometimes I get the audio in iTunes without the picture. I have a Pinnacle Dazzle interface. What am I doing wrong. Is there a way to skip the dazzle device?

    I have an older Sony digital camcorder, and I am having trouble importing the movie files. Sometimes I get the audio in iTunes without the picture. I have a Pinnacle Dazzle interface. What am I doing wrong. Is there a way to skip the dazzle device?

    Chances are the pinnacle is producing .avi files or MPEFG1/2 streams - iTunes may know how to decode the audio but not the video. Download Handbrake and try running the Pinnacle files through it and adding to iTunes - use Universal format unless you have a specific device in mind.
    Keep copies of the originals.
    Another option might be to try to install Perian.  Can't remember if the Apple MPEG2 plugin allows MPEG2 to be played in iTunes.
    AC

  • How  to Hold the client ip from the client calls made to the ejbweb servic?

    Hi
    I am working on Ejb3 web services.I want to hold the client ip from the client calls made to the web service.I deployed this service in jboss AS 4.2.1
    In the service implementation i started using
    @Resource
    SessionContext sessionCtx;
    My idea is to get the MessageContext from this SessionContext and finally to get the HttpServletRequest.
    I got the sessionCtx(BaseSessionContext) object.When i am trying to access the MessageContect using the below syntax
    System.out.println(sessionCtx.getMessageContext());
    I got ---ERROR [SOAPFaultHelperJAXWS] SOAP request exception
    javax.ejb.EJBException: java.lang.IllegalStateException: No message context found
    Please provide me with correct solution to this problem.Please also suggest if there is any alternate approach to get the client ip in the service implementation.
    Thanks
    Adinarayana

    Hi,
    Assuming that you are using Form 6i or greater, one way to do is to embedd a java bean in the form, this bean would get you the ip address and in the form you can get_custom_property( ) to get the value from the bean to the oracle form.
    There is one demo example in OTN site to get the ClientIP address, check out if that helps you.
    Regards,
    Dinesh

  • How to configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    if possible??? how do we configure the mac mini to allow the clients to access both partitions...the client will only see the one we are logged into at the server???

    You have to explicitly share directories on external/secondary volumes.
    Use the Server admin app to configure file sharing, and select which directory/directories on the second drive you want to share, then they'll be available to clients.

  • The client cannot connect to the server

    we just installed the boe but found that the client cannot connect to the server.
    server: windows server 2008
                 boe xi3
    client:    window xp sp3
    the server and client are in same dns
    all components are work in server but client.
    any idea on this?
    ps: i can ping the server name successful.
    thanks
    ada
    Edited by: Ada_Wei on Oct 29, 2010 10:12 AM

    Can you please try to stop and disable the Windows firewall service on your client machine?
    WHich client do you use and which error message do you get exactly?
    Regards,
    Stratos

  • I'm changing from powerpoint to Keynote.  In powerpoint you can change slides by typing in the slide number and hitting enter.  I want to do the same in keynote without the slide switcher popping up at the top.  Possible?

    I'm changing from powerpoint to Keynote.  In powerpoint you can change slides by typing in the slide number and hitting enter.  I want to do the same in keynote without the slide switcher popping up at the top.  Possible?

    Wow, I may be losing my mind, you're right.  I guess I was doing what you said out of old habits and not even realizing it.  Much appreciated.

  • I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks. Big Jake

    I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks.
    Big Jake

    If the PDF is a form fillable PDF, which I assume that it is, email it to yourself or send it to DropBox and open it on your computer. You should see the fields filled in there. It works for me if I do it that way.
    Adobe Reader supports it, but the other apps don't. I assume that if you email the PDF to a computer user it would be readable in Adode Reader.

  • Can there be an original box of iphone 4s  from a butt end from above and from below with the pictures of apples without the icon of icloud or it is an imitation?

    can there be an original box of iphone 4s  from a butt end from above and from below with the pictures of apples without the icon of icloud or it is an imitation?

    I've not seen a box without that icon, but I can't say with certainty that some, particular from the initial release of the iPhone 4S, didn't come without that icon. If you have doubts, though, I'd suggest you just not buy that device, if that's what you were considering. Buying only from authorized iPhone resellers is almost always going to be safest. There's no way of knowing what you might get if you buy from other sellers. It may be a geniune iPhone, but be from another country and either locked to a carrier there or jailbroken to unlock it.
    Regards.

Maybe you are looking for