一个CRM OData的性能问题分析

简介:

In My appointment application, when jerry clicks F4 on account field, there will be odata request to retrieve account information.
To my surprise, this odata request took more than one minute to get response:

Then I did a performance trace in jerry system and found out most time is spent on your code CL_CRM_BP_ODATA_RT~ SELECT_ENTITYSET_BY_SQL.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ANZPgsKn-1580818103722)(https://upload-images.jianshu.io/upload_images/2085791-389aca4950fcc13e.png?imageMogr2/auto-orient/strip)]

I wrote a report in jerry system MOR/300 to reproduce this performance issue, report name: ZTEST_APP_PERFORMANCE. Simply execute it and you will find the issue.

In jerry system there are 645,212 entries in BUT000, and in AG3/001 I execute the same report ( report name: ZSEARCH_BP_IN_APPOINTMENT ) with BUT000 entries 60,452.

The performance of these two systems are quite different, even considering the table volume difference:

In jerry system: 645,212 entries, 81 seconds

In AG3/001: 60,452 entries, 0.178 second

Even if I disable the authorization related search field,

The performance is a little bit improved but still bad: 645,212 entries, 56 seconds

I am using MaxDB.

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
6月前
|
SQL API
SAP CRM Fiori 应用后台 OData 服务性能优化的一些思路
SAP CRM Fiori 应用后台 OData 服务性能优化的一些思路
93 0
|
6月前
|
XML API 数据格式
关于使用 SAP CPI 暴露 S/4HANA SalesOrder API 引起的一个错误问题分析
关于使用 SAP CPI 暴露 S/4HANA SalesOrder API 引起的一个错误问题分析
53 0
|
6月前
|
机器学习/深度学习 存储 UED
SAP CRM My Note 应用的设计要点概述
SAP CRM My Note 应用的设计要点概述
72 0
|
6月前
|
XML Web App开发 API
使用 SAP UI5 消费 OData 服务的一些常见错误和解决方案
使用 SAP UI5 消费 OData 服务的一些常见错误和解决方案
46 1
|
7月前
|
Web App开发 测试技术 开发者
几种 SAP ABAP OData 服务的性能评估和测试工具介绍试读版
几种 SAP ABAP OData 服务的性能评估和测试工具介绍试读版
58 0
一个CRM OData的性能问题分析
In My appointment application, when jerry clicks F4 on account field, there will be odata request to retrieve account information. To my surprise, this odata request took more than one minute to get response:
100 0
一个CRM OData的性能问题分析
|
SQL
SAP CRM Fiori 应用 my Opportunities 的后台性能分析
The performance bottleneck of this url /sap/opu/odata/NBA/CRM_OPPORTUNITY_SRV/Opportunities()?KaTeX parse error: Expected 'EOF', got '&' at position 99: …ode eq 'E0003')&̲orderby=Score desc&KaTeX parse error: Expected 'EOF', got '&' at position 7: top=50&̲select=Id,CIFId,PriorityCode,SalesStage
113 0
SAP CRM Fiori 应用 my Opportunities 的后台性能分析
一个具体的例子学习SAP S/4HANA里Fiori应用的排错分析
在浏览器里访问如下url遇到错误: https://er9:44300/sap/opu/odata/sap/C_SALESCONTRACTITMFLFMTQ_CDS/$metadata
一个具体的例子学习SAP S/4HANA里Fiori应用的排错分析
一个典型的加了 SAP 注解的 OData 服务明细分析
如下图所示,我有一个 SAP UI5 应用,使用 SAP UI5 SmartTable 控件,消费了一个施加了 sap 命名空间的 OData 服务。关于这个 SAP UI5 应用更多细节,请查看我这篇文章:如何以 mock server 的方式本地启动 SAP UI5 应用,使它不连接服务器端 OData 服务。
81 0
一个典型的加了 SAP 注解的 OData 服务明细分析