Quick revision
The short answer
We build the case on total cost of ownership over five years, not on the licence line alone: today's licences and support against migration effort, retraining, new tooling, managed services and the cost of running both engines during the move. We rank every application by how hard it is to move and how much it saves, start with the cheap and valuable ones, and plan in phases with exit criteria, keeping some systems on the commercial engine if that is cheaper. Even a partial plan is worth money, because it changes the next licence negotiation.
What to remember
In this answer, we saw that a credible business case compares the full five-year cost of staying with the full cost of moving, including dual running and retraining, and that savings arrive late. We ranked applications by difficulty and value so the first wave is cheap and convincing, named risks such as performance, missing features like RAC and Flashback, skills and renewal timing, and planned waves with exit criteria. Finally, we saw that the plan itself has value in the next negotiation, even if some systems never move.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
We build the case on total cost of ownership over five years, not on the licence line alone: today's licences and support against migration effort, retraining, new tooling, managed services and the cost of running both engines during the move. We rank every application by how hard it is to move and how much it saves, start with the cheap and valuable ones, and plan in phases with exit criteria, keeping some systems on the commercial engine if that is cheaper. Even a partial plan is worth money, because it changes the next licence negotiation.
Why this question is asked
A question like this is less about PostgreSQL and more about whether we can turn a technical change into a financial decision that a CFO can trust. Nine million dollars a year sounds like an easy saving, and that is exactly the trap: migrations that are sold as pure savings often run over budget, and then the whole programme loses credibility. Interviewers at this level want to see that we can size the cost honestly, find the parts of the estate that are cheap to move, name the risks with numbers, and still give the business an option that pays off even if we stop halfway. In this answer, we will frame what the CFO is really asking, build the cost model, rank the applications, size the risks, lay out a phased programme and see how the plan becomes leverage with the vendor.
1What the CFO Is Really Asking
When a CFO asks whether to move to PostgreSQL, the real question is whether spending money now will save more money later, at a risk the company can accept. So our answer has to be in the CFO's language: cash out, cash saved, payback period and the chance that it goes wrong. The technology is the means, not the argument.
It also helps to be clear about what we are not promising. We are not promising that every database will move. We are promising a decision process that finds the best mix, with a number attached to each choice. That framing protects us later, when a few hard systems turn out to be better left where they are.
2Building the Total Cost of Ownership
Total cost of ownership, TCO for short, means every cost of running a system over its life, not just the purchase price. On the current side we list licences, annual support (for Oracle, support is typically a fixed percentage of the licence value every year, so check your contracts), the hardware those licences force on us, and the specialist staff and tools tied to the engine.
On the new side we list the one-off migration effort per application, retraining of developers and database administrators, new monitoring, backup and migration tooling, the running cost of PostgreSQL itself (often a managed service such as Amazon RDS, Aurora, Azure Database for PostgreSQL or Cloud SQL), and the cost of dual running: during the move we pay for both engines for each system, often for six to twelve months.
| Line | Stay | Move most systems |
|---|---|---|
| Licences and support, 5 years | 45.0 M | about 15 M (systems that stay) |
| Migration effort | 0 | 8 to 12 M one-off |
| Dual running | 0 | 2 to 3 M |
| Retraining and tooling | 0 | 1 to 2 M |
| PostgreSQL running cost | 0 | 6 to 8 M |
| Five-year total | 45 M | 32 to 40 M |
Notice the shape of the result. In a typical estimate, the first two years cost more than they save, and the savings arrive in years three to five. That is normal, and saying it up front is what makes the CFO believe the later numbers. If we only showed year five, we would be selling, not advising.
3Ranking the Estate by Difficulty and Value
A company paying 9 million a year usually has dozens or hundreds of databases, and they are not equally hard to move. So we build an inventory and score each application on two axes. Difficulty is driven by how much logic lives inside the database: PL/SQL packages on Oracle or T-SQL procedures on SQL Server, triggers, proprietary features such as Oracle RAC or Advanced Queuing, and vendor applications that only certify one engine. Tools such as ora2pg or the AWS Schema Conversion Tool can produce a first estimate of how much code needs rewriting.
Value is how much licence the system actually consumes. Licences are often counted per processor core, so a large clustered system can cost far more than twenty small ones. The useful result is a two-by-two picture: systems that are easy and valuable move first, systems that are hard and cheap may never move, and the rest are scheduled by evidence from the first waves.
| Group | Typical signs | Plan |
|---|---|---|
| Easy, high value | ORM access, little stored code, many cores | Wave 1 |
| Easy, low value | Small, standard SQL | Move when touched anyway |
| Hard, high value | Heavy PL/SQL, RAC, partitioning | Wave 3 after proof |
| Hard, low value | Vendor app certified on one engine | Stay, renegotiate |
In practice this ranking often shows that a large share of applications are plain CRUD services behind an ORM such as Hibernate, using standard SQL. They are cheap to move. That fact alone can change the conversation, because the CFO sees that a third of the saving might be reachable with a fraction of the effort.
4Naming the Risks With Numbers
The first risk is performance regressions. Optimisers differ, and a query that ran in 20 ms on Oracle can take 2 seconds on PostgreSQL until someone adds an index or rewrites it. We reduce this by replaying real workloads against the new engine before cutover and by budgeting tuning time per application.
The second risk is missing features. Oracle RAC, a cluster where several servers share the same database files, has no direct PostgreSQL equivalent; we would design for a primary with standbys instead, which changes the availability story. Oracle Flashback, which lets us query data as it was at an earlier time, has no built-in equivalent either, so we rely on point-in-time recovery or audit tables. We list each feature in use and the replacement for it.
The third risk is skills. Teams who have run Oracle for fifteen years need training and a few experienced PostgreSQL people to lean on. The fourth is timing: licence renewals have fixed dates, and if a migration slips past one, we may have to renew for another year or more at full price. So the schedule is planned backwards from the renewal calendar.
5A Phased Programme With Exit Criteria
We would never ask for the whole budget at once. Instead, the programme runs in waves, and each wave has an exit criterion agreed in advance: for example, the first wave of eight applications must finish within 20 percent of its estimate, with no severe incidents in the first month. If the criterion is met, the next wave is funded. If not, we stop and keep what we have saved so far.
- Inventory and score the estatedifficulty, value, renewal dates
- Run wave 1 on easy, valuable systemsearly savings, real cost data
- Did the wave meet its exit criteria?YesFund the next waveNoStop and keep the savings
- Re-estimate the remaining wavesusing measured effort, not guesses
- Decide what stays commercialand renegotiate those licences
5 steps in order. Play them, or step through them one at a time.
The option to stop is a feature, not a weakness. It caps the downside for the CFO. It also means some systems will stay on the commercial engine for good, which is a perfectly good outcome if moving them would cost more than it saves.
6Using the Plan in the Licence Negotiation
Here is the part that often pays for the whole exercise. Vendors price renewals partly on how likely the customer is to leave. A credible, funded migration plan, with the first systems already running on PostgreSQL, changes that calculation. Companies in this position regularly negotiate lower support costs, fewer cores licensed, or more flexible terms for the systems that remain.
So even if only half the estate moves, the business case should include the expected effect on the next renewal. We should be careful not to bluff, though. The plan has to be real, because vendors can tell the difference between a slide and a running wave.
7Follow-up questions
How long would you expect such a programme to take?
For an estate of this size, two to four years is realistic. The first wave can finish in six to nine months and gives us real effort numbers. Later waves usually go faster because the team has tooling, patterns for converting stored code and a playbook for cutover. The schedule should be anchored to renewal dates, so that each wave lets us drop licences at the next renewal instead of paying for another full year.
What if a vendor application only supports Oracle or SQL Server?
Then that system usually stays, at least until the vendor certifies another engine or we replace the application. We do not run unsupported configurations of business-critical vendor software to save licence money, because the cost of losing vendor support in an incident is far higher. We keep those systems on a smaller, renegotiated licence footprint.
How do you prevent the savings from evaporating into cloud costs?
We budget PostgreSQL running costs explicitly in the TCO, including managed-service premiums, storage, backups and replicas, and we track actual spend per migrated system against the estimate after each wave. Right-sizing instances after migration often saves another 20 to 30 percent, because the old servers were sized for licence reasons rather than for load.
8Conclusion
In this answer, we saw that a credible business case compares the full five-year cost of staying with the full cost of moving, including dual running and retraining, and that savings arrive late. We ranked applications by difficulty and value so the first wave is cheap and convincing, named risks such as performance, missing features like RAC and Flashback, skills and renewal timing, and planned waves with exit criteria. Finally, we saw that the plan itself has value in the next negotiation, even if some systems never move.
Open with
I would start by reframing the question as an investment decision: what do we spend, what do we save, when, and with what risk. I would build a five-year total cost of ownership for both paths.
Then, if they want more
Staying means licences and support. Moving means migration effort per application, retraining, new tooling, the running cost of PostgreSQL, usually as a managed service, and the cost of running both engines during each cutover. I would be honest that the first two years cost more than they save.
Then I would inventory the estate and score each application on difficulty, meaning how much PL/SQL or T-SQL, triggers and proprietary features like RAC it uses, and on value, meaning how many licensed cores it consumes. Usually a big share are ORM-based services that are cheap to move, so they go in wave one.
I would list the risks with mitigations: performance regressions, which we catch by replaying real workloads; missing features like RAC and Flashback; skill gaps; and renewal dates, which drive the schedule.
The programme runs in waves with exit criteria agreed with the CFO, so we can stop at any point and keep what we saved, and some systems may stay commercial for good. Finally, I would use the funded plan and the first migrated systems in the next licence negotiation, because a credible exit lowers the price of what stays.
About this answer
- Last updated
- 12 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
- Official documentation
- PostgreSQL documentation, MySQL reference manual
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "Your company spends 9 million dollars a year on commercial database licences. The CFO...": https://scrivio-interview-library.netlify.app/databases/oracle-and-sql-server/81349976cf/