Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CDS Views: Usage Type Annotations: Performance Impact

GK817
Active Contributor

Hello,

As i search through various forums and read through documents, I am getting mixed confirmation on whether below annotations have any CDS query performance impact or not:

  1. @ObjectModel.usageType.serviceQuality
  2. @ObjectModel.usageType.sizeCategory
  3. @ObjectModel.usageType.dataClass

One view is that these annotations are there to describe characteristics of a CDS view and have no impact on CDS query performance. Other view is that many people seem to gain performance using these annotations.

I am looking for a confirmed answer from some CDS view experts or SAP product team.

Regards

Gaurav

1 REPLY 1

Louis-Arnaud
Participant
0 Kudos

Hello,

I don't think that theses annotations have any performance impact. See comments of this blog post : https://blogs.sap.com/2020/02/06/cds-view-performance-annotation-for-cds-view-performance/#comment-5...

from heiko.gerwens.