Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

Query Layer display slow and high CPU in ArcMap (SDE, a lot attachments)

$
0
0
Query Layer display slow in ArcMap and high CPU usage when features in SDE having a lot attachments


On the server we have
1. SQL Server 2008 R2 Standard (SP2)
2. ArcGIS Server 10.1 for .Net (No service pack)
3. Windows Server 2008 R2 Datacenter SP1 64bit, (15GB RAM, 4-core Intel Xeon CPU @2.40Ghz)

In the SQL Server there is a point feature classes with around 80k features and 25k attachments. The SQL query used to build the query layer is very simple like Select * From MyTable, no join or union whatever.

Here are three tests I had, during the tests I zoomed the map to the extent only showing 50 points on screen:
Test 1. Add the feature class by the standard way using ‘Add Data’, ArcMap can refresh the map instantly.
Test 2. Add Query Layer, the query is just like Select * From MyTable, ArcMap takes about 8 seconds to refresh the map, and took about 45% CPU usage.
Test 3. Made a copy of the same feature class under the same database but without attachments, ArcMap display it instantly and no high CPU usage.

The slowness issue could due to the attachments but I'm not sure. The feature class has about 8 attribute indexes not sure if that could cause any performance issue. Looking forward your help. Thanks. Any advise or thoughts would be appreciated!

Viewing all articles
Browse latest Browse all 2328

Trending Articles