Reading ahead tracks for sequential file access
You can use a Data Virtualization Manager Server Event Facility (SEF) rule to specify the number of tracks to read ahead (MULTACC) when reading sequential data sets for individual requests.
About this task
Using a virtual table (VTB) rule, you can specify the number of tracks to read ahead (the MULTACC parameter value) for MapReduce sequential file access for individual requests. This support overrides the value in the server parameter ACIMAPREDUCETRACKS (NUMBER OF MAP REDUCE TRACKS TO READ) for individual requests. Sample VTB rule AVZMLTAC is provided.
To override the MULTACC value, you must enable the AVZMLTAC rule and use the
MACC_nn_ prefix for table names in your SQL statement.
The AVZMLTAC rule is invoked every time
a table with the prefix
MACC_nn_ is found in the SQL statement.
The following format is expected:
MACC_nn_virtualtablenameWhere: - nn is the number of tracks to read ahead (the MULTACC value) when reading sequential data sets
- virtualtablename is the name of the virtual table
SELECT * from MACC_15_STAFF_SSEQ ; The following message is
displayed in the Server Trace:
AVZ1000I VTB.OPTBMACC set to 15Use the following procedure to set up the rule.