Purging temporary diagrams clears all the temporary feature classes and tables where temporary diagram contents are stored to reduce the size of the database.
Note:
For a utility network or trace network in an enterprise database, this concerns all the nonversioned feature classes and tables.
It is strongly recommended that you regularly clear temporary diagram tables to avoid slowing down performance when creating temporary diagrams.
Requirements and prerequisites
The requirements and prerequisites to purge temporary diagrams are as follows:
- This operation must be run from either a utility network or trace network in a file or mobile geodatabase, or a database connection to the utility network or trace network in an enterprise geodatabase. When working with a utility network or trace network in an enterprise geodatabase, you can't work from a service.
- For the case of a database connection to a utility network or trace network in an enterprise geodatabase, you must connect using the credentials of the database network owner; that is, using the database utility network owner or database trace network owner credentials.
- When working with a database connection to a utility network or trace network in an enterprise geodatabase, you must sign in to your ArcGIS Enterprise portal using the credentials of the portal network owner; that is, using the portal utility network owner or portal trace network owner credentials.
How to purge temporary diagrams
To delete temporary diagrams, complete the following steps:
- Start ArcGIS Pro.
- When working with a utility network or trace network in an enterprise geodatabase, sign in to your ArcGIS Enterprise portal using the credentials of the portal network owner—that is, using the portal utility network owner or portal trace network owner credentials.
- Load a project or create one.
- Depending on the geodatabase you want to work with, do one of the following:
- When working with a utility network or trace network in a file or mobile geodatabase, add the file or mobile geodatabase to the project.
- When working with a utility network or trace network in an enterprise geodatabase, add the database connection file to the project or create one.
Caution:
Make sure the utility network or trace network is registered as branch versioned and you are connecting using the credentials of the database network owner—that is, using the database utility network owner or database trace network owner credentials.
- Open the Geoprocessing pane, click Toolboxes, and expand Network Diagram Tools.
- Double-click the Purge Temporary Diagrams tool.
The Geoprocessing pane loads the Purge Temporary Diagrams tool.
- Click the Browse button next to the Input Network box, browse to Project > Databases and select the database connection file you've just added to the project. Browse to and select the network data element and validate.
- Then, do one of the following choices:
- To entirely purge all the temporary tables, keep the current moment set in the Created Before box.
- To keep the last temporary diagrams in the dataset, set up the date you want so the purge process only deletes rows that were created or updated before the specified date.
- Click Run.
After the process is complete, all the temporary diagram tables and feature classes are clean.