Modifications to HALDB record segments

Changes to segments and segment hierarchies in a HALDB database are made in the DBD statements of the DBDGEN process.

Most changes to segments and segment hierarchies in a HALDB database require you to first unload all of the partitions in the HALDB database and reload the partitions after the changes are complete.

The following list includes typical changes you can make to HALDB segments and segment hierarchies and whether or not they require a complete unload of the HALDB database:

  • Adding a field definition that does not increase the size of a segment does not require an unload of the database.
  • Deleting a field definition that does not decrease the size of a segment and that is not used with a secondary index does not require an unload of the database.
  • Adding or deleting a segment type requires an unload of the database.
  • Changing the definition of a segment size requires an unload of the database.
  • Changing the definition of a sequence field requires an unload of the database.
  • Changing the location of a segment in the hierarchy requires an unload of the database.
  • Changing pointer options requires an unload of the database.