SchemaGate turns a user’s visible schema into a graph—and refuses to expose what they cannot see
Version 1.17.0 adds principal-filtered property graphs and query-log join mining, while keeping inferred context reviewable and calling out what remains unmeasured.
SchemaGate 1.17.0 adds a property-graph representation of database schema context, but the important design choice is not the graph format. The release says the graph is built for one principal: tables, views, columns and concepts that caller may not see are omitted as both nodes and edges. That makes visibility filtering part of context construction rather than a prompt instruction layered on afterward. SchemaGate release notes
Context can now come from the workload
The release can also inspect database statement stores—including pg_stat_statements, MySQL performance_schema, Oracle V$SQL and SQL Server dm_exec_query_stats—or a SQL file to infer relationships. A join observed twice becomes an inferred foreign key only when the far side is a primary key; other relationships are represented as graph edges or common filters. SchemaGate says literals are removed before a statement is read and statement text is not retained. SchemaGate release notes
That is a useful boundary for production NL2SQL systems. Query logs can reveal the joins analysts actually use, including relationships absent from declared foreign keys, but they also contain sensitive values and workload history. Version 1.17.0 makes the learning rule explicit and keeps lower-confidence relationships distinguishable from inferred foreign keys rather than silently rewriting all observed joins into authoritative schema. SchemaGate release notes
The ontology pull is deliberately modest
A new ontology command proposes terms and definitions from comments, view filters and computed columns without calling a model. It is disabled by default for MCP catalogue reads, and the release explicitly says its effect on answers has not been measured. That caveat matters: extracting more metadata is not evidence that generated SQL becomes more accurate. SchemaGate release notes
For Oracle 23ai and later, SchemaGate can generate CREATE PROPERTY GRAPH SQL for review, but does not execute it. The project says it tested the output on Oracle 26ai Free and that withheld columns and hidden tables remained inaccessible through the graph. PostgreSQL is not supported for this path because PostgreSQL 19 release candidate 1 rejected the syntax. SchemaGate release notes
What teams should test
The release expands schemagate certify into a fixed-question golden set covering reflection, selection, visibility, pulled concepts, graph construction, query-log mining and refused queries. The project reports certification on Oracle 26ai Free, PostgreSQL 16, MySQL 8.4, MariaDB 11, SQL Server 2022 and SQLite, with explicit skips where an engine or user lacks a capability. It also now refuses GRAPH_TABLE by name instead of depending on a parser failure that might disappear in a later dependency release. SchemaGate release notes
For adopters, the next test is not whether a graph can be generated. It is whether two principals receive observably different, correctly filtered graphs; whether inferred joins survive workload changes; and whether the unmeasured ontology pull improves execution accuracy without introducing stale business definitions. Version 1.17.0 supplies inspectable mechanisms for those tests, not proof that they will improve every agent.
sources
- SchemaGate v1.17.0 release notesgithub.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026