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

Re: APFs on APL vs DOL

$
0
0

Jeff,

 

I have been saying this all day:

 

" In APL, the table is essentially the clustered index and as a result, ASE can do table scan with pure APF's (and even large I/O's) to perform the query.   With DOL, it likely will have do an index leaf scan and a resulting datapage lookup for each leaf - which, of course, can take a lot longer..."

 

Getting the plans and the statistics will only confirm it. A very nice academic exercize nonetheless.

 

However, to me the point is why are we going through with it?

 

In the worse case scenario, after we get the plans, if this is a matter of life and death (LOL) we can just force the plan we want on the DOL table and check the IOs again.

 

Regards,

 

Jean-Pierre


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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