Skip to content

Cross-Dataset Links

Where: Context › Cross-Dataset Links, with All Databases picked in the database selector
Who can use it: Admins and Owners add, edit, and reject links. Users can view them.

Cross-dataset links tell Tursio which columns hold the same values in two different databases. Links connect systems that share a key, such as an order ID or a customer number, without moving or copying data. Global training proposes links, and you decide which ones Tursio uses to answer one question across several databases.

  1. Open Context in the left navigation.
  2. Pick All Databases in the database selector. The Cross-Dataset Links tab appears only for All Databases. It's hidden when you pick a single database.
  3. Select Cross-Dataset Links.

The table lists each link with its First (Database · table · column) side, its Second (Database · table · column) side, and its Status. A link has no direction, so the order of the two sides doesn't matter. Use Search to find a link by database, table, column, or status. Use the All status filter to show only Accept, Pending, or Reject links.

Cross-Dataset Links list with a row menu open (1) Add a link, (2) row menu with Edit, Accept, and Reject. Database, table, and key names are blurred in this screenshot.

A link's status is one of:

  • Accept: Tursio uses the link to answer questions across databases.
  • Pending: proposed, waiting for your review. Tursio doesn't use it yet.
  • Reject: Tursio doesn't use the link. It stays in the list so you can change your mind later.

When there are no links yet, the tab says No cross-database links yet. Run global training to infer links, or add one manually. Select Add manual link to add the first one, or run global training to have Tursio propose links.

  1. Select the add button (+) at the top right of the table. The Link columns across databases dialog opens.
  2. Pick the first database. Select Database 1, then Table of database 1, then one or more Column(s) of database 1.
  3. Pick the second database. Select Database 2, Table of database 2, and Column(s) of database 2. Pick the same number of columns on both sides.
  4. Pick a Status. It starts as Accept. Choose Pending if you want to review the link later.
  5. Select Save. Tursio shows Cross dataset link added. and the link appears in the table.

Add link dialog with the first database filled in (1) First database, table, and column, (2) Database 2.

Add link dialog with the second database, Status, and Save (1) Second database, table, and column, (2) Status, (3) Save.

If the link isn't valid, the dialog says why and doesn't save. Common messages:

Message Fix
A cross-database link must connect two different databases. Pick a different database on one side. To join tables in one database, use Join Relationships.
Both sides must have the same number of columns (got 2 vs 1). Pick as many columns on the second side as on the first.
Each side must have at least one column. Pick a column on each side.
An identical link already exists. Find the existing link with Search and edit it instead.

To accept a proposed link:

  1. Open the row menu (⋯) on the link.
  2. Select Accept. Tursio shows Cross dataset link accepted. and the status changes to Accept.

The menu offers only the statuses the link doesn't already have. A Pending link shows Edit, Accept, and Reject.

To change a link's columns or status:

  1. Open the row menu (⋯) on the link and select Edit. The dialog opens with the link's current values.
  2. Change the database, table, columns, or Status.
  3. Select Save. Tursio shows Cross dataset link updated.
  1. Open the row menu (⋯) on the link.
  2. Select Reject. Tursio shows Cross dataset link rejected. and the status changes to Reject.

Rejecting is how you remove a link. There's no separate delete. Tursio stops using the link, but the row stays in the table. To restore it, filter by Reject, open its row menu, and select Accept.

Rejected links stay rejected

When global training runs again, it keeps the status you set on every existing link. A link you rejected isn't proposed again as Pending.

With All Databases picked, the Visualization tab shows each database as a node with its tables, and the links between databases as lines. A solid line is accepted. A dashed line is pending. Rejected links aren't drawn. Use Search by Dataset or table names to find a database or table on the graph. Select a link on the graph to change its status there.

All Databases graph with databases as nodes and links as lines (1) A database and its tables, (2) links between two databases, (3) Join Status legend. Names are blurred in this screenshot.

Tips and limits

  • Changes can't be saved while global training runs. Tursio shows Global training is running — try again in a moment. Wait for it to finish and try again.
  • You see a link only if you have access to both of its databases. Database pickers list only the databases you can access.
  • Only Accept links are used to answer questions. Review Pending links after each global training run.
  • A link can span several columns, for example a two-column key. Both sides need the same number of columns.
  • Tursio checks that the columns you pick exist in the table.
  • Global training compares the columns of your trained databases and adds likely matches as Pending. See Training.