前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP CDS重定向视图和直接读这两者场景的性能比较

SAP CDS重定向视图和直接读这两者场景的性能比较

原创
作者头像
Jerry Wang
修改2019-12-18 14:45:20
2720
修改2019-12-18 14:45:20
举报

A very rough performance comparison is performed in ER9/001.

Comparison scenario

The two below operations are compared:

(1) table ZCOMM_PRODUCT2

This is a very simple table which has only three fields. All of the fields are mapped from MARA.

(2) table ZCOMM_PRODUCT which is redirected to CDS view ZP_MARA_REDIRECT

Both table have exactly the same number of entries: 97.144

I create two simple ABAP methods to retrieve data from ZCOMM_PRODUCT and ZCOMM_PRODUCT2:

And use ST05 to trace the duration of these two kinds of SELECT SQL.

The case for direct read via SELECT SQL: 0.159 second

The case for CDS redirect: 0.247 second

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Comparison scenario
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档