The Stream operator sends conventional CLIv2 parcels to the database that are immediately applied to the target tables. To improve efficiency, the Stream operator builds multiple statement requests and may also employ a serialize mechanism to help reduce locking overhead.
The most important technique used by the Stream operator to improve performance is the multiple statement request. Placing more statements in a single request is beneficial for two reasons. It reduces:
- Network overhead because large messages are more efficient than small ones.
- Robust mode recovery overhead to one extra restart log table row for each request.
The Stream operator packs multiple statements into a request based upon the Pack attribute specification.