<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/External+Materialization?focusedCommentId=88704164#comment-88704164">External Materialization</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://docs.jboss.org/author/display/~rareddy">Ramesh Reddy</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>see code here <a href="https://github.com/teiid/teiid/blob/master/engine/src/main/resources/org/teiid/metadata/SYSADMIN.sql" class="external-link" rel="nofollow">https://github.com/teiid/teiid/blob/master/engine/src/main/resources/org/teiid/metadata/SYSADMIN.sql</a></p>

<p>Basically you can submit updateMatView with criteria, that gets mixed with materialization view transformation to do only updates</p>
    </div>

                <div style="border-bottom: 1px solid #ddd; padding: 10px 20px 7px 20px;">
        <strong>In reply to a comment by <a href="/author/display/~van.halbert"
                          class="url fn confluence-userlink" data-username="van.halbert"
                   >Van Halbert</a>:</strong><br/>
        <p>Regarding:  SYSADMIN.updateMatView</p>

<p>what does this execute so to partially update the cache?  If the same sql is run that was run when the load was done, the same result set will be processed, essentially all records.  So is there an internal update process such that teiid will handle duplicates?  Unless there's a way to set criteria to only pull new records, but I don't see an option like that.</p>
        </div>
    
    <div id="commentsSection" class="wiki-content pageSection">
      <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/External+Materialization?focusedCommentId=88704164#comment-88704164">View Online</a>
              |
       <a id="reply-88704164" href="https://docs.jboss.org/author/display/TEIID/External+Materialization?replyToComment=88704164#comment-88704164">Reply To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>