Lakebase migration assessment checks
This feature is in Beta.
When you create a migration, Lakebase assesses the source PostgreSQL database before it copies any data. The assessment catches compatibility problems early, so you fix them on the source before the copy runs instead of discovering them partway through.
This page is a reference for every check: what it verifies, what each result means, and how to fix a source that doesn't pass. To run an assessment and act on its results, see Review the assessment.
Some checks run one time for the source server. Others run for each database in the migration, and their results name the database they apply to.
Check verdicts
Each check returns one of the following verdicts. The Severity column of the assessment results in the Lakebase App shows the verdict, and the API returns it in each check's verdict field.
Verdict | API value | Effect |
|---|---|---|
Pass |
| The check found no issue. |
Warning |
| The check found something to review. Warnings don't block the migration, but you must acknowledge them before you start. |
Blocker |
| The source needs a change. Fix the issue on the source, and then re-run the assessment. |
Unsupported |
| The source uses something that migrations don't support, such as an event trigger, or a source database is larger than 500 GB. Change the source, and then re-run the assessment. |
Error |
| The check couldn't complete, for example because Lakebase couldn't connect to the source database. Fix the cause, and then re-run the assessment. |
Blocker, Unsupported, and Error results block the migration, and the API sets blocks_migration to true for them. The blockers count on the migration's Overview tab includes all three. You can acknowledge warnings only when every check returns Pass or Warning, and you acknowledge all of the warnings together.
Checks by category
Assessment checks are grouped by the category that the Lakebase App shows in the Type column. In the following tables, Server means that the check runs one time for the source server, and Each database means that it runs for each source database in the migration. The ID matches the check_id field that the API returns.
Connectivity and permissions
Check (ID) | Runs for | What it checks | If it doesn't pass |
|---|---|---|---|
Source password login ( | Server | The role in the Unity Catalog connection can log in, and its password hasn't expired. | Blocker. Update the connection to use a role that can log in, and then re-run the assessment. |
Database connectability ( | Each database | Lakebase can connect to the source database and run a query. | Error. Check the database name, the network path to the source, and the credentials in the connection, and then re-run the assessment. |
Instance inspection access ( | Server | The role is a superuser, or it's a member of | Blocker. Grant the role |
Schema data read access ( | Each database | The role has | Blocker. Grant |
PostgreSQL and replication
Check (ID) | Runs for | What it checks | If it doesn't pass |
|---|---|---|---|
Postgres version support ( | Server | The source runs PostgreSQL 14, 15, 16, 17, or 18. | Unsupported. Use a source that runs a supported version. |
Size and workload
Check (ID) | Runs for | What it checks | If it doesn't pass |
|---|---|---|---|
Database size ( | Each database | The database is 500 GB (500,000,000,000 bytes) or smaller. The size includes indexes. | Unsupported for a database larger than 500 GB. Reduce the source database to 500 GB or less, and then re-run the assessment. |
Table load size risk ( | Each database | The size of the largest table, partition, or materialized view. | Warning for a large table. Plan for a longer data copy before you start. |
Source egress throughput ( | Server | The transfer rate from the source to Lakebase, measured by streaming a small amount of generated data. The check doesn't read your tables. | Warning for a low rate. Check the source's network egress limits and the network path to the source. |
Database compatibility
Check (ID) | Runs for | What it checks | If it doesn't pass |
|---|---|---|---|
Encoding compatibility ( | Each database | The database encoding is | Blocker. Recreate the source database with |
Locale compatibility ( | Each database | The database's collation and character type are | Warning. Review sorting and comparison behavior that depends on the locale. |
Collation compatibility ( | Each database | Columns with a non-default collation use | Warning. Move the affected columns to the database default collation or to a supported collation. |
Extension version compatibility ( | Each database | Whether the database has extensions on the supported list, other than | Warning. Review version-specific extension behavior. |
Extension behavior compatibility ( | Each database | Whether the database has extensions that aren't on the supported list. The migration doesn't install these extensions on the target. | Warning. Review application behavior that depends on these extensions, or remove them from the source. |
Schema relation compatibility ( | Each database | Whether the database has foreign tables. | Unsupported. Remove the foreign tables from the source database. |
Partitioning compatibility ( | Each database | Whether any tables use legacy inheritance ( | Warning. Review the affected tables, or convert them to declarative partitioning. |
Data type compatibility ( | Each database | Whether table columns use user-defined data types. | Warning. Confirm that each type can be recreated on Lakebase, or replace it with a built-in type. |
Large object usage ( | Each database | Whether the database has large objects. Migrations don't copy large objects. | Blocker. Remove large objects from the source database. |
Custom tablespace usage ( | Each database | Whether any tables, materialized views, or indexes use a tablespace other than | Warning. Acknowledge that tablespace placement isn't kept. |
Generated column compatibility ( | Each database | Whether any tables have stored generated columns. | Warning. Validate the affected columns on the target. |
Routine compatibility ( | Each database | Whether any functions or procedures that aren't part of an extension use a language other than | Blocker. Remove or replace the routines on the source. To keep a routine, recreate it on the target after the migration. |
Trigger compatibility ( | Each database | Whether the database has event triggers. Table triggers don't affect this check. | Unsupported. Remove the event triggers from the source. |
Procedural language compatibility ( | Each database | Whether the database has procedural languages other than | Unsupported. Remove these procedural languages from the source, along with the routines that use them. |
Foreign table inventory ( | Each database | Whether the database has foreign tables. | Unsupported. Remove the foreign tables from the source database. |
Foreign dependency recreatability ( | Each database | Whether the database has foreign servers. | Unsupported. Remove the foreign servers and the objects that depend on them. |
Operational health
Check (ID) | Runs for | What it checks | If it doesn't pass |
|---|---|---|---|
Connection headroom ( | Server | Whether the source has enough free connections for the migration and your existing traffic. | Warning. Increase |
Long transaction risk ( | Server | The age of the oldest open transaction on the source. | Warning for a long-running transaction. Finish or end long-running transactions before you start. |
Lock contention risk ( | Server | Whether any session on the source is blocked by another session. | Warning. Resolve the blocking locks, or re-run the assessment at a quieter time. |
Source health headroom ( | Each database | The shared-buffer cache hit ratio (how often the source serves reads from memory instead of from disk) of the database, sampled over a few seconds. | Warning for a low ratio. Investigate the source workload, or start the migration at a quieter time. |
Any check can also return Error if it can't complete.
Supported source versions and extensions
The source must run PostgreSQL 14, 15, 16, 17, or 18.
The migration installs these extensions on the target at the version that Lakebase provides. For the versions that Lakebase supports, see Postgres extensions.
address_standardizer, address_standardizer_data_us, autoinc, bloom, btree_gin, btree_gist, citext, cube, databricks_auth, dict_int, earthdistance, fuzzystrmatch, hll, hstore, insert_username, intagg, intarray, isn, lakebase_text, lakebase_tokenizer, lakebase_vector, lo, ltree, moddatetime, pg_graphql, pg_hint_plan, pg_jsonschema, pg_prewarm, pg_stat_statements, pg_trgm, pgcrypto, pgrouting, pgrowlocks, pgstattuple, plpgsql, postgis, postgis_raster, postgis_sfcgal, postgis_tiger_geocoder, postgis_topology, refint, seg, tablefunc, tcn, tsm_system_rows, tsm_system_time, unaccent, uuid-ossp, vector, xml2
The migration doesn't install other extensions. The Extension behavior compatibility check reports each one as a warning.
Example
The following example shows part of a get-assessment response with one blocker and one warning. A real response includes a result for every check. Each check's check_id is a string that holds the check ID, and checks that run one time for the source server have no database field.
{
"name": "migrations/my-migration/assessments/1",
"state": "ASSESSMENT_STATE_NEEDS_ACTION",
"checks": [
{
"check_id": "408",
"verdict": "ASSESSMENT_CHECK_VERDICT_ACTION_REQUIRED",
"blocks_migration": true,
"reason": "The source uses PostgreSQL large objects, which are unsupported by Lakebase migration and excluded from snapshot data loads. Remove large-object usage from the source before rerunning assessment and starting migration.",
"database": "app"
},
{
"check_id": "410",
"verdict": "ASSESSMENT_CHECK_VERDICT_WARNING",
"blocks_migration": false,
"reason": "One or more objects use custom tablespaces. Lakebase migrates their contents but cannot preserve source physical tablespace placement. Acknowledge that schema and data loads strip TABLESPACE clauses and objects will land on Lakebase-managed default storage.",
"database": "app"
}
],
"create_time": "2026-11-10T12:00:00Z",
"complete_time": "2026-11-10T12:00:30Z",
"expire_time": "2026-11-11T12:00:30Z"
}