KenGalliher1
Esri Contributor
since ‎07-04-2014
28 Badges Earned
Blogger Kudos
View All Badges Earned
Thursday
97 Posts created
92 Kudos given
13 Solutions
69 Kudos received
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My Ideas

(2 Idea Submissions)

Latest Contributions by KenGalliher1

IDEA
1
1
631
BLOG


The scripts found in Esri Knowledge Base Article 24518 provide the SQL to both update statistics and rebuild indexes.

NOTE:
  • Oracle databases can be set to automatically update statistics.
  • The SQL Server script in KB24518 is still applicable for geodatabases in SQL Server 2008, 2008R2 and 2012.

Also, if you are using ArcGIS 10.2 or 10.1, there are some new geoprocessing tools in the ArcToolbox that can accomplish this:Data Management Tools > Geodatabase Administration > Analyze Datasets:
Updates the database statistics of base tables, delta tables, and archive tables, along with the statistics on those tables’ indexes. This tool is used in enterprise geodatabases to help get optimal performance from the RDBMS query optimizer. Stale statistics can lead to poor geodatabase performance.Data Management Tools > Geodatabase Administration > Rebuild Indexes:
Updates indexes of datasets and system tables stored in an enterprise geodatabase. This tool is used in enterprise geodatabases to rebuild existing attribute or spatial indexes. Out-of-date indexes can lead to poor geodatabase performance.

No matter which one you choose, these resources can be run as automated tasks using SQL, or the ArcToolBox tools can be exported to Python and automated as well.Ken G. - Geodata Support Analyst
-->
0
0
2846
POST
0
0
1444
POST
0
0
1839
POST
0
0
1839
POST
0
0
1875
POST
0
0
2194
POST
0
0
1460
POST
0
0
2194
POST
0
0
706
POST
0
0
6213
POST
0
0
611
POST
0
0
3168
POST
0
0
2486
POST
0
0
553
Activity Feed
Contact Me
Online Status
Offline
Date Last Visited
Thursday