Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > MQTs under z/OS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 8791 of 9131
Post > Topic >>

MQTs under z/OS - how to get IMMEDIATE REFRESH functionality

by BD <robert.drea@[EMAIL PROTECTED] > Apr 14, 2008 at 04:05 PM

I'm doing some cross-platform development, under LUW 8.2 (Windows) for
z/OS 8.

I have some fairly complex queries which address some rather large
tables.

One query takes approximately 30 seconds to complete, once the result
set has been loaded into buffer caches. The initial run of the query
is about 2 minutes.

I created an MQT, and that sped up the performance of my query
considerably.

Although I was able to structure the fullselect to 'obey the laws' for
'REFRESH IMMEDIATE' MQTs under LUW, I appear to be out of luck under z/
OS, simply because, according to the dox I've read, z/OS does not
offer REFRESH IMMEDIATE as an option. It's im****tant that the MQT is
kept well up-to-date with its source tables.

I thought of putting a trigger on the source tables to initiate a
REFRESH TABLE command, but the list of 'allowed' statements which a
trigger can, well, trigger - does not appear to include 'REFRESH
TABLE'.

Best I can find, by scouring the group and other forums, is a solution
that involves creating a trigger that calls a stored procedure, which
initiates a REFRESH TABLE.

Has anyone else found a slightly more intuitive solution for this
problem? Am I incorrect in my conclusion that IMMEDIATE REFRESH is not
sup****ted under z/OS UDB?
 




 4 Posts in Topic:
MQTs under z/OS - how to get IMMEDIATE REFRESH functionality
BD <robert.drea@[EMAIL  2008-04-14 16:05:10 
Re: MQTs under z/OS - how to get IMMEDIATE REFRESH functionality
BD <robert.drea@[EMAIL  2008-04-24 15:39:20 
Re: MQTs under z/OS - how to get IMMEDIATE REFRESH functionality
Serge Rielau <srielau@  2008-04-24 19:24:12 
Re: MQTs under z/OS - how to get IMMEDIATE REFRESH functionality
BD <robert.drea@[EMAIL  2008-04-25 11:44:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 6:30:43 CDT 2008.