You can perform manual offline compaction in the following ways:
- There is a Java command-line utility that can do this trick "weblogic.store.Admin". See Edocs for more info.
- A WLST command called "compactstore" can also do the same trick. See Edocs for more info.
Note that this compaction is supported only for WLS File Stores and not for JDBC Stores as they don't suffer with the same issue of compaction.
The Java command-line utility "weblogic.store.Admin can also be used to dump the contents of a store into an XML file for troubleshooting purpose.