简单操作方法如下:
1:将需要测试的mxd文件放入mxdpefstat工具目录
2 : cmd 命令进入 mxdpefstat 工具目录( 1:CD\ , 2:CD D:\资料\arcsde文档 )3 :输入命令 mxdperfstat93 -mxd E:\ 宁君 \ 资料 \arcsde 文档 \mxdpefstat\hhhh.mxd -scale 4000;2000 -width 1024 -height 768 ,回车运行
可以得到如下的分析结果,可以看到每个图层的刷新时间,及图层显示时各阶段的时间,如果有问题,会在 Recommendations 里面给出建议;
此工具可以作为性能调试的第一步;
body {background-color: transparent} h1 {color: purple; background-color: transparent} h2 {color: purple; background-color: transparent} p {color: purple background-color: transparent} TR.top { background: red } TD { }
MxdPerfStat
2010-5-11 15:32:05
c:\\mapdata\\杭州_UC.mxd
layerCount= 5
GCS_WGS_1984
esriDecimalDegrees
X= 120.14 Y= 30.27 width= 1024 height= 768
Map Display Performance (sec) for each scale | ||
Scale | Refresh Time(sec) | VisibleLayers |
4,000 | .09 | 5 |
Layer Properties | |||||||||||||||||
Item | At Scale | Layer Name | Refresh Time (sec) | Recommendations | Features | Vertices | Labeling | Geography Phase (sec) | Graphics Phase (sec) | Cursor Phase (sec) | DBMS CPU | DBMS LIO | DBMS PIO | Source | LayerType | Layer Spatial Reference | LayerQueryDef |
1 | 4,000 | 公路 | .05 |
| 26 | 162 | True | .02 | .02 | .00 | .00 |
|
| C:\MapData\杭州\hz.gdb | esriGeometryPolyline | GCS_WGS_1984 | |
2 | 4,000 | 居民地 | .03 |
| 300 | 1,971 | False | .02 | .00 | .02 | .00 |
|
| C:\MapData\杭州\hz.gdb | esriGeometryPolygon | GCS_WGS_1984 | |
3 | 4,000 | 绿地 | .05 |
| 5 | 141 | True | .00 | .00 | .00 | .00 |
|
| C:\MapData\杭州\hz.gdb | esriGeometryPolygon | GCS_WGS_1984 | |
4 | 4,000 | 面状水系 | .05 |
| 2 | 512 | True | .02 | .00 | .00 | .00 |
|
| C:\MapData\杭州\hz.gdb | esriGeometryPolygon | GCS_WGS_1984 | |
5 | 4,000 | 行政区划 | .03 |
| 1 | 79 | True | .00 | .02 | .00 | .00 |
|
| C:\MapData\杭州\hz.gdb | esriGeometryPolygon | GCS_WGS_1984 |
