CoraDB built-in app

CoraDB WebSQL

The SQL client for CoraDB, in your browser.

An enhanced web version of corasql, the command-line tool built into CoraDB.
Define connections, browse the schema, write SQL and graph queries, and work with the results in an editable grid, without installing anything.

websql.coradb.ai
CoraDB WebSQL: database object tree on the left, SQL editor tabs and a results grid on the right
SQL + graphrelational and MATCH graph queries in one editor
4 viewsgrid, chart, query plan and trace for every result
No installruns in any modern browser

What you can do with WebSQL

websql.coradb.ai
WebSQL main window: object tree, SQL editor with a three-table join, and a results grid with 11,179 rows
01

Browse, query, edit

The tree loads tables, nodes, edges, views and the system catalog on demand, with columns, keys, indexes and references.
Write SQL in a syntax-highlighting, multi-tab editor and page through results held in a server-side cursor.

  • Updatable grid: edit values, add and delete rows on single-table results
  • Per-column filters, sorting and auto-sized columns
  • Ctrl+Enter runs the statement under the caret
websql.coradb.ai
Query builder: tables product, order_items, orders and customer joined in a diagram, with the generated SELECT below
02

Visual query builder

Pick tables from a live diagram of the schema, tick the columns you want and set criteria, sort and grouping.
WebSQL writes the SQL, and can test that the query returns data before you use it.

  • Joins drawn from the foreign keys
  • Aliases, aggregates, grouping and criteria per column
  • Copy the generated SQL or send it to the editor
websql.coradb.ai
A clustered column chart of quantity by company name, built from a query result
03

From a result to a chart

Turn any result set into a chart without leaving the editor: choose the chart type, the categories and the values, and switch back to the grid at any time.

  • Column, clustered and other chart types
  • Pick rows, categories and value columns
  • Charts are built from the rows already loaded
websql.coradb.ai
Execution trace of a join: nested SCAN, btree and lookup steps with timings, the slowest step marked in red
04

See what the engine did

Show the query plan or a step-by-step execution trace for a statement.
The trace times every scan, lookup and join, shows rows read through each index, and marks the slowest step.

  • Query plan and execution trace in their own result tabs
  • Timings, fetches and rows per step
  • Slowest step highlighted
websql.coradb.ai
Right-click menu on a table with Generate SQL, SHOW, Health check, Find duplicates and Export, next to a query plan
05

Everything one right-click away

Right-click a table, view, node or edge to generate SELECT, INSERT, UPDATE, DELETE or DDL statements, run SHOW commands, check health, find duplicates, export, or update statistics.

  • Generated SQL pasted straight into the editor
  • SHOW COLUMNS, INDEX, CREATE TABLE and heap / index details
  • Edit definition, comment, change owner
websql.coradb.ai
Dashboard for the e-commerce database: counts of tables, nodes, edges and records, buffer hit rate 100%, free space 81.8%
06

Database dashboard

One screen with the state of the database: tables, nodes, edges, records, sessions, buffer hit rate, dirty pages and free space, plus versions, connection settings, object counts and the largest tables.

  • Auto-refresh every few seconds
  • Connected users and their sessions
  • Largest objects by record count
websql.coradb.ai
Sessions and locks monitor listing four active transactions with user, host, program and isolation level
07

Sessions and locks

Watch the transactions, lock waits and threads of a connection live, with the user, host, program and isolation level of each session.

  • Transactions, lock waits and threads tabs
  • Auto-refresh
  • Spot a blocked session at a glance
websql.coradb.ai
Query history: SQL statements with last run time, run count and OK or Failed result
08

Query history

Every statement you run is kept, with when it last ran, how many times, and whether it succeeded.
Search it, filter by connection, re-run a query, send it back to the editor or save the history to a file.

  • Search and filter by connection
  • OK / Failed status per query
  • Export to CSV

App manual

The WebSQL manual covers connections, the database tree, the SQL editor, results, the query builder, diagrams, batch scripts, export and import, settings and keyboard shortcuts.

websql.coradb.ai
The CoraDB WebSQL manual: navigation on the left, the Connections chapter on the right

Getting access

The online version of CoraDB WebSQL at websql.coradb.ai is available on request.
To get access, ask for it at contact@coradb.ai.

  1. Write to contact@coradb.ai with your name, your company and what you would like to try.
  2. We reply with your access details.
  3. Open the app in your browser and connect to your CoraDB database, or to one of the sample databases.