Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: worktable understanding and clustered index details

$
0
0

I would expect Worktable1 to contain only those columns referenced in the query.

 

At a minimum the following columns would be in Worktable1:

 

     marketDataSet.M_ALIAS

     marketDataSet.M_LABEL

 

Also in Worktable1 would be any marketDataSet columns mentioned in the select/projection list (defined as 'xxx' in your SQL code snippet).

 

As for the clustered index ... *shrug* ... not sure if it would be (M_ALIAS) or (M_ALIAS, M_LABEL).  [Does optimizer build index solely on join columns, or does it also include SARGs?]


Viewing all articles
Browse latest Browse all 3587

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>