Postgresql 9.0.23 - checkpoint delays - Mailing list pgsql-admin

From Bryan Ward
Subject Postgresql 9.0.23 - checkpoint delays
Date
Msg-id 557921E44EEBA849A3D17F95A63D16E283344C10@GTEX1.globitech.com
Whole thread Raw
List pgsql-admin

Unfortunately, we cannot upgrade Postgresql at this time.

 

We are having delays on our database checkpoint writes of up to 300 seconds. The delays occur only after we delete files from archwal filesystem. We run a script to remove the files all at one time.(up to 3000 files) The command is “find /u04/pgprod/mesprod/9.0/archwal -mtime +3 -exec rm -f {} \;” The other checkpoints occur in milliseconds.

 

Our Solaris 10 support has recommended changing the zfs filesystem parameter from “primarycache = all” to “primarycache = metadata” since we are using a EMC VNX-5400 SAN as a data store. It is believed that the zfs caching from the delete is delaying the acknowledgement from the VNX or the zfs filesystem when the writes occur.

 

Are there any adverse issues for postgresql?

 

Will this resolve the issue with the checkpoint delays?

 

Will there be any impact to the database specifically how the data is written using fsync?

 

Thanks and regards,

 

Bryan Ward

Globitech Inc.

 

 

pgsql-admin by date:

Previous
From: koff10
Date:
Subject: Re: upsert example about postgres9.5
Next
From: Scott Marlowe
Date:
Subject: Re: [TIPS] Tuning PostgreSQL 9.2