Best unofficial Apache Server developers community |
|
Doing a nightly pushout of data from Oracle to Postgres (EnterpriseDB) on multiple machines. Due to the volume of data we are dropping indexes and constraints, pushing the data and then recreating the indexes and constraints. This process is creating a lot of pg_xlog files (WAL). I am trying to figure out how to get rid of these files before tarring and transferring the database files to multiple remote servers (replication does not work due to some issues with CLOBs). If I issue a checkpoint and then force a segment switch using pg_switch_xlog, should I be able to delete all but the newest WAL file? Or will I still have to run pg_resetxlog?
posted via StackOverflow
|