Re: WAL Rate Limiting - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: WAL Rate Limiting
Date
Msg-id 52D94CB2.9060205@vmware.com
Whole thread Raw
In response to Re: WAL Rate Limiting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WAL Rate Limiting  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
It occurs to me that this is very similar to the method I proposed in 
June to enforce a hard limit on WAL usage, to avoid PANIC caused by 
running out of disk space when writing WAL:

http://www.postgresql.org/message-id/51B095FE.6050106@vmware.com

Enforcing a global limit needs more book-keeping than rate limiting 
individual sesssions. But I'm hoping that the CHECK_WAL_BUDGET() calls 
could be used for both purposes.

- Heikki



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: WAL Rate Limiting
Next
From: Heikki Linnakangas
Date:
Subject: Re: WAL Rate Limiting