[teiid-issues] [JBoss JIRA] (TEIID-2584) Add management features to materialization

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Sep 5 08:21:03 EDT 2013


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

Steven Hawkins edited comment on TEIID-2584 at 9/5/13 8:19 AM:
---------------------------------------------------------------

I think for now I'm going to move the start/stop stuff off of the metadata api and just make it a concern of the materialization manager.  I do see that the tokenize method does handling escaping, so that's not a concern.

I'm also going to remove the onErrorAction from the status table and just rely on the one that's on the metadata and when it is set to null/ignore will allow the optimizer to omit the criteria check altogether.  Later if we refine the status logic to be something that we hold more or less in memory, then we can retarget the logic of the mvstatus function and not incur the database read.  I'll also tweak the mvstatus definition to use the TeiidFunction annotation, which makes it easier to define that the old style SystemSource logic and mark it as non-deterministic so that it will cause the subquery to be reevaluated.

Another concern is the approach of using Teiid procedures with XA transactions against sources that require a commit when executing DDL - such as Oracle.  I believe that they will simply not allow DDL under an XA transaction.  At least for Oracle the caveat is that the scripts may just need to be a little more complicated and use an anonymous subtransaction.
                
      was (Author: shawkins):
    I think for now I'm going to move the start/stop stuff off of the metadata api and just make it a concern of the materialization manager.  I do see that the tokenize method does handling escaping, so that's not a concern.

I'm also going to remove the onErrorAction from the status table and just rely on the one that's on the metadata and when it is set to null/ignore will allow the optimizer to omit the criteria check altogether.  Later if we refine the status logic to be something that we hold more or less in memory, then we can retarget the logic of the mvstatus function and not incur the database read.  I'll also tweak the mvstatus definition to use the TeiidFunction annotation, which makes it easier to define that the old style SystemSource logic and mark it as non-deterministic so that it will cause the subquery to be reevaluated.

Another concern is the approach of using Teiid procedures with XA transactions against sources that require a commit when executing DDL - such as Oracle.  I believe that they will simply not allow DDL under an XA transaction.
                  
> 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


More information about the teiid-issues mailing list