Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Using the client result cache without the query result cache

$
0
0
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.

Code:

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.

Viewing all articles
Browse latest Browse all 13329

Trending Articles