- 01 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
External catalog
- Updated on 01 May 2023
- 2 Minutes to read
- Print
- DarkLight
- PDF
This feature is not available in the local mode
External catalog enables users to connect their catalog databases to Akridata Data Explorer and create virtual tables (views) by joining internal catalog information with the catalog information present in the external catalog. This enables a unified view of the catalog information for rich querying and visualization capabilities.
The External catalog page is available at 'Data -> Repo' on the left navigation panel, as shown below.
The page shows a listing of all registered external catalogs as shown below:
Add External Catalog
The following types of External catalogs can be added (registered) to Data Explorer.
- MySQL
- SQL Server
- PostgreSQL
- AWS Athena - This requires an Athena workgroup with an S3 bucket to store query results to be set up as a pre-requisite. Please refer to AWS documentation here.
To add an external catalog:
- Click on the 'Add External Catalog' button.
- Fill Name and Description in the form provided.
- Select the type of external catalog from the drop-down.
- The form fields will be updated based on the type selected to capture type-specific information. The type-specific form fields are described below.
- MYSQL - Hostname and Port. All DB schemas within this database endpoint become accessible.
- PostgreSQL - Hostname, Port, and DB name of the database schema to connect.
- SQLServer - Hostname, Port, and DB name of the database schema to connect.
- Athena
- Region - The AWS region(e.g., us-east-1) where the AWS Athena instance is hosted.
- Data Source - Name of AWS Athena DataSource available on the AWS console.
- Workgroup - Name of AWS Athena workgroup that is configured as a pre-requisite.
- Leave the 'SMS Namespace' field as default.
- In the SMS Key field, select a secret that holds the credentials. The secret must have been registered on the Secrets page.
- MYSQL, PostgreSQL, and SQLServer support a 'Basic Auth' type of secret.
- AWS Athena supports 'Basic Auth' and 'AWS' types of secret. The 'AWS' type of secret is recommended.
- Click on 'Save' to register the external catalog.
Edit External Catalog
On the card corresponding to the external catalog to be edited, click on the 'Edit' button. The form shows fields similar to 'Add Catalog' with only a few fields allowed for editing. Once edited, click on the 'Save' button.
View External catalog
The 'View' operation is used to browse the schema of a registered external catalog. On the card corresponding to the external catalog to be viewed, click the 'View' button. The following page is presented with a listing of all the databases schemas that are accessible. Clicking on the 'down' arrows expands the next level of tables and columns, as shown below for the 'voc2012' database schema.
Delete External catalog
A registered external catalog can be deleted(unregistered) by clicking on the 'Delete' button available on the external catalog card. This action will result in all views defined using this external catalog table becoming unusable.