Remove data storage from replicated databases
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
You can remove data storage areas in replication and hot standby environments while the database is online, provided that the areas contain no objects.
The source and target databases can differ in their physical extents. A source may have multiple extents and the target maay have only one for an area (or vice versa). You may remove a single extent on the source without removing anything on the target.
Replication requires that the areas of the two databases match during connection in order to synchronize. The match criteria are the type, records per block, and cluster size of the area; the number or sizes of the extents are ignored.
- Remove all extents from the source database. This command removes extents from the
Customer Area:prostrct removeonline sourcedb d 'Customer Area' -allExtents - If after-imaging is enabled, watch for a message that replication has started waiting:
The Replication Agent will wait for the area to be removed on the target database when it reaches the end of this operating in the after image file. (20741) Do you want to continue (y/n)? - Enter
yto continue. - Watch for a prompt about waiting for connected processes to close:
The database connections above have not closed the files removed by prostrct removeonline (20690) Do you wish to recheck? (y/n) - Enter
yto recheck and continue. In most cases, if database notification is enabled, the recheck completes quickly. (For more information, see Database Notification Operations (-dbnotifyops) and Database Client Notification (-usernotifytime).) - On the target database, watch for a message about the Replication Agent waiting, for example:
The Replication Agent is waiting for Customer Area to be removed. - After this message appears, remove all extents on the target database:
prostrct removeonline targetdb d 'Customer Area' -allExtents - As on the source, watch for a prompt about connected processes:
The database connections above have not closed the files removed by prostrct removeonline (20690) Do you wish to recheck? (y/n) - Enter
yto recheck and remove ornto stop the removal. Logins will be limited and replication stops until you remove the areas.
- List the files to determine which ones to apply:
rfutil source -C aimage list > _ailist.txt - Check the areas on the standby database.
prostrct list standby standby_save.st - If the area that you removed remains on the standby system, apply each after-image file until you replay the PROSTRCT REMOVEONLINE operation, for example:
rfutil standby -C roll forward -a source.a1PROSTRCT LIST should show that the area is gone and the database log shows messages that the extents and areas were removed.