Where do you get your measured value from? If you are using the sql editor preview, there should be a message like this: Statement ... excecuted in 6 ms (server processing time: 1 ms). Fetched 200 rows in 39 ms (server processing time 1 ms).
Message Interpretation:
- successfully executed in 6 ms: The time spent from HANA DB Studio perspective from issuing a Statement Execute commnand until it returns.
- (server processing time: 1 ms): The time spent in HANA DB Engine to process the Statement Execute command. The difference to the number above is the time spent on network and client libraries.
- Fetched 200 row(s) in 39 ms: The time spent from HANA DB Studio perspective from issuing a Fetch commnand until it returns.
- (server processing time: 1 ms): The time spent in HANA DB Engine to process the Fetch command. The difference to the number above is the time spent on network and client libraries.
So the view is excecuted for the whole data set and only the first 200 row are requested in the data preview. If you want to compare the runtime of your view for only for a certain amount of rows, you can edit the SQL statement in the SQL Editor:
SELECT TOP 200 * FROM "_SYS_BIC"."packagename.subpackage/YourView"