Database modernization

Move away from SQL Server,
Oracle, and DB2.

vFunction migrates the database to PostgreSQL as part of modernizing a large Java or .NET application, driven by which tables and procedures the application was observed to use.

The database is no longer a reason to wait.

The cost of modernizing has never been lower. The database, one of the slowest and most manual parts, now moves inside the same workflow.

A schema nobody audited.

Twenty years of tables, views, and columns, with no record of which ones the application still reads.

Every query, rewritten.

A new SQL dialect means touching every query in the application by hand, and hoping nothing changed.

Logic buried in procedures.

Business rules in T-SQL or PL/SQL that no specification, test, or AI coding tool can see.

What moves with the application.

Enable one option in the modernization configuration and the database comes along. Sources: SQL Server, Oracle, and DB2. Target: PostgreSQL.

Schema and views

Converted to PostgreSQL, views included, because the application’s code depends on them.

SQL dialect

Converted in every query the application makes, where a hand migration spends most of its hours.

Connection pools and drivers

Updated for PostgreSQL as part of the same change.

ORM

Switched to Hibernate for Java or EF Core for .NET.

Stored procedures

Converted to .NET or Java code, where tests and AI coding tools can reach them.

Coverage report

After the move, a per-database list of migrated tables never exercised during measurement.

How the database step works.

vFunction's forward-deployed engineers run the process with your team until your team can run it alone.

1. See the real footprint.

From the Modernization tab, see every database and table the application relies on: what its connection strings declare, combined with what was observed as it ran.

2. Migrate.

Enable “Migrate database to Postgres” for the application. Schema and dialect convert, pools and drivers update, the ORM switches, stored procedures become code.

3. Validate coverage.

A per-database report lists migrated tables that were never exercised. Your team decides what to keep, with evidence, before the source database is retired.

4. Prove the change.

Integration tests generated from production behavior run against the migrated application, so the change is proven before the next one begins.

Migrate the database the application actually uses.

A database tool converts everything, because it has no basis for doing anything else. vFunction has watched the application run, so the migration starts from evidence.

Tables the code reads.

Connection strings say which databases exist. Observation says which tables carry real traffic. The migration view shows both, together.

Procedures the code calls.

vFunction records stored-procedure calls as it watches the application, so the team knows which procedures matter before converting any.

What was never touched.

Unobserved can mean unused, unmeasured, or read by something else. The report lists them; your team decides, with evidence rather than a guess.

Business logic comes out of the database.

Logic in stored procedures is outside the application, where specifications, tests, and AI coding tools can't reach it. Converted to .NET or Java, it's inside.

T-SQL to .NET

SQL Server procedures become .NET code in the application.

PL/SQL to .NET or Java

Oracle procedures become code in whichever stack the application runs on.

DB2 procedures to Java

DB2 procedures become Java code in the application.

Customer example

From SQL Server to PostgreSQL on AWS.

Accadia ran a 23-year-old .NET Framework application, each customer on its own local SQL Server. Two earlier modernization attempts had stalled within weeks.

With vFunction, AWS Transform, and Cloudride, the application was refactored and replatformed to .NET 10, Linux, and PostgreSQL on AWS. The schema and views moved with the vFunction migration; stored procedures were rewritten into C#. Before any unobserved table was retired, the team established why it was unobserved.

Full-Stack Windows Modernization

One step in modernizing the whole stack on AWS.

For .NET applications, the database step runs alongside the .NET 10 upgrade, which AWS Transform handles within the same workflow. For an application on AWS or moving to AWS, AWS funds the work through its ISV tooling program.

Full-Stack Windows Modernization →

vFunction and AWS on full-stack Windows modernization →

“Together, AWS and vFunction provide an end-to-end .NET modernization solution that enables customers to move from legacy Windows applications to modern, cloud-native architectures faster and with less risk."

Rafael Reyes

AWS .NET Modernization Leader

What stays with your team.

vFunction produces the migration and the evidence. The decisions that need someone who knows the application stay where they belong.

Moving the data.

vFunction produces the schema the data lands in. The move itself runs on your database tooling, on your schedule.

The target data model.

vFunction generates the migration and the observation reports. Your architects decide the architecture, as they do for the application.

What to retire.

Unobserved tables are questions for your team, answered with the report in hand, not deletions.

The application around it.

The database step runs inside modernizing a large Java or .NET application. It is not a standalone migration tool.

Tell us about the application.

Java or .NET, roughly how large, which database it runs on. We come back with what the database step would cover for yours.

A person replies, not a scheduler.

Questions about the database step.

FAQ

Which databases does vFunction migrate?

Sources: SQL Server, Oracle, and DB2. Target: PostgreSQL. Migration runs inside the workflow for a large Java or .NET application.

Does vFunction move the data?

No. It converts the schema, views, SQL dialect, drivers, ORM, and stored procedures. Moving the data itself is done with your database tooling.

Can we migrate only the database?

No. The database step runs inside modernizing the application, because knowing what the application uses is what makes the migration accurate.

What happens to stored procedures?

They are converted to code, T-SQL to .NET and PL/SQL to .NET or Java, where tests and AI coding tools can reach them.

Does vFunction find unused tables?

It reports migrated tables that were never exercised during measurement. Whether a table is unused is your team's call, made with that evidence.

Which ORM does the application end up on?

Hibernate for Java, EF Core for .NET. Connection pools and drivers are updated in the same step.

How long does the database step take?

It depends on the application. Tell us about it and we come back with what the step covers for yours.

Who runs it?

vFunction's forward-deployed engineers run the process with your team until your team can run it alone.

Keep learning.

What’s new in vFunction 5.0 →

How a vFunction engagement works →

The cost of waiting →

What vFunction produces from the running application →

About vFunction. vFunction is a modernization platform for large existing Java and .NET applications. It gives AI coding tools the context and guardrails they need to refactor, rewrite, and modernize existing systems with speed, accuracy, and control. Built for applications past roughly 500,000 lines of code or 1,000 classes.

The database is no longer a reason to wait.

Tell us about the application. A person replies, not a scheduler.