Select to view content in your preferred language

ArcGIS Pro 3.0.1: How to update the attribute indexes (rebuild indexes) for the file geodatabase?

2191
5
09-12-2022 11:52 PM
JamalNUMAN
Legendary Contributor

 

ArcGIS Pro 3.0.1: How to update the attribute indexes (rebuild indexes) for the file geodatabase?

 

I couldn’t figure out if there is a way to update the attribute indexes (rebuild indexes) for the file geodatabase

 

Clip_74.jpg

 

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
5 Replies
DanPatterson
MVP Esteemed Contributor

probably not a great process to use in modelbuilder since....

Names of the datasets that will have their indexes rebuilt. Only datasets that are owned by the connected user are displayed.

Rebuild Indexes (Data Management)—ArcGIS Pro | Documentation

 


... sort of retired...
JamalNUMAN
Legendary Contributor

I’m referring here to file geodatabase not an enterprise. How the indexing is updated?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
DanPatterson
MVP Esteemed Contributor

Your inclusion in the model was confusing me.

You have to use Add Index and remove index if needed

Attribute indexes in the geodatabase—ArcGIS Pro | Documentation


... sort of retired...
JamalNUMAN
Legendary Contributor

If the “remove index” tool is added to the model then the model fails to be generic, as in this case, it requires to have the index added to the file geodatabase so that the “remove index” can work inside the model!

 

In other words, what I wanted here is to be able to add an index by the model (to a file geodatabase that doesn’t already have) and then to be able to “update” the index regularly

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
DanPatterson
MVP Esteemed Contributor

Then you need a conditional branching

If Data Exists (ModelBuilder)—ArcGIS Pro | Documentation

if the index exists or if it doesn't.

"index" can be checked by the above branching help topic


... sort of retired...