IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to speed up Batch process


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
atulbagewadikar

New User


Joined: 15 Jun 2006
Posts: 26

PostPosted: Tue Feb 03, 2009 5:41 am
Reply with quote

Hi,

What should one go for, for speeding up batch Natural process if dealing with multiple ADABAS files. PREFETCH/MULTIFETCH is the way, but is there any other way to achieve the same?
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Tue Feb 03, 2009 1:44 pm
Reply with quote

Hi Atul

What is PREFETCH/MULTIFETCH ?...can you please share

Thanks in advance

Regards
Beruoist
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Sun May 24, 2009 3:32 pm
Reply with quote

Hi Atul,

The PRE-FETCH and MULTI-FETCH are used with database access statements to improve performance and reduce I/O process.

The records fetched will be kept in a buffer area, so that the repeatative access to same data will be read from the buffer not from the database.

Thanks,
Back to top
View user's profile Send private message
Ralph Zbrog

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Fri Dec 11, 2009 1:55 pm
Reply with quote

To clarify, Prefetch & Multi-fetch do not reduce I/O, and do not deal with "repeatable access to same data."

They are methods by which Adabas will read-ahead for sequential commands. For each physical call to Adabas, multiple records are returned to Natural, thereby reducing inter-region communication between Adabas and Natural. Adabas and Natural do essentially the same amount of work as without Prefetch/Multi-fetch. It's the overhead that is reduced.

When applied properly, Prefetch/Multi-fetch can reduce elapsed time by as much as 80%. When applied improperly, elapsed times can increase by an order of magnitude.

The best scenario is a single, long file access; for example, a data extract or report.

If multiple file accesses are nested, the benefits of Prefetch/Multi-fetch will be reduced or even eliminated.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Batch install term/printer CICS 2
No new posts File Aid Batch IBM Tools 7
Search our Forums:

Back to Top