The knowledgebase ( https://support.na.sage.com/)知识库
Sage City ( https://sagecity.na.sage.com/support_communities/sage_erp_x3/f)
What is the Sage X3 software version and patch level?什么是Sage X3软件版本和补丁级别?
Are you using a SQL Server or Oracle database? What is the version of that database?你是用的是SQL还是Oracle数据库,数据库版本是什么?
Is this the first time occurrence? Has it been recent or gradual?这是第一次出现吗,是近期还是经常的
Is the Sage X3 application server on a different virtual machine than the SQL server, and are both virtual machines on different host machines? Symptoms include all Administration menu items being fast and all other menu items elsewhere being slow (takes a few minutes to open). See knowledgebase article 73952 linked below.Sage X3应用程序服务器是否与SQL server在不同的虚拟机上,并且两者都是不同主机上的虚拟机? 症状包括所有管理菜单项都很快,而其他地方的所有其他菜单项都很慢(需要几分钟才能打开)。 请参阅下面链接的知识库文章73952。
What changed?有什么变化
What are the users doing EXACTLY when it gets slow?当它变慢的时候,用户到底在做什么?
aYou may use attached document "Sage_EM_Architecture_Sizing_Questionnaire_ENG_v1.0.docx" to verify that the Hardware and Software versions are compatible and meets the requirements of Sage X3. This will also help in determining Environment issues noted in the next section below.
您可以参考文档“SAGE_EM_Architecture_SIZING_OQUIRE_ENG_V1.0.DOCX”来验证硬件和软件版本是否兼容并满足Sage X3的要求。 这也将有助于确定下文下一节中提到的环境问题。
Environment:环境
Does your architecture correspond with the Sage X3 documentation?您的架构与SageX3文档的要求匹配吗?
Was a new patch installed?安装了新补丁吗
A Windows update?Windows 更新了吗
Anti-virus?防病毒
Have any new audits been activated?是否启用新的审计
Is there any Statistical Parameters active?是否有参数统计的活动
Are they in real-time or scheduled?他们是实时的还是预先规划的
Can they be disabled?他们可以被禁用吗
New software added / add-on新的软件或者加载项
How was the data entered into the system? Front-end? Import? If import was it a custom template or standard? Other?数据是如何输入系统的? 前端? 导入? 如果导入,它是自定义模板还是标准? 或者其他的?
Does the issue occur once, every time, or is it intermittent?问题是一次发生,每次发生,还是断断续续发生?
Does the issue occur at the same time every day or week?问题是否在每天或每周的同一时间发生?
What are the exact steps to duplicate?重复的确切步骤是什么?
What is the function name?功能名称是什么
What is the menu path?菜单路径是什么
What is the series of clicks and events that lead to the issue?导致问题的一系列点击和事件是什么?
Has this area been customized?这个部分有客户定制吗
All users? Some users? One user?所有用户? 一些使用者? 一个用户?
All data folders? One data folder所有数据文件夹? 一个数据文件夹
Is the user using a V6 fat client?用户是否使用V6胖客户端?
Does it occur on all web browsers?它是否在所有的web浏览器上都发生?
What resources are in use using Window’s resource monitor: https://www.youtube.com/watch?v=pLDP1bGlb7c?使用Windows的资源监视器https://www.youtube.com/watch?v=pldp1bglb7c正在使用哪些资源?
Determine if the pressure is coming from RAM, CPU, disk or network resources?确定压力是来自RAM,CPU,磁盘还是网络资源?
Is the CPU utilization coming from SQL Server? The application server? The Syracuse server? The print server? The Java server? Elsewhere?CPU利用率是否来自SQL Server? 应用服务器? Syracuse服务器? 打印服务器? Java服务器? 别处?
What process in Windows is taking up the CPU?Windows中的什么进程占用了CPU?
How many CPU cores are allocated to this machine?这台机器分配了多少个CPU内核?
Version 6 Architecture guide and system requirementsV6版本系统结构指南和系统要求
Sage ERP version 7 Architecture Guide & software compatibility guideSage ERPV7系统结构指南和软件兼容性指南
Sage X3 Product Update 8 System Requirements and Architecture guideSage X3产品更新8系统要求和结构指南
Sage X3 U9 Architecture and System Requirements GuideSage X3 U9体系结构和系统需求指南
Sage X3 V11 Architecture and System Requirements GuideSage X3 V11体系结构和系统需求指南
Some considerations for a virtual environment in KB ID 79722: Can I deploy Sage X3 in a virtual environment?
KB ID79722中虚拟环境的一些注意事项:我可以在虚拟环境中部署Sage X3吗?
Performance analysis tools:性能分析工具
To help determine the quality of an infrastructure, Sage provides a test program to meter X3 performance by performing a set of data I/O operations to simulate some high-demand transactions. To test the X3 core level between runtime and DB only (no interaction with Syracuse, MongoDB, ElasticSearch, nor any other SAFE X3 component) review knowledgebase article ID 75064, What is Sage X3 performance measurement tool?
Run a timing trace within a function to pinpoint the exact call of a subprogram within code: Run Activation Timing trace utility. You may want to use run an Engine trace in conjunction with the timing trace or the Extended Events.
Microsoft tools can be used to capture statements that are sent to SQL Server and the SQL Server result sets from these statements. Sage support will likely request or work with you obtain a SQL Server trace and/or an Activation Timing trace with a performance issue.
If using SQL Server 2012 and later: Microsoft's Extended Events and X3
If using SQL Server 2008 and earlier: Microsoft's SQL Server Profiler and X3
How to guide on tracing SQL processes
As of Product update 9, you can utilize the Flamegraph to analyze calls in a program: How to view performance analysis information (Flamegraph)
为了帮助确定一个基础设施的质量,Sage提供了一个测试程序,通过执行一组数据I/O操作来模拟一些高需求事务来测量X3性能。 仅在运行时和DB之间测试X3核心级别(不与Syracuse,MongoDB,ElasticSearch或任何其他安全的X3组件交互),查看知识库文章ID75064,什么是Sage X3性能测量工具?
在功能中运行计时跟踪,以精确定位代码中子程序的准确调用:运行激活计时跟踪实用程序。 您可能希望将运行引擎跟踪与定时跟踪或扩展事件结合使用。
Microsoft工具可用于捕获发送到SQL Server的语句以及来自这些语句的SQL Server结果集。 Sage support可能会请求或与您一起获得一个SQL Server跟踪和/或一个存在性能问题的激活计时跟踪。
如果使用SQL Server 2012及更高版本:Microsoft的Extended Events和X3
如果使用SQL Server 2008及更早版本:Microsoft的SQL Server事件探查器和X3
如何指导跟踪SQL进程
从产品更新9开始, 你可以利用Flamegraph来分析调用的程序通用X3的性能依赖关系:
General X3 Performance dependencies:
Single-tier environment (X3 core level) 单层环境(X3核心级)
Multi-tier (X3 core level): 多层(X3核心层):
Typically degradation between X3 core single-tier and X3 core multiple-tier (all other things being equal): X3核心单层与X3核心多层之间的典型退化(其他条件相同):
· About 40 to 50% more time with a 10 Gbps network link 使用10gbps网络链接的时间大约多出40%到50%
· 150 to 200% more time with a 1 Gbps network link 使用1gbps网络链接的时间增加了150到200%
· Much worse with 100 Mbps network link ·100 Mbps网络连接更糟糕
Sage City Blogs
These come from Sage City posts provided by some of our support folks that reference some tools and concepts that may help.
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/archive/2014/08/11/sage-summit-2014-explore-the-tools-available-for-troubleshooting-challenging-support-issues
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/archive/2014/08/11/sage-summit-bus-316-prepare-your-sage-erp-x3-solution-for-infinity-and-beyond-system-performance-best-practices
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/archive/2013/08/02/supporting-advanced-index-hints-from-sql-server-within-sage-erp-x3
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/archive/2014/09/26/improving-read-performance-leveraging-the-adxftl-parameter
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/archive/2013/07/17/solving-the-question-what-causes-my-tempdb-to-grow
https://sagecity.na.sage.com/support_communities/sage_erp_x3/b/sageerp_x3_product_support_blog/posts/fixing-bottlenecks-using-sql-server-filegroups-and-tiered-storage
Physical server(s):
Power settings in the server's BIOS set to 'Balanced Mode' by default preventing CPU to run at max speed (Turbo Boost) for more than a few seconds. This should be set to 'High Performance' or equivalent depending on manufacturer.
Power Options in Windows is the default 'Balanced (recommended)'. This should be set to 'High performance'
CPU / Memory clock on runtime server
CPU / Memory clock on DB server
DB server heavily used by databases other than Sage X3
DB server storage poor performance
DB server database settings
Virtual server(s):
Virtualization hosts settings (Power management)
VM envelope parameters (Virtualization hardware accelerators off, CPU overprovisioning, etc...)
Network type: 100Mbs / 1 Gbps / 10 Gbps Note: The network throughput is not an issue by itself, it's the latency that the most important factor when doing multiple very small database operations from Sage X3.
All of the factors above related to single-tier environment.
物理服务器(s):
服务器BIOS中的电源设置默认为“平衡模式”,防止CPU以最高速度(Turbo Boost)运行超过几秒钟。 这应该被设置为“高性能”或等同,这取决于制造商。
Windows的电源选项是默认的“平衡(推荐)”。 这应该设置为“高性能”
运行时服务器上的CPU /内存时钟
DB服务器上的CPU /内存时钟
DB服务器被Sage X3以外的数据库大量使用
DB服务器存储性能差
数据库设置
电话:400-618-3060
上海启封企业管理咨询有限公司
上海总部: 上海市黄浦区延安东路45号上海工商联大厦507室
联系电话: 021-31200832
杭州分公司:浙江杭州市下城区新天地世嘉君座4幢1105-1107室
联系电话:0571-88121121
有意了解完整方案,敬请关注:
http://www.sageas.cn