A quick tour of registering and unregistering data as versioned

This topic applies to ArcEditor and ArcInfo only.

The datasets in your ArcSDE geodatabase can be registered as versioned without the option to move edits to base, registered as versioned with the option to move edits to base, or not registered as versioned. By default, when you add or create a dataset in an ArcSDE geodatabase, the data is not registered as versioned. For an introduction to these options, see Data maintenance strategies.

NoteNote:

Only the owner of the data can register or unregister it as versioned.

Registering as versioned without the option to move edits to base

Registering your data as versioned without the option to move edits to base allows you to take advantage of all versioned editing functionality. This includes the following:

However, before you register data, consider that there are certain ArcGIS operations you can't perform on data that is registered as versioned. These operations are as follows:

Additionally, when importing a large amount of data, performance is better if you import to a feature class or table that hasn't been registered as versioned.

If you decide to register a feature dataset, stand-alone feature class, or table as versioned, right-click it in the Catalog tree and click Register As Versioned. This opens the Register As Versioned dialog box. Leave the move edits to base option unchecked, and click OK. When you leave this option unchecked, edits to all versions, including the DEFAULT, are preserved in the delta tables.

register as versioned
Register As Versioned dialog box

Note to the database administrator:

Registering a dataset creates the supporting delta tables: the adds (a) and deletes (d) tables, as well as attribute indexes. The a and d tables and their attribute indexes have the potential to be among the most active in your geodatabase. In this case, these tables are read during all queries against the feature class or table. Also, anytime a user makes an edit, a row is added to one or both of these tables, so these tables will grow quickly in an actively edited geodatabase. For this reason, you need to plan for their storage and periodic compression to maintain optimum performance.

Registering as versioned with the option to move edits to base

Registering data as versioned with the option to move edits to base allows you to perform versioned edits on the data. Although registering data this way is designed to support nonversioned edits by third-party applications, you can't perform nonversioned edits through ArcGIS.

Keep in mind that in addition to the ArcGIS operations you can't perform when the data is registered as versioned (as described above), if you register as versioned and specify the option to move edits to base, you cannot do the following:

If you decide to register a feature dataset, stand-alone feature class, or table as versioned with the option to move edits to base, right-click it in the Catalog tree and click Register As Versioned to open the Register As Versioned dialog box. Check Register the selected objects with the option to move edits to base. Checking this option causes edits that have been saved to the DEFAULT version, whether edited directly or merged from other versions, to be saved in the business tables. Edits to other versions remain in the delta tables when you save.

Move to base
Move to base option checked

This option is available for simple features only—those that do not participate in a topology or geometric network. Therefore, if you open the Register As Versioned dialog box and find the move edits to base tables check box is unavailable, it means your dataset contains a topology or geometric network.

Move to base disabled
Move to base disabled

Not registered as versioned or unregistering data as versioned

As mentioned above, your data is initially not registered as versioned. If it remains in this state, you can perform nonversioned edits, and you can create or modify a topology or geometric network.

If you've already registered a feature class as versioned and need to perform one of the above operations, you will need to unregister the feature class as versioned. When you unregister a feature class, the delta tables are dropped from the database—that means all versioned edits that were made but not posted will be lost. To prevent these edits from being lost, either compress all the edits to the base table before unregistering the data or compress them to the DEFAULT version from the Unregister as Versioned dialog box. The software prompts you to compress the edits to the base table when you attempt to unregister a feature class as versioned.

By default, the Unregister as Versioned command is not present on the dataset context menu.

To avoid the need to unregister feature classes, try to apply all topology and geometric network behavior to your geodatabase before you register data. Test the topology and geometric network in a personal geodatabase or on a production server to ensure that you are not missing any rules. This can save you from having to unregister feature classes later in production.


1/5/2011