Skip to main content

Amazon DocumentDB support

Amazon DocumentDB is a fully managed database service by Amazon Web Services (AWS) designed to support MongoDB-compatible workloads. By using Dataedo, you can create comprehensive and well-organized documentation for your Amazon DocumentDB database, making it easier to understand, manage, and maintain.

Catalog and Documentation​

Information about the columns metadata about their fields (or attributes) including their names, data types, and descriptions is imported. After import, users can discover the schema of DocumentDB documents using ER diagrams as in the case of MongoDB.

Users will also be able to:

Required permissions​

Because Dataedo only scans existing documents, only read permissions are required.

Prerequisites​

If connecting with TLS enabled, appropriate certificates from Amazon PKCS7 certificate bundle from https://truststore.pki.rds.amazonaws.com/global/global-bundle.p7b must be previously installed.

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 Amazon DocumentDB 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 details of the DocumentDB cluster:

  • Connection type - choose Values to enter the details field by field, or Connection string to paste a full connection string. See Connection Options for the options you can set in it.
  • Host - the cluster endpoint with its port, for example <cluster-name>.cluster-<id>.<region>.docdb.amazonaws.com:27017.
  • SRV - check this if the address is a DNS seed list rather than a single host.
  • Replica set - the replica set name, if you connect through one.
  • Use TLS - check this if the cluster has TLS enabled. In that case, make sure the certificates described in Prerequisites are installed.
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. Amazon DocumentDB uses a user and password pair. Only read permissions are required.

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 databases accessible with the provided credentials
  • you can select multiple databases at once and use the search box to narrow down results
  • each selected database should be given a Display name, which will be visible in Dataedo
Data sources

Step 4. Objects to import​

For each selected database, you can refine which objects to import. DocumentDB collections are imported as Tables.

Objects to import

Use Advanced filters to include or exclude collections by name pattern.

Advanced filters

Step 5. Schedule​

Configure the Metadata Import task for each database individually:

  • choose the metadata extraction options (Append only, 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 database 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​

To connect to DocumentDB, you need to first click the Add button on the left upper corner and choose New connection.

Image title

From the sources choose Amazon DocumentDB.

Image title

Now data necessary to establish a connection between Dataedo and the DocumentDB database must be provided. Two connection types are available: Values (visible on screen below) and Connection string.

When connecting to the database using Values option specified must be:

  • Host - hostname of the server where DocumentDB instance is located, for example, documentdb-3-6-sch.cluster-abcdefghijkl.us-west-1.docdb.amazonaws.com

  • Username - name of the user

  • Password - user password

  • Timeout (s) - number of seconds after which the connection attempt will be interrupted

Optionally, the user can specify the following options:

  • Auth database - the authentication database to use, if unspecified, the client will attempt to authenticate the specified user to the admin database

  • Replica set - name of the replica set

  • Use TLS - enables TLS

  • SRV - enables SRV

In the case of Connection string connection type, the user needs to specify the:

  • Connection string - URI that defines the connection between applications

To learn more about possible connection options that can be set in the connection string visit: Connection Options

Independently of choosing the connection type specified must be:

  • Database - name of the database to be documented
Image title

After clicking Connect, Dataedo will start retrieving database objects, and when it finishes, it will display a window that allows choosing object types to import. Checking the Advanced filters checkbox enables defining more complex filters.

Image title

Confirm which objects are to be imported by clicking Next. You will see a window that allows changing the default name of the documentation under which it will be visible in the Dataedo repository. This name can be changed later.

Image title

Click Import to start the import process. Wait until the import process is completed.

Image title

Close the import window using the Finish button. Your DocumentDB database has been imported to new documentation in the repository.

Image title

Connector specification​

Supported versions: 3.6, 4.0, 5.0​

Imported metadata​

ImportedEditable
Collections
  Fields
   Data types
   Fields descriptions
   Required (as not nullable)
  Collections descriptions
  Primary keys

Supported features​

FeatureSupported
Data profiling
Data classification
Data lineage
Reference data (import lookups)
Importing from DDL
Generating DDL
FK relationship tester

Known issues and limitations​

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