pgstat.tmp file should be excluded during IDB backup

Idea ID 1643146

pgstat.tmp file should be excluded during IDB backup

Brief Description
pgstat.tmp file should be excluded during IDB backup , or we should be able to disable the Statistics Collector as long as DP doesn't use Collected Statistics .

Benefits / Value
The following warning message often appears during IDB backup .

[Warning] From: OB2BAR_POSTGRES_BAR@<hostname> "DPIDB" Time: 2018/02/09 19:02:20
A non-essential file cannot be found, backup continues

According to debugs , the file is pgstat.tmp that is created by the Statistics Collector of Postgres .

[ 4] 2018-02-09 19:02:20.792 ("/integ/bar2/ob2dma.c $Rev: 48111 $ $Date:: 2015-05-05 10:51:39":890)
[ 4] [MARK 2] in OB2_StatFile:890
Code: 1026 SystemErr: [2] The system cannot find the file specified.
Info: E:/Shares/DPIDB$/server/db80/pg/pg_stat_tmp/pgstat.tmp

Design details
Because it is hard to confirm what kind of files could not be backed up without debugs, it should be reasonable to exclude pgstat.tmp to reduce the message occurrences .
To exclude pgstat.tmp file during IDB backup , an implementation is needed in OB2BAR_POSTGRES_BAR .
The Statistics Collector can be disabled by modifying postgresql.conf file .

NOTE : I have duplicated this request from QCCR2A79020 as this is the new place to submit ERs .

Micro Focus Contributor
Micro Focus Contributor
Status changed to: Waiting for Votes
Micro Focus Expert
Micro Focus Expert
Status changed to: Declined


based on the number of votes we see this request is not supported by enough interest and is not considered for integration. It is therefore declined.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.