Auto Commit (Environment setting)

Tools that honor the Auto Commit environment will force a commit after the specified number of changes have been made within an ArcSDE transaction.

Usage notes

Dialog syntax

Scripting syntax

arcpy.env.autoCommit = interval_value

Parameter

Explanation

interval_value

  • 0—Transactions will commit only when an explicit commit is issued.
  • interval—Transactions will automatically commit every <interval> changes.
  • ""—Default to automatically commit every 1,000 updates.
autoCommit syntax
import arcpy

# Set the autoCommit environment to 2000.
arcpy.env.autoCommit = 2000

Related Topics

3/3/2014