A tool for detecting potential downtime during PostgreSQL schema modifications.
-
Parses an SQL query to identify
AccessExclusiveLock
andShareLock
locks, which block concurrent queries on the affected table. -
Retrieves the size of the locked tables.
-
If a table exceeds a certain size threshold, downtime is likely.
- Add native support for Django and Alembic.
- Enhance the query parser with improved accuracy and comprehensive test coverage.
- Expand downtime estimation by considering cache, dead tuples, and other factors beyond table size.