×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I don't see anything different about the REFRESH TABLE statement in 7.2 vs
7.3...
Are you referencing the MQT directly? Or depending on the SQE to recognize
when it can be used?
If the former...I think you could replace the MQT with a regular table then
refresh it yourself. Possibly via a MERGE statement.
If the latter...what would happen if you created a new MQT, so you'd have
2, one fresh & one stale. I'd expect the SQE to start using the new fresh
one and stop using the stale one. At some point you could refresh the
stale one....
Seems like you could refresh the oldest version every X hours.
Granted, going to take double the DASD...
Just a thought...
Charles
On Wed, Apr 25, 2018 at 11:16 AM, <dlclark@xxxxxxxxxxxxxxxx> wrote:
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 04/25/2018
12:55:43 PM:
I assume you looked at creating triggers on the source tables to keep
the MQT up to date?
No, we did not. When we created it we thought we would be able to
refresh it when we wanted to. But with 14 joined tables and 8.99 million
materialized rows involved, it would be a bit of a task to try and
maintain the MQT programmatically.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.