Skip to content

DB size quota enforcement (PR available) #977

@dstockton

Description

@dstockton

Would you be open to receiving a PR for quota (DB size) enforcement?
This adds the ability to switch connections into a delete & read-only (DELETE/DROP/VACUUM/etc) mode. Useful for several cases such as:

  • preventing a single tenant filling disk space on a shared server
  • serverless postgres offerings - especially where you want to limit your (cost) exposure
  • scenarios where you don't have full administrative control of the DB server so can't (for example) use filesystem or postgres extension based quotas

I've been using this:
https://github.com/pgdogdev/pgdog/compare/main...dstockton:pgdog:feat/quota-enforcement?expand=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions