Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Relational database data explorer / visualization?

Is there a tool that can let one browse relational data as a graph of connected nodes?

For example, i'm faced with trying to cleanse some anomolous data. i can start with two offending rows. In this particular example, the TransactionID should, by business rules, be unique to the table, but i find a transaction that violates that rule:

SELECT * FROM LCTTrans
WHERE TransactionID = 1075048

LCTID      TransactionID
=========  =============
4358       1075048
4359       1075048

2 row(s) affected

But really what i want to begin to hunt down all the related data, to try to see which is right. So this hypothetical software would start by showing me these two rows:

alt text

Next, i want to see that transaction that is linked into this table:

alt text

Now that transaction points to an MAL, so show me that:

alt text

Now lets add those two LCTs, that the transaction is "on". A transaction can be on only one LCT, yet this one is pointing to two:

alt text

Okay computer, both of those LCTs point to an MAL and the transaction that created them, show me those:

alt text

Those last two transactions, they also point at an MAL, and they themselves point to an LCT, show me those:

alt text

Okay, now are there any entries in LCTTrans that point to LCTs 4358 or 4359?...

And so on, and so on.

Now i did all this manually, running single selects, copying and pasting uniqueidentifier keys and converting them into friendly id numbers so i could easily see the relationships.


Is there software that can do this?

like image 825
Ian Boyd Avatar asked Feb 03 '10 18:02

Ian Boyd


People also ask

Can you use SQL for data visualization?

If you need a more polished tool that's ready to go out of the box, a paid data-visualization tool for SQL is a good way to go. Each has a unique way of dealing with SQL and visualizing data, so what's good for other companies may not be the right choice for you.

Is Azure a data Visualisation tool?

Azure Data Explorer integrates with various visualization tools, so you can visualize your data and share the results across your organization. This data can be transformed into actionable insights to make an impact on your business. Data visualization and reporting is a critical step in the data analytics process.

Is Azure Data Explorer a database?

Azure Data Explorer is a distributed database running on a cluster of compute nodes in Microsoft Azure. It is based on relational database management systems (RDBMS), supporting entities such as databases, tables, functions, and columns.


2 Answers

Ok, well I liked this idea so much that I've written it.

It's not released yet, but when it is it will be free.

Edit

Ok, it's now released. Free relational database exploring goodness @ http://www.atlantis-interactive.co.uk/products/datasurf/default.aspx

enter image description here

Edit

Although initially free, this is now part of Pragmatic Works' DBA xPress package.

like image 71
Matt Whitfield Avatar answered Oct 21 '22 12:10

Matt Whitfield


DBeauty is a powerful data browser (similar to Matt Whitfield's excellent DataSurf but more powerful). It is Java based, so you need to download the JDBC driver. I've found this tool invaluable in quickly navigating data (I fell in love with Microsoft's Quadrant before they killed it off and have been looking for a replacement ever since).

like image 29
Stuart Avatar answered Oct 21 '22 12:10

Stuart