DoBatch() can enhance performance for reading keyed sequential data by decreasing the amount of network traffic. Instead of making individual function calls for each record in a related group, DoBatch() can retrieve many records in one call. However, many low-level packet transmissions may be required to retrieve a large block of records, so be sure to use DoBatch() wisely. If just one or two records are necessary, it may be quicker to perform individual retrievals rather than retrieving all the records that match a generic target.