Skip to main content

Astra DB

DataStax Astra DB is cloud-native Apache Cassandra database with pay-as-you-go pricing which greatly simplifies deploying production-ready Apache Cassandra instances. Dataedo provides a native connector to Astra DB database.

Supported metadata​

  • Table
    • Name
    • Schema
    • Description
    • Columns
      • Name
      • Data Type
      • Data Length
      • Description
    • Unique constraints
  • Materialized Views
  • Functions
    • Name
    • Schema
    • Definition
    • Parameters
  • Triggers
    • Name
    • Schema
    • Table name

Data profiling​

Dataedo does not support Data Profiling for Astra DB.

Connect Dataedo to Astra DB​

Generate Secure Connection Bundle​

Connection Bundle is a file which contains information required by Dataedo to connect to your AstraDB instance. You can easily generate it through the AstraDB web dashboard.

  1. Open dashboard of a database which you want to document by clicking its' name on the Databases list.
  2. Open Connect tab.
  3. In Connect using driver section, open C# tab.
  4. Click Download Bundle button.
  5. Select connection bundle you wish to download.
Generate connection bundle

Generate client key and secret key​

Client and secret key are like username and password, but for programmatic access. You will need them to authenticate to your AstraDB instance with Dataedo. Credentials are on organization level, so you can generate them once and use to document all databases within organization. To generate them, open your DataStax AstraDB dashboard and go through following steps:

  1. Click on your organization name.
  2. Select Organization settings
Organization settings
  1. Open Token Management tab.
  2. Select Role. Read only user is minimal role required for Dataedo connection.
  3. Click Generate Token button.
Generate token

After generating, you will see window with generated credentials. Make sure to store them safely (we recommend using password manager):

  1. Client ID - Client Key in Dataedo (Username).
  2. Client Secret - Secret Key in Dataedo (Password)
  3. Token - you won't need these value to connect Dataedo.
  4. You can save the Token Details in .csv file by clicking Download Token Details
Generated

Importing Metadata in Dataedo Portal​

Entry point​

To start the Metadata Import flow, make sure you have the Connection Manager role. Go to Connections and click Add connection, then pick Astra DB from the connector list to open the import wizard described in the following steps.

Add connection

Step 1. Host details​

Provide the name of the Connection, an optional description, and the path to the Connection bundle - the .zip file you downloaded in Generate Secure Connection Bundle, for example /data/astra/secure-connect-company-iot.zip.

caution

The bundle path must be accessible to the Agent that runs the task, not to your own computer. If more than one Agent can handle this connection, the file must be available at exactly the same path on each of them.

info

A Connection in Dataedo represents a saved configuration for accessing a data source.
It can be reused for future imports and scheduling.

Host details

Advanced settings is optional — you can leave it collapsed and the connection will run on any available agent with the global timeouts. Expand it if you want to restrict the connection to a specific agent or override the task timeouts.

Step 2. Credentials​

Choose credentials from the list of existing ones available for the selected connector, or add new credentials. Astra DB uses a Client key with secret key pair - the Client ID and Client Secret from Generate client key and secret key.

Credentials

Step 3. Data Sources​

info

During one import you can read the metadata of up to 20 data sources. You can reuse the same connection to import more sources later.

  • Portal displays all keyspaces available in the database the bundle points to
  • you can select multiple keyspaces at once and use the search box to narrow down results
  • each selected keyspace should be given a Display name, which will be visible in Dataedo
Data sources

Step 4. Objects to import​

For each selected keyspace, you can choose which object types to import: Tables, Views, and Functions.

Objects to import

Use Advanced filters to include or exclude objects by name pattern and object type.

Advanced filters

Step 5. Schedule​

Configure the Metadata Import task for each keyspace individually:

  • choose the metadata extraction options (Append only, Import dependencies, Reimport all included objects)
  • run daily, on selected weekdays, or on specific days of the month
  • choose an exact time of execution
  • Task state:
    • Active - the task will run as scheduled
    • Draft - the task is saved but not executed until you switch it to Active
  • Run Immediately - when checked, the task will also be executed right after you click Create connection
useful tip

Only one source in a metadata import can have Run Immediately selected.

Add Import Metadata task

Once saved, the task appears next to its keyspace in the schedule list.

Schedule with a defined task
caution

You must configure at least one import task for every data source.
If you skip this, an empty database will be created and no metadata will be imported.


Importing Metadata in Dataedo Desktop​

Add new connection​

To connect to Astra DB, create new documentation by clicking Add documentation and choosing Database connection.

Add connection

On the Add Documentation window, select Astra DB.

Astra DB

Connection details​

  • Connection Bundle - select file generated in AstraDB dashboard.
  • Client key - Client ID generated in Generate client key and secret key section,
  • Secret Key - Client Secret generated in Generate client key and secret key section.
  • Keyspace - type in keyspace name or click [...] and choose it from the list.

You can save password for later connections by checking Save password option. Passwords are saved in the repository database.

Astra DB connection details

Importing metadata​

Click Connect, and select objects to import. Click Next and set the documentation title. After successful import click Finish.

Outcome​

Your AstraDB keyspace has been imported to a new documentation in Dataedo.

Outcome
Dataedo is an end-to-end data governance solution for mid-sized organizations.
Data Lineage • Data Quality • Data Catalog