Lead developers and CTOs: a developer opens a table with forty columns and no comments. Half the names are abbreviations nobody wrote down, and the person who built it left the company eighteen months ago. The developer starts clicking through the schema, testing queries, and asking around on Slack. Forty minutes pass before they write a single line of code.
That 40-minute repeats across every team touching an undocumented database, every week, for as long as the database remains undocumented.
Where the time actually goes
A field study tracked 79 professional developers across seven real projects for 3,244 hours, using software that logged their activity across IDEs, browsers, and documents (Xia et al.).
- 57.6% of developer time was spent on program comprehension: reading and interpreting existing code and structures.
- Only 5% of developer time was spent writing or editing code.
- Comprehension effort ranged from 51.8% to 64% depending on project complexity.
Comprehension is not a side task. It is the core job, most of the time, and a schema with no documentation makes every hour of it slower.
Stripe reached a similar conclusion in its Developer Coefficient survey, conducted with Harris Poll across six countries. Engineers spend 13.5 hours a week on bad code, debugging, and refactoring out of a 41.1-hour average week. That is roughly 58 hours a month per developer. France reported the highest time loss among the surveyed countries, with 20.9 hours a week lost to technical debt. Stripe estimated the global cost of that lost time at roughly $85 billion a year in opportunity cost, and $300 billion in lost GDP from developer inefficiency (Stripe, The Developer Coefficient).
The Stack Overflow Developer Survey 2024 confirms the daily search tax: more than 60% of respondents spend 30 minutes or more a day looking for answers to problems they may have already solved before, with one in four developers spending at least 60 minutes searching. An undocumented database turns “what does this table do?” into exactly that kind of repeated search (Stack Overflow, 2024 Developer Survey insights).
Impact of technical debt on engineering teams
| Metric / scope | Measured impact | Business consequence |
| Daily comprehension | 57.6% of time reading code and schemas | Feature delivery delayed by repeated investigation work |
| Weekly technical debt | 13.5 to 20.9 hours lost per developer per week | 30% to 50% loss in engineering capacity |
| Knowledge loss | 42% of institutional knowledge held by single employee | Onboarding can take up to six months |
| Technology budget loss | 10% to 20% of technology budget consumed by debt | Reduced capacity to launch new products |
Are you looking to eliminate schema archaeology and automate your data dictionary? Discover how SQLInfo documents live schemas automatically.
What happens when the one person who knew leaves
Every database has someone who holds the missing pieces in their head: which column actually gets used, which one is dead weight from a 2019 migration, and which join silently returns duplicates. None of it is written down. All of it lives in one person.
A YouGov survey run for Panopto, covering 1,001 US employees across multiple industries, found that 42% of an organization’s institutional knowledge is unique to a single employee. Colleagues can only recover the remaining 58% of that person’s operational knowledge once they leave (Panopto / YouGov).
- 5.3 hours are lost per week per knowledge worker waiting for information or re-solving existing problems.
- 60% of respondents say getting essential information from colleagues is difficult or nearly impossible.
- New hires can take up to six months to reach full productivity.
- Panopto estimated that inefficient knowledge sharing costs a large US business $47 million per year.
A documented database will not fix onboarding on its own, but it removes one of the biggest blockers: a new developer who can read the schema stops needing to interrupt colleagues on Slack just to understand what a table or column means.
The real cost is compounding, not one-time
None of this shows up as a single line item. It shows up as a developer spending an extra hour a week re-deriving what a table does, a new hire taking three extra weeks to ship their first real feature, or a migration project that starts with two days of archaeology before anyone touches the actual work.
McKinsey’s survey of CIOs found that technical debt eats 10% to 20% of the technology budget meant for new products. Debt can also represent 20% to 40% of the value of an entire tech estate before depreciation. The sample is narrow, covering 50 CIOs of large financial-services and technology companies, but the direction is clear: technical debt quietly diverts engineering capacity away from business value (McKinsey, Tech debt: Reclaiming tech equity).
One cloud provider CIO told McKinsey their engineers went from spending 75% of their time “paying the tax” on technical debt down to 25% after a dedicated cleanup effort, freeing up to 50% more engineering time for value-adding work (McKinsey, Breaking technical debt’s vicious cycle).
An undocumented database schema is one specific, fixable slice of that debt. Unlike a legacy monolith, it does not require a rewrite. It requires documenting what already exists.
What a documented database changes
A data dictionary that describes every table, every column, and every relationship removes the guessing that eats developer time. It means a new hire opens the schema and understands it instead of pinging three people on Slack.
- A new hire opens the schema and understands it without interrupting colleagues.
- Every table, column, and relationship is described and kept current.
- “What does this column mean?” stops being a 40-minute investigation.
- The person who built a table can leave without taking the table’s meaning with them.
At SQLInfo, we generate that documentation directly from your live schema and keep it synchronized as tables, columns, and relationships change. The reference stays accurate instead of drifting out of date like a wiki page or a shared spreadsheet.
Take action with SQLInfo
Ready to map your schemas and reduce technical debt in your databases?
When was the last time your team audited your database schema to check how many unmapped or undocumented columns are currently slowing down your sprint velocity?
FAQ
How much time do developers really spend on undocumented databases?
A field study of 79 professional developers found that 57.6% of their time goes to understanding existing code and structures rather than writing new code. An undocumented schema can add directly to that friction.
What is the real cost of technical debt in a company?
Stripe’s Developer Coefficient study estimates the global opportunity cost of technical debt at $85 billion annually. McKinsey separately found that technical debt consumes 10% to 20% of new-product technology budgets.
What happens to database knowledge when a developer leaves?
A YouGov/Panopto survey revealed that 42% of institutional knowledge is unique to a single employee. When that person leaves an undocumented database behind, colleagues can only recover part of that operational knowledge.
Is this specific to large companies, or does it affect SMEs too?
An undocumented schema costs the same guessing time whether it belongs to a ten-person startup or an enterprise team. Smaller teams often feel it more acutely, because they rarely have a backup developer who knows the schema.
What is the fastest way to start documenting a database?
Generate documentation directly from the schema rather than writing it manually. Automated tools like SQLInfo read your live database and produce a dynamic data dictionary that stays accurate as your schema evolves.
Sources
- Xia et al., Measuring Program Comprehension: A Large-Scale Field Study with Professionals — field study of 79 professional developers across seven projects and 3,244 working hours.
- Stripe, The Developer Coefficient — survey on developer productivity, technical debt, bad code, and global economic impact.
- Stack Overflow, Insights from the 2024 Developer Survey — findings on time spent searching for answers, repeated questions, and knowledge silos.
- Panopto / YouGov, Valuing Workplace Knowledge — study on institutional knowledge, onboarding, and productivity loss from unshared knowledge.
- McKinsey, Tech debt: Reclaiming tech equity — CIO survey on technical debt budget impact, technology estate value, and engineering capacity recovery.














