Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Calculated Column slows view 3 fold

$
0
0

Christian,

Many thanks for your detailed reply.

 

I have to admit, I'm half 'getting it', but also half confused.

Hope you can stick with me to iron out the niggles ??

 

I am currently using SQL editor - but Data Preview Editor seems to produce the same results.

Here's my SQL statement:

Select top 200 * from _SYS_BIC.myViiew

 

And here is what returns:

Statement 'SELECT top 200 * FROM ...'

successfully executed in 4.739 seconds  (server processing time: 4.464 seconds)

Fetched 200 row(s) in 794 ms 66 µs (server processing time: 1 ms 590 µs)

 

Now if I understand you correctly,

there is an 'Execute' process that runs all 2.5 million rows, and takes 4.739 seconds

Then there is a 'Fetch' process that peels off the top 200 rows and sends them to Studio.

 

 

I'm hoping that I have misunderstood, because I cannot see why it runs all 2.5M rows and calculates my date column for all ... when I only want it calculating for 200.

 

Hope you can clarify.

Thanks for your continued help !


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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