liveBook · Manning

Technical debt

As explained in PostgreSQL Mistakes and How to Avoid Them

Technical debt is the accumulated cost of delaying or choosing expedient implementations that make future changes or maintenance more difficult.

Technical debt accumulates when rapid development defers planning for scalability, performance, and maintainability, making future database changes and operations harder. section 11.2

Reduce technical debt by acting before predictable database problems escalate:

  • Examine usage patterns to find anomalies, inefficiencies, and access patterns that could become bottlenecks. section 11.2
  • Test proposed changes in a staging environment that mirrors production, then roll them out with time to spare. section 11.2
  • Use monitoring, alerting, backup, high-availability, and statistics-analysis tools to identify problems early. section 11.2
  • Combine code reviews, documentation, automation, knowledge sharing, and continuous learning to sustain preventive practice. section 11.5

Inherited database

Prioritize the largest pain points instead of attempting an immediate full redesign. Inspect the schema, analyze data, monitor performance, document findings and changes, automate repeatable work, and improve the system incrementally. section 11.5

How PostgreSQL Mistakes and How to Avoid Them covers it

How deep it goes
Explains preventive practices and inherited-database triage, but does not provide implementation-specific SQL or configuration examples.
Examples
Uses future bottleneck analysis, production-like staging, ecosystem tools, code reviews, and inherited-database assessment as practical examples.
What you can do after
Apply preventive planning, diagnosis, staged changes, monitoring, and incremental improvement to reduce PostgreSQL technical debt.
How it connects
Connects technical debt with scalability, performance, maintainability, monitoring, code reviews, preventive maintenance, and database design.

Also explained in

Compare how 10 books explain technical debt →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of PostgreSQL Mistakes and How to Avoid Them. The section links point to the parts of the book it draws on.