PolyGres
← Back to home — PolyAdvisor plans the move to Postgres. PolyWire runs and governs workloads on Postgres. PolyAdvisor tells you how hard moving to Postgres will be; PolyWire keeps your application running while you do it.
PolyAdvisor
Tool for moving off Oracle/MySQL/MariaDB/SQL Server onto Postgres: assess how hard the migration is, then bridge your existing application to Postgres while you do it.
Two ways to get an assessment#
- Connect a databaseA read-only connection profiles the real schema, feature usage, and query workload directly — no data leaves your database, only metadata and query statistics. Deterministic: run it twice, get the same score.
- Upload a performance reportDrop in an Oracle AWR report, a MySQL performance report, or a SQL Server DMV/Query Store export, and an LLM reads it for you. A genuinely different kind of signal than a live connection — labeled as such everywhere it shows up, never presented as equivalent.
What you get#
- Migration difficulty score and tierReproducible and rules-based — run it twice against the same database, get the same score and the same itemized breakdown behind it.
- Feature inventoryPL/SQL packages, triggers, procedures, partitioning, database links, scheduled jobs, and more, each weighted by real migration cost.
- Schema, workload, and parameter browsingDrill into any table, view, procedure, or function's real definition; a captured-query-workload summary (top SQL by cost, executions, buffer gets); and the source database's full configuration parameter list, filterable — all read-only, all from the same connection.
- Downloadable findings report (PDF)Generated live from the current scan, built for sharing with a stakeholder who'll never open the app.
- Postgres sizing recommendationvCPUs, memory, storage, and IOPS from a live connection's schema size and captured workload — or from an uploaded report's signals — with the caveats and the reasoning behind every number spelled out, not just the numbers themselves.
- PL/SQL summarization (Oracle sources)An LLM explains what a package or procedure actually does in plain English, with an optional second-opinion "judge" model for a review pass — advisory only, layered on top of the rules-based score, never replacing it.
Where PolyAdvisor is still early: saved connection credentials are stored as-is today — encryption at rest is planned but not yet built, so treat this like any other tool you'd point at a database with a password in a config file. There's a single shared admin account, no per-user roles or SSO yet. Worth knowing before you point it at anything you wouldn't otherwise put in a plaintext config.
Quick start:
docker run -p 8090:8090 \
-v polyadvisor-data:/data \
ghcr.io/polygres26/polyadvisor:latest
Connecting, exploring, and reviewing PL/SQL with an LLM's help#
A connection is a JDBC URL, a schema/user, and a credential — plain password today, or a reference into Vault or CyberArk if you'd rather not store the secret in PolyAdvisor at all. Once it's saved, Objects lists everything that user can see, grouped by type and (for a multi-schema connection) owner-qualified so a package in one schema is never confused for one in another. Selecting a routine shows its real source, pulled live from the database, not a cached copy.
What the LLM step actually does, precisely: select a package, procedure, or
function and PolyAdvisor can ask an LLM to explain it — a plain-English summary of what
it does, a bullet list of the specific constructs that are non-trivial to port to
Postgres (cursor locking, DBMS_OUTPUT, autonomous transactions, and the
like), and a trivial/moderate/substantial effort estimate with its reasoning. This is a
reviewer's aid, not a code generator — it does not emit PL/pgSQL, and nothing it produces
feeds back into the deterministic score above. Runs entirely local by default (no API
key, nothing leaves the machine) against a small on-box model, or against an external
provider if you configure one on the LLM page.
FOR UPDATE loop, DBMS_OUTPUT, exception handling) and the LLM's live output below it — a summary, the specific constructs that need manual attention when porting to Postgres, and an effort estimate. Explanation and risk-flagging, not automated translation.Admin console#