Build a clearer workflow for MarkLogic: reverse engineer existing schemas into interactive ER diagrams, model changes visually, and generate reviewed SQL scripts before deployment.
DbSchema is built for visual modeling, schema documentation, and deployment. Keep an offline model in Git, collaborate across teams, and publish documentation that developers, analysts, and stakeholders can navigate in minutes.
Download DbSchema See MarkLogic Features Download MarkLogic JDBC Driver · All drivers
Get to your first MarkLogic schema diagram in minutes. No account, no credit card.
Download the installer for Windows, macOS, or Linux and launch DbSchema. No signup required.
Reverse engineer an existing MarkLogic database or open a sample model to explore tables, relationships, and indexes.
Edit schema visually, generate documentation, and prepare reviewed migration scripts for safer releases.
MarkLogic is an enterprise multi-model database that unifies document storage, full-text search, RDF triple store graph queries, and relational-style row access through the Optic API in a single platform. Storage is organized into forests — physical on-disk partitions that hold document fragments — which are attached to named databases. Applications connect to databases through HTTP Application Servers, each configured with a port, authentication scheme, and default query evaluator (XQuery or JavaScript). DbSchema connects to MarkLogic via the MarkLogic XCC connector and introspects the row-view schema exposed by the Optic API, rendering the TDE (Template-Driven Extraction) view definitions as schema diagrams. This gives teams a visual representation of the relational projection layered over MarkLogic's document content.
Download DbSchema Free See MarkLogic Features
MarkLogic's Optic API exposes a SQL-compatible interface over TDE views, allowing standard
SELECT, JOIN, and aggregation queries to be executed against document
content that has been projected into a relational schema via TDE templates. DbSchema's SQL editor
connects over the Optic SQL endpoint and provides auto-completion for TDE view names and column names,
making it straightforward to write queries that join projected document fields without learning
XQuery. For users working with MarkLogic's SPARQL graph queries, the editor also supports submitting
SPARQL statements against the configured triple store, enabling exploration of RDF triples alongside
tabular Optic queries in the same session.
The DbSchema data explorer lets you browse rows from MarkLogic TDE views interactively, applying filter and sort operations that translate to Optic API row queries under the hood. This provides a familiar relational browsing experience over what is fundamentally a document store, making it easy for data engineers to validate that TDE templates are projecting the correct fields from the underlying JSON or XML documents. For bitemporal MarkLogic databases, the explorer surfaces the system and valid time columns exposed by the bitemporal template, allowing time-travel queries to be executed directly from the data explorer interface.
MarkLogic's connector setup is a little more involved than a typical JDBC hookup, since the driver and TDE templates need to be in place first.
com.marklogic.xcc.spi.XccDriver).8000 by default — together
with the target database name; DbSchema forms the URL
jdbc:marklogic://localhost:8000/Documents (substituting your own database for
Documents).For HTTPS-enabled application servers, point the connection at the HTTPS listener port and append the relevant SSL parameters. DbSchema can only introspect schema objects once at least one TDE (Template-Driven Extraction) template has been deployed to the target database.
Curious what your MarkLogic TDE views look like as a diagram? Download DbSchema and reveal the relational projection behind your document content without writing an Optic query first.
Teams working with MarkLogic often use these engines too. Explore dedicated guides and JDBC setup for each.