Skip to content

Data and BI analysts

Most of the time spent on a report goes on finding the right table and working out if you can trust it. SQL Cockpit helps with both, without anyone changing your database.

Where you’re starting from

You’ve found three tables that look right, with names like orders, orders_new and orders_final. Someone wants a number by lunchtime, and you’d like to know it’s correct.

  • Several tables that all look like the right one
  • Reports go wrong because a load failed overnight
  • Nobody knows which reports use a table
  • You have to ask a developer what a column means

Examples

Find which table holds a column

You know you need customer_segment, but not where it lives.

Search for the column name across every database you can access, then filter by engine, schema or object type.

Available: Every engine. Database object search

Work out which of three tables is current

orders, orders_new and orders_final all exist, and only one is right.

See which views and procedures use each table. The one everything reads from is usually the answer, but confirm it with the owner.

Available: Every engine. Database object search

See how a view builds its numbers

A view gives you a figure, and you want to know how it’s calculated.

Open the view’s definition, then use View Mapper on SQL Server to follow it through nested views to the tables underneath.

Available: SQL Server. SQL object search

Explore a database someone handed you

You’ve been given a PostgreSQL, MySQL, Oracle or SQLite database with no documentation.

Run object sync and browse its tables, columns, keys and definitions. You don’t need to know that engine’s catalogue queries.

Available: Every engine. PostgreSQL object discovery

Check that last night’s load finished

A number looks wrong, and you suspect yesterday’s data never arrived.

Look at the job’s outcome and the sync’s row counts before you start debugging your report.

Available: SQL Server. SQL Server job monitoring

See whether a sync copied everything

Your report’s total is short, and it might be the sync.

Check the row counts and outcome of each sync run, to spot partial or failed loads.

Available: SQL Server. SQL table synchronisation

Find the reports that use a table

A table’s changing next month, and you need a list of affected reports.

SSRS Report Inspector searches report definitions on your report server for a table, view, procedure or term.

Available: SQL Server. SQL object search

Run read-only queries safely

You want to query the data without any risk of changing it.

Use the SQL Editor’s read mode, which keeps your query history and shows execution time and row counts.

Available: SQL Server. AI SQL Databases

Speed up a slow report query

Your report takes ten minutes and people have stopped using it.

Query Analyser shows the actual plan, logical reads and missing-index suggestions, which gives you something specific to take to your DBA.

Available: SQL Server. SQL Server slow queries

What you’ll use most

Good to know

  • Object Search works from metadata. It doesn’t read or profile your data, so it can’t check data quality.
  • Query execution is available on SQL Server only.
  • Job and sync history covers SQL Server Agent jobs and SQL Cockpit table syncs, not other schedulers or BI tools.

What success looks like

You can find the right table yourself, and check that the data behind it is fresh before you share anything.