[JBoss JIRA] (TEIID-2981) Add an OData query parameter that caches the resultset
by John Muller (JIRA)
[ https://issues.jboss.org/browse/TEIID-2981?page=com.atlassian.jira.plugin... ]
John Muller commented on TEIID-2981:
------------------------------------
[~rareddy] Yes, I figured on both your points, but I don't see a way around extending the OData spec that still provides a result set cache over OData.
[~shawkins] I figured there must be caching for skipToken / skip based pagination, thanks for confirming. Our use case is a lengthy SQLServer stored procedure call that comes back with a medium-sized result set (1k to 2k rows). We simply wrapped the physical SPROC in a virtual procedure and then wrapped that in a virtual table. We don't even bother paginating and simply set the batch size to 2048. The issue we're encountering is the length of time the SqlServer SPROC takes is too long and consuming apps tend to hit it repeatedly with the same query. The SPROC has an IN parameter that is basically a user identifier and the underlying tables are much too big for internal materialization. External materialization is an expensive option, but really we only need to cache the user-filtered end result of the SPROC call. OData based caching would help greatly here, but the more generalized use case is for really small ReST queries that are executed repeatedly.
> 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)
10 years, 7 months
[JBoss JIRA] (TEIID-2981) Add an OData query parameter that caches the resultset
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2981?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2981:
---------------------------------------
There are the other considerations that when paginated results are requested, we'll automatically use result set caching and you may want consider using materialized views to consolidate some of the caching logic to the server side rather than making clients too aware.
> 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)
10 years, 7 months
[JBoss JIRA] (TEIID-2981) Add an OData query parameter that caches the resultset
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2981?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2981:
-------------------------------------
URL semantics would not allow to use exactly like /*+ cache..*/, it would need to be such as &cache=true&ttl=.. etc.
However then we will be extending the odata spec adding customization on top, not that it is bad, just want to make sure you know it.
> 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)
10 years, 7 months
[JBoss JIRA] (TEIID-2981) Add an OData query parameter that caches the resultset
by John Muller (JIRA)
John Muller created TEIID-2981:
----------------------------------
Summary: 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
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)
10 years, 7 months
[JBoss JIRA] (TEIID-2979) google-spreadsheet translator not included standalone-teiid.xml
by Mark Drilling (JIRA)
Mark Drilling created TEIID-2979:
------------------------------------
Summary: google-spreadsheet translator not included standalone-teiid.xml
Key: TEIID-2979
URL: https://issues.jboss.org/browse/TEIID-2979
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors
Affects Versions: 8.8
Reporter: Mark Drilling
Assignee: Steven Hawkins
The google-spreadsheet translator is not included in the standalone-teiid.xml. Need to make sure this gets into the 8.7 product release branch also
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 7 months