SAP Knowledge Base Article - Preview

2977950 - Optimizer uses table scan and doesn't choose correct index when running max query on views - SAP ASE

Symptom

When running 'max' query on views, query plan shows it is using 'table scan' on the derived table, doesn't choose the correct index.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 12.5
  • SAP Adaptive Server Enterprise (ASE) 15.0
  • SAP Adaptive Server Enterprise (ASE) 15.5
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

view, table scan, max, CR822996, CR#822996, 822996   , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed

About this page

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

Search for additional results

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