A Oracle DBA's BLOG

Welcome to my ORACLE DBA blog. You will be Amazing!!!

Tuesday, July 19, 2016

Cleaning up huge file crfclust.bdb

Grid Infrastructure Disk Space Problem 

In 11.2.0.4 i have come across a bug(20186278) that Cluster Health Monitor files created in GRID_HOME.

This file has a default size of 1 GB.But I saw crfclust.bdb file that sized 48 GB.

For an immediate workaround we have to clean up that file

Cleaning Up crfclust.bdb in 11.2.0.4 Grid home


 Stop the Cluster Health Monitor resource ora.crf as grid owner

[oracle@migrator ~]$/u01/app/grid/11.2.0.4/bin/crsctl stop res ora.crf -init
CRS-2673: Attempting to stop 'ora.crf' on 'migrator'
CRS-2677: Stop of 'ora.crf' on 'migrator' succeeded

Remove the huge CHM files

[oracle@migrator ~]$cd / u01/app/grid/11.2.0.4/crf/db/db1

[oracle@migrator ~]$rm *.bdb

NOTE:Deleting bdb files does not have other impact. But By manually removing the files,Youwill lose historical performance data.

[root@migrator ~]$/u01/app/grid/11.2.0.4/bin/crsctl start res ora.crf -init
CRS-2672: Attempting to start 'ora.crf' on 'migrator'
CRS-2676: Start of 'ora.crf' on ' migrator ' succeeded

Do it in the both node!