Skip to main content
Question

IAM database growing alot in physical size how to reduce

  • February 16, 2026
  • 4 replies
  • 67 views

Forum|alt.badge.img+3

Hi community 

 

I have a problem where my IAM database is getting big and I require some guidance on shrinking its size. 

Ive found the quilty tables and have reduced the logging to a smaller time frame so it should clean itself better in the future. 

How would i go about removing these existing records?
Through IAM or is there no other way then usting some SQL queries. 

Ive also found out that just removing rows might not be sufficient and to actually reclaim space on the disk a shrink command would have to be used. Is there any risk associated with doing that?

Kind regards

Anne Vries
 

4 replies

Shrinking a database causes severe index fragmentation and is something that should be avoided unless absolutely necessary, after a large one-time only delete action. So a shrink is best performed outside business hours with a index rebuild right after.

Also make sure to leave some space left since a database always grows, leaving 20% empty space is a good rule of thumb. 


  • Moderator
  • February 18, 2026

Hello ​@Anne Vries,

I think you already found the relevant documentation for the retention of the logs. For good measure I will also include them here:

If you decreased the retention time for these logs, they should be cleaned up automatically using a system flow. If you want to delete these logs before that, you indeed would need to do that using your own SQL queries.

Hope that helps!


Forum|alt.badge.img+3
  • Author
  • Partner
  • February 19, 2026

Yes

I have reduced them to their minimal values. Is it possible to reduce them even further or even turn it off for specific applications?

 


  • Moderator
  • February 19, 2026

Hello ​@Anne Vries,

It is not possible to decrease these log retention periods any further. I would also not expect the logs to grow to an excessive size within that period.

If you still  would prefer to decrease (or turn off) the retention periods, you could make an Idea on the community for this.