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

Query slow via program but fast if executed in database

$
0
0

We are facing a strange issue.

 

We have 2 custom fields in standard table and the select query has these in the Where clause.

The index is created , activated and adjusted on these 2 fields via SE14.

The query called from function module in quality runs in fraction of milli seconds.

 

In production it takes 90 seconds.

When we run the query directly in oracle (And also SE16) , it takes fraction of seconds .

 

I am trying to figure out why the program behaves differently.


Viewing all articles
Browse latest Browse all 290

Trending Articles



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