Display a warning when reaching physical limits of max table size / sequence IDs

Description

When a table reaches close to 2 billion IDs in use (which could happen after a few years of use), display a warning in the administration.

Without any information:

Upon reaching 2% of the max, we just display the number:

Upon reaching 20% of the max, we display an error:

Upon reaching 50% of the max, we display "Danger" to trigger a sense of urgency:

Environment

None

Observations

None
Resolved

Assignee

Unassigned

Reporter

Adrien Ragot (Play SQL / Requirement Yogi)

Labels

None

Participants

None

Fix versions

Priority

Matter of months