Purge temporary diagrams

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 executed 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:

  1. Start ArcGIS Pro.
  2. 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.
  3. Load your project or create one.
  4. 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.

  5. Open the Geoprocessing pane, click Toolboxes, and expand Network Diagram Tools.
  6. Double-click the Purge Temporary Diagrams tool.

    The Geoprocessing pane loads the Purge Temporary Diagrams tool.

  7. 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.
  8. 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.
  9. Click Run.

After the process is complete, all the temporary diagram tables and feature classes are clean.

Related topics