[
https://issues.jboss.org/browse/TEIID-2584?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-2584:
---------------------------------------
I was going to add, stop running the "start" triggers
always by adding "isStartInProgress" call, thus making them symmetric.
Ah. Then we'll need to undo the change I just made to rename the property from create
to start.
About Status table memory resident, we can do that when the contents
are survive a node/cluster restart, otherwise we could have done that now.
I should be more particular. I mean memory resident, but backed by a database table. In
particular if we were to use Hibernate to represent the status entries and rely on an
infinispan second level cache.
Since the query is in "wait" mode anyways it did not
concern me that we are making another database call.
Ideally we'll minimize the check overhead as much as possible, but yes that query cost
should be minimal.
I was thinking, we should extend the vdb.xml's source element to
take a optional "admin-connection-jndi-name" attribute that defines a separate
connection, where through some mechanism (hint or execution property) we can instruct
ConnectionManager to use that connection instead of regular
"connection-jndi-name".
The alternative would be to expose the materialization table two ways. Once in a
"regular" model and for management via a model that is associated with a more
privileged connection. Although either way it seems like we have to by-pass normal
authorization checks for the internal admin queries to work. The same concern exists for
exposing the native query procedure. Are we saying that the materialization layer needs
to by-pass the auth and even the translator checks associated with that?
It seems like we may want to consider pulling more the business logic into Teiid so that
we can avoid some of these issues (and probably the issue with starting an xa
transaction).
Since "load" and "update" calls are not part of
the user query, and matview updates are to the single source "XA" transactions
should not be concern right? Especially when we introduce the separate connection for
execution of these calls.
XA is involved because of the atomic blocks.
Add management features to materialization
------------------------------------------
Key: TEIID-2584
URL:
https://issues.jboss.org/browse/TEIID-2584
Project: Teiid
Issue Type: Feature Request
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Labels: Beta3
Fix For: 8.5
Currently Teiid supports internal and external materialization features. The internal is
managed completely by the Teiid query engine along with the infinispan cache.
External materialization is completely unmanaged and left out to the user to manage it
externally. This goals for this feature are unify the materialization logic for internal
and external, such that both are managed similarly irrespective of the type of
materialization chosen.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira