Hi,
I am running simple select on a simple view(CV or scripted CV) which selects 4 columns out of the 50 columns in the table. The table has around 7.5 million entries. I noticed that with each run of the select, whether it is a CV or scripted CV, the TOTAL_EXECUTION_TIME(M_SQL_PLAN_CACHE) keeps increasing which means that my query is taking more time to execute after each run. A sample is provided below:
First time the query runs - 0.7s
Second time - 1.4s
3rd time - 2.14s
4th time - 2.8s
Most of the time is going for the TOTAL_EXECUTION_OPEN_TIME - fetching time from columnar tables.
The server looks good with enough memory and cpu for computation.
Isnt HANA supposed to do the reverse? First time the query runs, it is supposed to take the maximum time, then the subsequent runs should yield better performance since the data is loaded in memory. I am confused.
Thanks and Regards,
Aswath M G