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 in an enterprise database, this concerns all the nonversioned feature classes and tables.
It is strongly recommended to regularly clear temporary diagram tables to avoid slowing down performance when creating temporary diagrams.
Requirements and pre-requisites
The requirements and pre-requisites to purge temporary diagrams are as follows:
- This operation must be executed from either a utility network or trace network in a file geodatabase or a database connection to the utility network in an enterprise geodatabase. When working with a utility network in an enterprise geodatabase, you can't work from a service.
- For the case of a database connection to the utility network in an enterprise geodatabase, you must connect using the credentials of the database utility network owner.
- When working with a database connection to the utility network in an enterprise geodatabase, you must sign in to your ArcGIS Enterprise portal using the credentials of the portal utility network owner.
How to purge temporary diagrams
To delete temporary diagrams, complete the following steps:
- Start ArcGIS Pro.
- When working with a utility network in an enterprise geodatabase, sign in to your ArcGIS Enterprise portal using the credentials of the portal utility network owner.
- Load your 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 geodatabase, add the file geodatabase to the project.
- When working with a utility network in an enterprise geodatabase, add the database connection file to the project or create a new one.
Caution:
Make sure the utility network is registered as branch versioned and you are connecting using the credentials of the database utility network owner.
- 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.