Slow ArcSDE Performance Troubleshooting
Why is my ArcSDE geodatabase running so slow? Is it because I have too much data? Probably not. That’s why you bought the big enterprise DBMS, isn’t it? Whether its a direct connection or an application server connection, sluggish SDE performance will happen from time to time.
Update statistics and rebuild indexes:
A good thing to get into is to analyze any new feature class or table brought into the geodatabase. However, see this link to rebuild indexes and update statistics for the entire GDB……and add it to your GDB maintenance routine:
FAQ: How can ArcSDE performance be improved?
Compress:
Compressing (not reck/post) moves edits stored in the Delta tables into the base table as well as remove any unreferenced states. Even if you’re a small shop with few editiors, letting these tables grow unmanaged will wreak havoc on performance over time. Also, you don’t necessarily need to disconnect users, delete versions or unregister replicas to benefit from a compress.
Compressing an ArcSDE geodatabase helps maintain database performance by removing unused data.
Specifically it does two things:
Remember to update statistics before and after a compress, and note the one exception mentioned earlier. The compress command is available in ArcCatalog. You add the command from the Customize dialog box, and you must be connected as the SDE user to execute it, or you could execute a compress with SDE commands.
The geodatabase compress operation
Old habits are hard to break and the 3-tier application (ArcSDE) service is certainly one of them. When I know I have to use SDE commands for troubleshooting, I almost always set up a service so I don’t have to type the connection string repeatedly.
Sql Server – sde:sqlserver:<server_name\instance_name>
Why is my ArcSDE geodatabase running so slow? Is it because I have too much data? Probably not. That’s why you bought the big enterprise DBMS, isn’t it? Whether its a direct connection or an application server connection, sluggish SDE performance will happen from time to time.
Update statistics and rebuild indexes:
A good thing to get into is to analyze any new feature class or table brought into the geodatabase. However, see this link to rebuild indexes and update statistics for the entire GDB……and add it to your GDB maintenance routine:
FAQ: How can ArcSDE performance be improved?
Compress:
Compressing (not reck/post) moves edits stored in the Delta tables into the base table as well as remove any unreferenced states. Even if you’re a small shop with few editiors, letting these tables grow unmanaged will wreak havoc on performance over time. Also, you don’t necessarily need to disconnect users, delete versions or unregister replicas to benefit from a compress.
Compressing an ArcSDE geodatabase helps maintain database performance by removing unused data.
Specifically it does two things:
- First, it removes unreferenced dates, and their associated delta table rows.
- Second, it moves entries in the delta tables that are common to all versions into the base tables, thus reducing the amount of data that the database searches through when executing queries. In effect, a compress will improve query performance and system response time by reducing the depth and complexity of the state tree.
Remember to update statistics before and after a compress, and note the one exception mentioned earlier. The compress command is available in ArcCatalog. You add the command from the Customize dialog box, and you must be connected as the SDE user to execute it, or you could execute a compress with SDE commands.
The geodatabase compress operation
No comments:
Post a Comment