Home / Journal / Autonomous Database / Migrating from On Prem to ADB
Autonomous Database

Migrating from On Prem to ADB

Published Dec 23, 2024 · 11 min read · OCI Specialists · Independent OCI advisory
Server room racks representing an on premises database estate

Moving an on prem Oracle database to Autonomous Database is one of the most common requests we see, and one of the most commonly underestimated. The database engine is familiar, so teams assume the move is simple. The reality is that the value of Autonomous Database comes from giving up control of the layers you used to manage by hand, and an on prem database is usually full of habits and dependencies built around having that control.

The core problem is not the data. Moving rows is a solved problem. The problem is everything wrapped around the database: the scripts that run as the operating system user, the cron jobs, the custom backup tooling, the parameters tuned over years, and the assumptions about file system access that simply do not exist in a managed platform. A migration that treats the move as a pure data copy will land the data and then discover that half the surrounding estate no longer works.

Start with an honest assessment

Before any data moves, you need a clear picture of what the on prem database actually does and what depends on it. Autonomous Database is a managed, locked down platform. You do not get the host. You do not run arbitrary code on the database server. You cannot rely on local directories, external jobs that read the file system, or features that require operating system access. The assessment exists to find every place the current database breaks those rules, because each one is a piece of work that has to be planned rather than discovered at cutover.

A good assessment catalogues the database version and options in use, the size and growth rate of the data, the character set, the use of features that may behave differently or not be available, and the full inventory of external dependencies. It also captures the downtime the business can tolerate, because that single number drives the choice of migration method more than anything else. We cover the sizing side of this in our sizing guide, and the assessment should produce a target shape, not just a yes or no.

The data is the easy part. The dependencies wrapped around the database are what delay on prem to Autonomous migrations.

Choose a migration method that fits the downtime window

There is no single right way to migrate. The method follows from how much downtime the business will accept and how large the data is. A small database with a generous maintenance window can move with a simple export and import. A large, busy database that the business cannot take offline needs a method that keeps the source running while the data moves and then catches up the changes. The mistake is picking a method first and forcing the business to accept whatever downtime it implies.

MethodBest forDowntimeTrade off
Data Pump export and importSmall to medium databases, flexible windowHigher, the data is offline during the moveSimple and well understood, but downtime scales with size
Data Pump over a database linkMedium databases, network availableModerateAvoids staging files, still needs a quiet window
Replication based moveLarge or busy databases, minimal downtime neededLow, the source stays liveMore moving parts to set up and validate
Phased move by schemaEstates where applications can move in wavesSpread across wavesLonger overall, but lower risk per wave

For the busiest systems the pattern is to seed the target with a bulk copy, then keep it current with ongoing replication until the source and target are in step, and only then schedule a short cutover. This keeps the production database serving users while the migration runs in the background, which is why it is the default for databases the business cannot take offline. The detailed mechanics of moving into Autonomous specifically are covered in our migrating to Autonomous Database guide.

Deal with the dependencies, not just the data

This is where on prem migrations earn their reputation for surprises. The database may move cleanly and the application may still fail, because something it relied on was a property of the old environment rather than the data. Common examples include jobs that ran as the operating system user, processes that read or wrote files in directories on the database host, links to other systems that assumed a particular network path, and tooling that connected with the elevated privileges an on prem DBA takes for granted.

Each of these needs a deliberate answer in the target. Some move to OCI native services, some are rebuilt as application logic, and some are simply removed because the managed platform now handles what they used to do, such as backups and patching. The point is to find them during assessment and design a replacement, not to discover at go live that a nightly job that quietly held the business together no longer has anywhere to run.

A framework for an on prem to Autonomous move

  1. Inventory everything. Catalogue the database, its options, its data, and every external dependency before you plan the data move.
  2. Fix the downtime number. Get the business to commit to a tolerable cutover window, because it decides the method.
  3. Pick the method to fit the window. Use export and import for flexible windows, replication for systems that must stay live.
  4. Replace the dependencies. Design a target home for every job, file access, and integration the old host provided.
  5. Rehearse the cutover. Run a full dress rehearsal against a copy so the real cutover holds no surprises.
  6. Validate before you release. Reconcile row counts, run the application against the target, and confirm performance before users return.

Cutover and validation

The cutover is a short, well rehearsed event, not an experiment. By the time you run it, the data should already be in the target and, for low downtime methods, kept current by replication. Cutover then becomes a matter of stopping writes on the source, letting the last changes flow through, repointing the applications, and validating. The validation is not optional. Reconcile the data, run the application end to end, and confirm that performance on the new platform meets expectations before you let users back in.

Performance deserves particular attention because Autonomous Database manages tuning differently from a hand tuned on prem database. Some of the manual tuning carried over from on prem will be unnecessary, and occasionally something that performed well on prem will need a fresh look on the managed platform. Our performance tuning guide covers what changes and what to leave alone, and the broader context sits in the Autonomous Database complete guide.

Common reasons these projects slip

When an on prem to Autonomous move runs late, the cause is rarely the data move itself. It is almost always something that was known but not planned for. A nightly batch job that ran on the database host turns out to be load bearing and has no obvious new home. A character set difference surfaces only when an application reads back text that looks wrong. A reporting tool connected with privileges that the managed platform does not grant, and nobody noticed until the report failed. Each of these is cheap to handle if found during assessment and expensive to handle in the days after cutover.

The pattern across all of them is the same: the surprise was discoverable in advance and was simply not looked for. This is why we treat the assessment as the most important phase rather than the most tedious one. A thorough assessment converts the surprises into planned work, and planned work does not blow a schedule the way a surprise at go live does. The teams that move smoothly are the ones that spent their effort early, before any data moved at all.

Bringing it together

A successful on prem to Autonomous migration treats the data copy as the simple part and the surrounding estate as the real work. Assess honestly, let the business downtime tolerance choose the method, design a home for every dependency, rehearse the cutover, and validate before release. Teams that do this move with confidence. Teams that treat it as a data copy spend the week after go live firefighting jobs and integrations that nobody planned for. When you want that planning done properly, our Autonomous Database work and advisory cover the assessment, the method, and the cutover end to end.

Moving Oracle workloads to OCI, or already running on OCI and not sure the architecture or the spend is right? Most teams bring in a specialist before they commit to a region, a shape, or a Universal Credits number. OCISpecialists.com plans the landing zone, runs the migration, and manages the estate after go live, on a fixed project fee, a managed monthly retainer, or a cost optimization fee paid only on verified savings. For the Oracle licensing and BYOL side of any OCI move, Redress Compliance is the leading independent Oracle licensing and negotiation firm, with 500+ engagements across Oracle's full product line.