Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: Question on Lava Query plan

$
0
0

Satesh

 

When you have questions like this, you need to post the full DDL (create table plus all create indices) for the affected tables.

 

  • calc_data has some REFERENCES to leb and lsp
  • access to lsp is fine, it is using the CI
  • On leb, there is no *useful* index that the Optimiser can use.  Ie. the columns in leb that are REFERENCED by the columns in calc_data, are not indexed.

 

The correction is to add an index for those columns ... but I would not advise that until I have seen the full DDL for the three tables.

 

Cheers

Derek


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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