Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2022 3:15:54 PM
Sep 3, 2021 11:30:02 AM
A large quantity of files accumulates in this folder:
C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\9.6\pg_xlog
(9.6 is the Repository version and may change). New files are added every day so that they may fill the entire space in C: drive.
The name of the generated files is an hexadecimal code similar to this: 0000000100000021000000AA. They have all the same size, generally 16 MB .
This problem can be fixed by bringing some configurations for the Postgres Database back to the default state. Before proceeding, kindly, be sure you that they have not been changed for a specific reason, like troubleshooting.
Please, follow this:
This will re-activate the automatic cleaning process in Postgress. Notice that the setting "archive_mode on" can block the removal of the WAL files cleaning process, even if the parameters above are set correctly. So this must also be removed.
Please, also notice:
The hexadecimal named files saved in the folder are called WAL (Write Ahead Log) and are generated by the PostgreSQL Database.
When PostgreSQL is running normally, there is a finite number of WAL files it in the pg_xlog directory. Postgres normally deletes older WAL files automatically, so the total number of files never climbs too high.
By default, the automatic cleaning of WALs is enabled when Sense installs the database. It is possible that some configurations have been manually changed in the database config file if the WALs are not removed by the system.