Skip to main content

Handy Database Tool: Features

A closer look at Handy Database Tool: a quiet monitor on every page, the SQL Inspector with six tools in one window, and Joomla permissions, checked on the server, in front of all of it. Every licence includes everything on this page.

Watching the components you choose

Pick the components you're working on from the list of installed ones, or watch them all. For each query the tool records the SQL, when it ran, the component and the extension behind it, how long it took, the rows it touched, whether it succeeded, its type and tables, and the values bound into it.

Queries are traced through the code that ran them; anything that can't be traced honestly says “Unknown”. Only your own page requests are captured, into your own buffer, and visitors are never monitored.

The round icon sits in a corner of the screen (below the toolbar in the administrator, so it covers nothing) and counts the queries of the current page. Its popup lists the recent ones; click one to open it in the SQL Inspector.

The floating database icon of Handy Database Tool and its popup listing the SQL queries of the current administrator page
The icon and its popup

Reading a query

The Query Details tab has all captured queries with filters for text, table, component, type, status, time and date, and shows the selected one formatted and highlighted with everything that was recorded about it.

Copy it, open it in the SQL Editor with its values written in, or click one of its tables to look at the data.

The SQL Inspector, Query Details tab: captured queries on the left, the selected query formatted with component, time, rows and tables
Query details

Running your own SQL

The SQL Editor highlights and formats your SQL and runs it with Ctrl + Enter. Results come back in a paged grid with the affected rows, timings and any database error, ready to export as CSV. Joomla's #__ prefix is replaced for you.

What you're allowed to run depends on your permissions: read-only SQL, SQL that changes data, or SQL that changes structure.

The SQL Editor with a formatted SELECT statement and its paginated result grid
The SQL Editor

Browsing tables

The Database Tables tab lists every table with its records, engine, size and which extension it belongs to. Open one in the Table Browser to see its columns, keys, indexes and relationships, and its data in a spreadsheet-like grid with search, sorting and filters. NULL and empty values are clearly told apart.

If you're allowed to, you can edit a record with controls that suit each column type, see the old and new values before saving, and be stopped if someone else changed the record in the meantime.

The Table Browser showing the Joomla menu table with search, filters, CSV export and per-record actions
The Table Browser

Forty ready-made queries, and a history

The Query Builder has forty debugging queries that ask only for what they need: the first and last records, records by ID or date, what was created today or changed recently, NULL and empty values, duplicates, missing required values, simple filters, and the table's structure, indexes, creation SQL and relationships. Queries that don't suit a table simply aren't offered for it.

The Query History remembers monitored queries, your own SQL and record changes, so you can search it, re-run something or load it into the editor later.

The Query Builder with a table and a template chosen and the results of the query
The Query Builder

Checked on the server, every time

There are eleven separate permissions – from seeing the monitor to deleting records in bulk – and every powerful function also needs a switch in the options that is off after installation. Every request is checked for a logged-in user, Joomla's form token and the right permission.

SQL is read the way your database will read it, then classified as reading, changing data, changing structure or not allowed. Reading runs in a read-only transaction, only one statement runs at a time unless a Super User allows more, and destructive statements need a confirmation that the server insists on. Access to the server's files, statements that change the session or server, and MySQL's executable comments are never allowed.

Because a database tool can read every table, give the SQL permissions only to people you'd trust with the database password itself.

Light on your site

The monitor uses Joomla's own query hook, the same one the debug plugin uses, and keeps captured queries in memory until the request ends, writing them once to a small file. The tool's own requests are never monitored, every grid is paged, and very large tables use the database's estimate instead of counting every row. CSV exports open correctly in Excel, with values that could be mistaken for formulas made safe.

Getting Handy Database Tool

A Single Site licence is £49.99; an Agency licence for every site you look after is £199. Both include twelve months of updates, and everything keeps working afterwards. You can try it first in our demo, and if you have a question before you buy, just ask us.