技术文章 - CS327061
使用 Microsoft SQL Server 的 Windchill PDMLink 中工作区或 EPM 文档请求缓慢
已修改: 22-Jul-2024
适用于
- Windchill PDMLink 11.1 M020 to 13.0
- Microsoft SQL Server
说明
- 需要 8 - 9 分钟才能加载、激活、签入、签出包含数千个对象的工作区
- 在独立 Web 浏览器中也会发生
- 表格视图是 OOTB
- Windchill 点不存在主要的 JDBC 瓶颈
- 包含少量对象的小型工作空间可以正确加载
- 切换到大型工作区时,Creo 会挂起或需要很长时间才能加载
- CAD 文档信息页面速度很慢
- 例如, EPM 文档详细信息> WVS 属性、内容>表示/注释表可能需要 1 分钟才能显示。
- 下面的 SQL 将大量数据返回到方法服务器
SELECT 'wt.content.ApplicationData',A0.authoredBy,A0.blob$clientData,A0.category,A0.chapterDelegate,A0.checksum,A0.clientData, A0.comments,A0.classnamekeyA4,A0.idA3A4,A0.description,A0.distributable,A0.fileName,A0.fileSize,...,A1.idA3B5,...A1.idA2A2,A1.updateCountA2,CONVERT(varchar,A1.updateStampA2,120) FROM ApplicationData A0,HolderToContent A1 WHERE ((A0.role = ?)) AND ((A1.idA3B5 = A0.idA2A2) AND (A1.idA3A5 IN (SELECT item FROM #wtarray13236_1057413564)))
- 经过的时间分布如下
wt.session.SessionContextDestroyer.doFilterInternal [100%] . wt.httpgw.FilterChainImpl.doFilter [100%] . | wt.httpgw.HTTPAuthGatewayServlet.serviceWithoutFilters [100%] . | . wt.httpgw.HTTPGatewayServlet.serviceWithoutFilters [100%] . | . | wt.httpgw.MethodRequestHandler.handleRequest [100%] . | . | . wt.httpgw.HTTPServer.processRequest [100%] . | . | . | java.lang.reflect.Method.invoke [100%] . | . | . | . sun.reflect.DelegatingMethodAccessorImpl.invoke [100%] . | . | . | . | sun.reflect.GeneratedMethodAccessor495.invoke [100%] . | . | . | . | . com.ptc.windchill.uwgm.soap.impl.uwgm.BinaryRequestHandler.getCacheDescriptor [100%] . | . | . | . | . | com.ptc.windchill.uwgm.soap.impl.uwgm.BinaryRequestHandler.processRequest [100%] . | . | . | . | . | . com.ptc.windchill.uwgm.proesrv.ProeService.execute [100%] . | . | . | . | . | . | com.ptc.windchill.uwgm.proesrv.ProeService.executeTransaction [100%] . | . | . | . | . | . | . com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.executeTransaction [100%] . | . | . | . | . | . | . | com.ptc.windchill.uwgm.proesrv.UwgmTransactionExecuterImpl.execute [100%] . | . | . | . | . | . | . | . com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher.scanRequests [100%] . | . | . | . | . | . | . | . | com.ptc.windchill.uwgm.proesrv.ProeServiceRequestDispatcher.postScanRequests [100%] . | . | . | . | . | . | . | . | . com.ptc.windchill.uwgm.proesrv.rrc.RequestResultCache.postProcess [100%] . | . | . | . | . | . | . | . | . | com.ptc.windchill.uwgm.proesrv.rrc.RequestResultCache.processProductViewInfo [63.33%] . | . | . | . | . | . | . | . | . | . com.ptc.windchill.uwgm.proesrv.rrc.RRCVisualizationHelper.setPVInfo [63.33%] . | . | . | . | . | . | . | . | . | . | com.ptc.wvs.server.ui.UIHelper.getPartStructurePVHTML [63.33%] . | . | . | . | . | . | . | . | . | . | . com.ptc.wvs.server.ui.UIHelper.getProductViewHTML [40%] . | . | . | . | . | . | . | . | . | . | . | com.ptc.wvs.server.ui.UIHelper.initializeCreoViewUrl [40%] . | . | . | . | . | . | . | . | . | . | . | . com.ptc.wvs.server.util.PublishUtils.hasAccess [40%] . | . | . | . | . | . | . | . | . | . | . | . | com.ptc.wvs.server.util.PublishUtils.checkDownloadPermissionsForRepresentations [40%] . | . | . | . | . | . | . | . | . | . | . | . | . com.ptc.wvs.server.util.FileHelper.getEdFile [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | com.sun.proxy.$Proxy262.getContentsByRole [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.services.ServiceFactory$ServerInvocationHandler.invoke [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | java.lang.reflect.Method.invoke [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . sun.reflect.DelegatingMethodAccessorImpl.invoke [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | sun.reflect.GeneratedMethodAccessor698.invoke [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.content.StandardContentService.getContentsByRole [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.fc.StandardPersistenceManager.query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.fc.StandardPersistenceManager.query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.fc.StandardPersistenceManager._query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.pom.PersistentObjectManager.query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.pom.PersistentObjectManager.query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.pds.SQLDatabasePds.query [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.pds.BasicResultCursor.next [40%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.pds.SequentialResultBuilder.build [33.33%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.pds.StandardACProcessor.processResults [33.33%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.pds.PersistableItemBuilder.build [33.33%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | wt.pds.WTResultSet.readObject [33.33%] . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . | . wt.content._ApplicationData.readExternal [26.67%]
这是文章 327061 的 PDF 版本,可能已过期。最新版本 CS327061