I have a database that is used in a data mining system. After compacting-on-close, it is over 800MB. Each week, the data is refreshed by deleting all records from the tables, then appending new records by way of queries against linked text files. Those files total nearly 500MB. Before the queries have finished, the code abends because the database has expanded to 2GB.
I would like to compact the database after deleting the records. When I delete the records, manually close and compact the database, and re-open and append the records, the process completes successfully.
Do I have any options to automate the compacting?
I would like to compact the database after deleting the records. When I delete the records, manually close and compact the database, and re-open and append the records, the process completes successfully.
Do I have any options to automate the compacting?