Logging issues when trying clean up the database

Possible cause  

The size of the Qlogs database has grown too large and the database admin is having resource issues when trying to clean up the database.

Proposed action  

Shut off database logging to clean up the storage problem.

Warning: This solution should only be used as a last resort. All purges are permanent.

Do the following:

  1. In Windows, open Services.

  2. Stop the following services:

    • Qlik Sense Engine Service
    • Qlik Sense Proxy Service
    • Qlik Sense Scheduler Service
    • Qlik Sense Repository Service
  3. Open a command prompt with administrator privileges.

  4. Go to C:\Program Files\Qlik\Sense\Logging.

  5. Run Qlik.Logging.Service.exe archive --cutoff_in_hours X (where X is the number of hours).

  6. Run Qlik.Logging.Service.exe purge --cutoff_in_hours X (where X is the number of hours).

  7. Restart the Qlik Logging Service.

  8. Verify the reclaimed data storage.

  9. Start all stopped Qlik Sense services, beginning with the Qlik Sense Repository Service.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?