SAP Knowledge Base Article - Preview

3041310 - Wrong result set when using Merge Join and Parallel Processing - SAP ASE

Symptom

A specific query was not returning rows when using optimization goal "allrows_mix". The scenario was the following:

  • Query returns rows when using optimization goal "allrows_oltp". The showplan was indicating the use of MERGE JOIN and Serial Mode.
  • Query doesn't return rows when using optimization goal "allrows_mix". The showplan was indicating the use of MERGE JOIN and Parallelism.
  • Query return rows when using optimization goal "allrows_mix" after running update index statistics. The showplan was indicating the use of NESTED LOOP JOIN and Parallelism.

Problem solved by executing update statistics.


Read more...

Environment

SAP ASE 16.0 SP03

Product

SAP Adaptive Server Enterprise 16.0

Keywords

wrong result set MERGE JOIN parallelism parallel serial mode allrows_mix consumer process CR 824432 CR824432 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.