[teiid-issues] [JBoss JIRA] (TEIID-2981) Add an OData query parameter that caches the resultset

Steven Hawkins (JIRA) issues at jboss.org
Tue Jun 3 17:26:15 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973050#comment-12973050 ] 

Steven Hawkins commented on TEIID-2981:
---------------------------------------

Two things come to mind.  The first is that it would be simple to expose a config property for the servlet to toggle the result set cache mode on the local connections - but this would lack fine grained controls.

The other is that procedure caching may be viable for you - https://docs.jboss.org/author/display/TEIID/Results+Caching but is currently limited to 256 cache entries per procedure.  However that could be made a configurable option as well.

> Add an OData query parameter that caches the resultset
> ------------------------------------------------------
>
>                 Key: TEIID-2981
>                 URL: https://issues.jboss.org/browse/TEIID-2981
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: OData
>    Affects Versions: 8.7
>            Reporter: John Muller
>            Assignee: Steven Hawkins
>            Priority: Minor
>              Labels: Caching, OData,
>
> The Teiid caching guide indicates that the /*+ cache */ SQL hint is neccessary in order to cache results [1] .  We would like two features added to the OData support:  (1) to have a query parameter that basically injects the hint into the SQL statement run against the VDB and (2) a configuration setting that turns on OData resultset caching for all result sets smaller than some size (perhaps 256 as the default)



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the teiid-issues mailing list