IBM Support

QRadar: How to vacuum and reindex PostgreSQL database on a managed host?

How To


Summary

QRadar uses a PostgreSQL database as a data store. Vacuuming and reindexing are automatic database maintenance activities that help QRadar function optimally. However, there are times where this activity would be helpful. Such as an upgrade on a managed host failed due to store space, but you need to recover a little space. You can run these procedures to recover the space and continue the upgrade. There are some other situations where a database vacuum would be needed and a support representative indicates this document as a solution.

Vacuuming reclaims storage occupied by dead tuples. In PostgreSQL, tuples that are deleted, or obsoleted by an update, are not physically removed from their table and remain present until vacuuming is done. Vacuuming also updates data statistics used by the PostgreSQL query planner and updates the visibility map, which speeds up index-only scans. Periodic vacuuming is recommended for tables that are frequently updated.

However, PostgreSQL database on Managed Host (MH) is read-only. Therefore, vacuum its database is slightly different than vacuum PostgreSQL database on the Console.

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwtiAAA","label":"Performance"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Security QRadar SIEM

Component:
Performance

Software version:
All Versions

Document number:
6966268

Modified date:
15 June 2023

UID

ibm16966268

Manage My Notification Subscriptions