Rule Definition
Bypassing buffer means that SELECT will not go to buffered results but always directly to the database. This can impact the performance significantly.
Remediation
Check if the BYPASSING BUFFER addition is really necessary and use this addition carefully.
Violation Code Sample
SELECT *
FROM spfli AS s
INTO wa
BYPASSING BUFFER
where carrid in s_carrid.
WRITE: / wa-carrid, wa-connid.
ENDSELECT.
Fixed Code Sample
SELECT *
FROM spfli AS s
INTO wa
where carrid in s_carrid.
WRITE: / wa-carrid, wa-connid.
ENDSELECT.
Related Technologies
Technical Criterion
Efficiency - SQL and Data Handling Performance
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.