ITPub博客

首页 > 应用开发 > IT综合 > SAP CDS重定向视图和直接读这两者场景的性能比较

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

原创 IT综合 作者:i042416 时间:2019-12-17 13:35:31 0 删除 编辑

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

要获取更多Jerry的原创文章,请关注公众号"汪子熙":


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2668977/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
测试

注册时间:2018-01-20

  • 博文量
    3822
  • 访问量
    1981752