[
https://jira.jboss.org/jira/browse/TEIID-1019?page=com.atlassian.jira.plu...
]
Michael Walker commented on TEIID-1019:
---------------------------------------
One problem is that we are choosing to use autostaging when we shouldn't be doing so.
We are getting an inefficient query plan that does not push down any criteria, and stages
an entire table containing millions of rows, even though we have the opportunity to
pushdown criteria and retrieve just 1-2 rows. Setting all source system table cardinality
to 0 seems to give us the correct query plan, but we lose costing info for other queries.
I have a customer-specific example VDB that might help illustrate the problem. I will open
a separate JIRA in JBEDSP. This way, I can attache the customer-specific VDB. Also, we can
ensure the fix gets into JBEDSP, not just Teiid.
Just to clarify, we're talking about the cardinality of source system tables (in
RDBMSes), not the mapping classes themselves.
About the "option nocache" -- are you saying that you can add this in the XML
document model transformation? I tried it, but Designer says it's invalid to do it
against anything that isn't a materialized view, and won't validate it. Perhaps
you're suggesting something different here, let me know.
Request ability to turn on/off Auto Staging tables
--------------------------------------------------
Key: TEIID-1019
URL:
https://jira.jboss.org/jira/browse/TEIID-1019
Project: Teiid
Issue Type: Feature Request
Components: Server, XML Planner/Processor
Reporter: Debbie Steigner
Assignee: Steven Hawkins
Fix For: 7.0
Please add the ability to turn on/off Auto Staging tables. Setting the Cardinality to 0
is not always a workaround if the customer wants the cardinality set for better query
planning on other models.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira