Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCTRb-0008FF-Ni for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Feb 2014 12:25:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WCTRa-0003pQ-HJ for pgsql-bugs@arkaria.postgresql.org; Sun, 09 Feb 2014 12:25:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCTRZ-0003pJ-Km for pgsql-bugs@postgresql.org; Sun, 09 Feb 2014 12:25:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WCTRW-0003L0-QX for pgsql-bugs@postgresql.org; Sun, 09 Feb 2014 12:25:05 +0000 MIME-Version: 1.0 Subject: BUG #9161: wal_writer_delay is limited to 10s To: pgsql-bugs@postgresql.org From: linuxhippy@gmail.com Date: Sun, 09 Feb 2014 12:24:04 +0000 Message-ID: <20140209122404.26449.49425@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 9161 Logged by: Clemens Eisserer Email address: linuxhippy@gmail.com PostgreSQL version: 9.2.6 Operating system: Linux Description: It seems wal_writer_delay is limited to 10s without any technical reason. I am using postgresql in an embedded system and writing every 10s burns flash at an amazing rate (a 32GB SDHC card survived 4 days with only a few GB written) - I've now switched from ext4 to nilfs2 which is able to distribute writes more evenly - but I am still not confident this setup would last longer than a few weeks/months. A wal_writer_delay of arround ~1h would be a lot more efficient and solve this issue. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs