How OpenMetadata with MongoDB and DynamoDB catalogs document and key-value stores
A data team often holds operational data in MongoDB and DynamoDB that never reaches the warehouse, so the catalog shows nothing about those collections and tables. OpenMetadata closes that gap through its database connectors. You configure the documented MongoDB or DynamoDB connector in the OpenMetadata UI or through the ingestion framework, and the connector extracts metadata for the databases, collections or tables it can read. From there, the profiler, auto-classification and, for MongoDB, sample data run against that extracted metadata. The result gives these stores the same owners, descriptions and classification tags that your warehouse assets already carry.
The two connectors do not cover the same ground, and that difference should shape your plan. The MongoDB connector covers metadata, profiler, sample data and auto-classification. The DynamoDB connector covers metadata, profiler and auto-classification, but not data quality or lineage. Before you commit to a rollout, decide which of these outputs your governance process needs for each store. If a team expects data quality tests or lineage on DynamoDB tables, that expectation has to be written down as out of scope, or handled in a downstream tool that you own.
Permissions are the first build decision. The MongoDB connector needs find on collections and listCollection on databases, so create a dedicated read-only database user and confirm those privileges against the connector documentation for your release. For DynamoDB, define an IAM read role for the connector's principal and confirm the exact actions it requires in the connector documentation for your OpenMetadata version. Limit the profiler and sample data to collections and tables that hold data the catalog is allowed to show, and review classification output on any store that may contain personal data before opening access to the wider company.
What you need before connecting MongoDB or DynamoDB
Connecting MongoDB or DynamoDB starts before the connector is configured. The OpenMetadata server, its ingestion runner, the source endpoint and the credentials each have to be in place, and each one fails in its own way. The cards below cover what to confirm on each side.
Java 21 and the metadata database
OpenMetadata's bare metal prerequisites are Java 21 and either MySQL 8.0.42 or later or PostgreSQL 15 or later. The metadata database holds every entity, owner and tag you add to a MongoDB collection or DynamoDB table, so it is the state you must back up. Confirm which database engine your standards allow before the first install, because changing it later is a migration project.
Bare metal docsSearch service and sizing minimums
OpenMetadata needs Elasticsearch 9.x or OpenSearch 3.x for search. The documented minimum server is 2 vCPUs, 4 GB RAM and 20 GB storage, and the database and search services each need at least 2 vCPUs, 2 GB RAM and 30 GB storage. These are floors, not sizing for a real catalog. Profiling and sample data from document stores add load, so plan capacity with your own estimate of collections and tables.
Ingestion image and runtime versions
In OpenMetadata 2.0, ingestion images moved to Python 3.12 with Apache Airflow 3.3.0. If you build custom ingestion images, rebuild them for Python 3.12 before running a MongoDB or DynamoDB workflow. Confirm that your ingestion runner matches the server version, since a mismatch surfaces as connector errors rather than a clear upgrade message.
Network path from the ingestion runner
The ingestion runner, not the OpenMetadata server UI, opens the connection to MongoDB or DynamoDB. Check that the runner can reach the MongoDB host and port, or the DynamoDB regional endpoint, through your firewalls, VPC endpoints and any proxy. Test reachability from the same host and network segment that will run the scheduled workflow, not from a laptop.
Read-only MongoDB credentials
The MongoDB connector needs find on collections and listCollection on databases to cover metadata, profiling, sample data and auto-classification. Create a dedicated read-only user scoped to the databases you intend to catalog, and store its password in your secrets system. Confirm with the connector documentation for your version whether any additional role is needed for your deployment.
MongoDB connector docsIAM read access for DynamoDB
The DynamoDB connector covers metadata, profiling and auto-classification, but not data quality or lineage, so the IAM policy should grant only the read actions those features require. Use a dedicated IAM role for the ingestion runner, scoped to the tables in scope. Confirm the exact actions with the DynamoDB connector page for your version before you attach the policy.
DynamoDB connector docsHow to configure the MongoDB and DynamoDB connectors step by step
This sequence takes you from a read-only identity in each source to a populated catalog, with profiling and classification switched on only after metadata ingestion has been checked. Each step ends with a check you can run before moving on.
Create a read-only identity in each source
Your database or cloud administrator creates a dedicated user for MongoDB and a dedicated IAM principal for DynamoDB, used only by OpenMetadata. Do not reuse an application or administrator account. Keep the credentials in your secrets store so they are not typed into configuration files by hand. The step is done when the identity can sign in or assume its role from the network segment where the ingestion runner will run.
Grant the minimum read permissions
For MongoDB, grant find on the collections you want cataloged and listCollections on the databases that hold them, as the connector documentation specifies. For DynamoDB, grant the read actions the DynamoDB connector documentation lists for table metadata and sampling, scoped to the tables in scope. Confirm the exact action names against the current connector page for your version, because permission requirements change between releases. The check is a test connection run with the new identity, which should succeed without any write privilege.
Create the database service in OpenMetadata
In the OpenMetadata user interface, add a new MongoDB or DynamoDB database service and enter the connection details, such as the host, region and credentials reference. Choose the ingestion runner location that can reach the source. Save the service and run the built-in connection test. The step is complete when the test reports each required check as passing, and any failure points to a network, authentication or permission gap rather than a configuration typo.
Set filters for databases, collections and tables
Before the first ingestion, define include and exclude filters for databases, collections (MongoDB) or tables (DynamoDB). Start with the systems a named owner has agreed to govern, and exclude test, scratch and personal-data-heavy collections until classification has been reviewed. Record the filter decisions in your change log. The check is a dry run or preview of the filter results, which should list only the objects you intended.
Run the metadata ingestion
Run the metadata workflow on demand for the first time, keeping profiling and classification turned off so the initial run only reads structure. Review the ingestion log for skipped objects and permission errors. Then open the service in the catalog and confirm that the expected databases, collections or tables, and their fields, appear with the names and types you expect. Note that MongoDB schema is inferred from sampled documents, so field types may need review by a data owner.
Enable the profiler and sample data
Once the metadata run is verified, turn on the profiler for the MongoDB or DynamoDB service and confirm which profiling and sample data options apply to your version. Run it against a narrow filter first so you can see the read load on the source and the time each run takes. The check is that profile statistics appear on the expected tables or collections and that the source team confirms no performance impact on production workloads. DynamoDB profiling does not extend to data quality tests or lineage, so do not plan around those features for this source.
Enable auto-classification and review results
Turn on auto-classification for the service and run it on the scoped objects. Ask a data owner to review every classification tag applied to fields, especially those inferred from names or sampled values, and to correct false positives before the tags are used in access or privacy decisions. Schedule recurring metadata and profiler runs only after the first review cycle is complete. The step is done when the owner has signed off the classifications for the in-scope collections or tables.
What schema inference and profiling return for each store
The MongoDB connector works at the collection level. Each collection is catalogued as a table-like asset, and the profiler computes statistics against the documents in that collection. Because MongoDB does not enforce a schema, the fields OpenMetadata shows are the fields it finds in the documents it reads, so nested and optional fields depend on what the sample contains.
- Collection metadata: Collections and their databases are listed as entities that can receive owners, descriptions, tags and glossary terms.
- Profiler output: The profiler runs against collections and produces column-level statistics, which can be reviewed in the asset page.
- Sample data: Sample documents are available for inspection, so reviewers can see real field shapes before trusting a profile.
- Auto-classification: Classification rules are applied to sampled values, so a field's sensitivity tag reflects the values that were sampled, not every document in the collection.
- Sampling limits: A sample can miss rare fields or values, so the profile describes the sample rather than the full collection.
Before relying on classifications for privacy or access decisions, confirm in your version of the connector how sample size and profiler scope are configured, and test with a collection where you know the expected values.
The DynamoDB connector covers metadata, profiler and auto-classification. It does not cover data quality or lineage, so a DynamoDB table can be documented and profiled but cannot carry the same test and lineage workflow as a relational source. DynamoDB has no declared column schema beyond key attributes, so the attributes OpenMetadata shows are inferred from items it reads.
- Declared versus inferred fields: Partition and sort keys are known from the table definition, while other attributes appear only when they are present in sampled items.
- Profiler output: The profiler produces statistics from the sampled items, so attribute coverage and value distributions describe the sample.
- Auto-classification: Sensitive-looking attributes can be tagged from sampled values, which should be reviewed by the data owner.
- No data quality tests: Quality tests and their incident workflow are not part of this connector's scope, so checks need another mechanism.
- No lineage: Upstream and downstream relationships for DynamoDB tables must be documented manually or taken from another system.
Confirm the sampling behavior and the current list of supported features for your connector version in the DynamoDB connector documentation before you promise coverage to stakeholders.
Both connectors depend on sampling, so the same practical question applies to each: how many records were read, and which ones. Sampled output is useful for discovery and ownership but can be wrong for attributes that are sparse, optional or changed over time. Treat the catalog's field list as a starting point for review rather than a complete inventory.
- Sample size: Confirm how the sample size is set for your version and whether it can be changed per collection or table.
- Sample selection: Find out whether sampling is random, based on the first records returned, or limited in another way, since this changes which fields appear.
- Schema drift: New attributes added after a run will not appear until a later run reads items that contain them.
- Re-runs: Schedule ingestion so profiles and classifications refresh at a rate that matches how often the application writes new shapes.
- Validation: Compare a few catalogued fields against the application code or known documents to confirm the sample represents the data.
Ask the team that owns each store how its documents or items have changed over time, because that history determines how much weight the sampled output can carry.
How MongoDB and DynamoDB objects map to OpenMetadata entities
This table compares how each source's objects land in OpenMetadata's service, database, schema and table entities, and which enrichment features attach to them. Read it before you design a service layout, because MongoDB and DynamoDB differ on sample data storage, lineage and data quality coverage.
| Element | MongoDB | DynamoDB |
|---|---|---|
| Source object becomes | Database as database entity, collection as table entity | Table as table entity; confirm how the connector groups tables under database and schema entities in your version |
| Schema fields | Inferred from sampled documents, so nested and optional fields depend on the sample taken | Inferred from items read during extraction, so attributes that appear in only some items may be missed or appear inconsistently |
| Profile metrics | Available through the profiler, computed on the inferred fields | Available through the profiler, computed on the inferred fields |
| Sample data storage | Sample documents are stored in OpenMetadata as sample data attached to the table entity; confirm retention and size limits in your version | Sample data is supported by the connector; confirm where it is stored and how much is retained in your version |
| Classifications | Auto-classification runs on the inferred fields and sample values | Auto-classification runs on the inferred fields and sample values |
| Data quality surface | Data quality tests can be attached to the table entity | No data quality surface; the connector does not cover data quality, so tests must come from another source |
| Lineage surface | Lineage must be built from another source or added manually; the connector does not document automatic lineage for collections | No lineage surface; the connector does not cover lineage |
How the connector reads the store and writes to the catalog
The run starts on the OpenMetadata ingestion runner, which sits inside your network and connects to MongoDB or DynamoDB with a read-only identity. Metadata extraction, profiling and auto-classification read from the store, and the results are pushed to the OpenMetadata server, which writes to its database and search services. The trust boundary sits between your network and the source, so check that the identity carries only the read permissions the connector documents, and that DynamoDB runs have no expectation of data quality or lineage output.
Read-only ingestion path from the source store into the OpenMetadata services.
Securing read access to document and key-value stores
A catalog connector reads far more than its name suggests: schemas, sample rows, profile statistics and classification hits. The controls below keep that read path narrow, from the database identity and cloud policy through to how OpenMetadata stores the connector credentials and who can sign in to the catalog itself.
Dedicated read-only MongoDB identity
Create a separate MongoDB user for OpenMetadata rather than reusing an application or administrator account. The MongoDB connector needs find on collections and listCollection on databases, so grant those two privileges on the databases in scope and nothing else. Check that the user cannot write, create indexes or read other databases before the first ingestion run.
MongoDB connector docsScoped DynamoDB read policy
Attach an IAM policy to the connector role that allows read actions only on the DynamoDB tables in scope, named by ARN or by a naming pattern you control. Avoid account-wide wildcards on table resources, since they bring every table, including those holding personal or payment data, into the catalog. Confirm the exact read actions the connector needs against the connector documentation for your OpenMetadata version.
DynamoDB connector docsLimiting profiler and sample data
Profiling and sample data are where a catalog meets actual record contents. On collections or tables that hold personal, health or financial data, disable sample data, restrict profiling to metadata-only runs, or exclude those objects with filter patterns. The DynamoDB connector covers metadata, profiler and auto-classification but not data quality or lineage, so confirm which of these features you actually need per source.
Connector credentials in OpenMetadata
Store database and cloud credentials using the secret handling options in OpenMetadata rather than pasting them into plain connector configuration. Review the storage and secret management guidance in the security docs for your deployment, and confirm who can view or edit connection details in the UI and API. Rotate these credentials on a schedule and record who holds them.
OpenMetadata security docsOne authentication mechanism per instance
OpenMetadata does not support combining SSO with basic authentication at the same time. Decide before rollout whether the instance uses SSO for all users, and plan how service accounts used by ingestion will authenticate under that choice. Test that your chosen mechanism works for both people and automated pipelines before the catalog is opened to the wider company.
Common MongoDB and DynamoDB ingestion failures and their fixes
This table lists the failures teams most often hit when cataloging MongoDB and DynamoDB in OpenMetadata, with the likely cause and the check to run for each. Read it as a triage order: confirm permissions and network reachability first, then scope and profiler settings, then expectations about features the connector does not cover.
| Symptom | Likely cause | Check to run |
|---|---|---|
| Authentication or authorization error during metadata extraction | The database user lacks listCollection on the target databases | Confirm the user holds listCollection on each database in scope, then rerun the metadata workflow with that user's credentials |
| Collections appear but contain no sampled or profiled data | The user lacks find on the collections, so documents cannot be read | Grant find on the collections in scope and check that the profiler and sample data steps are enabled in the ingestion configuration |
| Tables or collections missing from the catalog | Filters in the ingestion configuration exclude them, or the user cannot list them | Review include and exclude patterns for databases and collections, then compare against what the user can list directly in the database |
| Profiler run times out or runs for a very long time on large collections | The profiler scans more documents than the schedule or resources allow | Restrict profiling to the collections that need it, reduce the sample size, and schedule profiling outside peak database load |
| Ingestion cannot connect to the database at all | The runner host cannot reach the MongoDB or DynamoDB endpoint through the network path, firewall or DNS | Test connectivity from the same host and network where the ingestion runs, not from a laptop, and confirm firewall and endpoint rules with your network team |
| Expecting data quality tests to run on DynamoDB tables | The DynamoDB connector does not cover data quality | Plan data quality for DynamoDB elsewhere in your pipeline, or confirm current connector scope in the OpenMetadata DynamoDB connector documentation before promising it |
| Expecting lineage to appear for DynamoDB tables | The DynamoDB connector does not cover lineage | Document lineage for DynamoDB as a manual or pipeline-sourced gap, and confirm current scope in the connector documentation |
| Expecting MongoDB lineage from the connector alone | Lineage depends on what the MongoDB connector extracts, which differs from the metadata and profiler coverage | Check the MongoDB connector documentation for the lineage scope in your version before setting stakeholder expectations |
Questions buyers ask before connecting MongoDB or DynamoDB to OpenMetadata
How much does it cost to connect MongoDB or DynamoDB to OpenMetadata?
No supplied figure gives a price for this work, and DeployOpen does not publish a price list. The cost has three parts: the software, which is free under the Apache License 2.0; the infrastructure to run OpenMetadata and its ingestion; and the labor to configure connectors, grant read permissions and validate results. Labor scales with the number of databases, collections and DynamoDB tables in scope, whether profiling runs on them, and how much permissions review your security team requires. Ask for a written scope that lists each source, each connector feature (metadata, profiler, sample data, auto-classification) and the recurring work after go-live. A fixed-scope quote follows from that document.
How long does a MongoDB or DynamoDB connection take to set up?
No supplied fact gives a duration for this connection, so the timeline depends on your environment. The main drivers are how many databases and tables you catalog, whether the profiler and sample data run against production collections, how quickly your security team approves the read-only IAM or database roles, and whether OpenMetadata is already running. A first metadata-only pass is usually the quickest step to validate. Ask for milestones in the written scope so each stage, from permission grants to the first successful ingestion run, has a clear owner and date.
What does the client need to provide for this work?
Plan to provide the following before work starts:
- A running OpenMetadata instance, or a decision on how it will be deployed, with its Java and search prerequisites confirmed against the OpenMetadata bare metal deployment docs
- A list of MongoDB databases and DynamoDB tables in scope, with the owners who can approve their use
- Read-only credentials or roles for a connector user, created by your database or cloud team
- Network access from the ingestion runner to each source
- A decision on profiler scope and sample size, and on whether sample data may leave the source system
Who approves each of these, and within what window, should be written into the scope.
Can an internal team connect MongoDB and DynamoDB to OpenMetadata alone?
Yes, if your team has the database administration, cloud IAM and OpenMetadata operations skills to do it, and the documentation is enough for your setup. The MongoDB connector needs find on collections and listCollection on databases, and the DynamoDB connector covers metadata, profiler and auto-classification but not data quality or lineage, so the connector user's permissions should be reviewed against those lists. Teams without that mix often find the permission review and profiler tuning take the most time. DeployOpen implements, configures and documents OpenMetadata inside your infrastructure under a fixed-scope agreement if you prefer a partner.
What does profiling and sampling change for cost and risk on these stores?
Profiling and sample data read your documents or items, so they add load and expose values to the catalog. The MongoDB connector supports profiler, sample data and auto-classification, while the DynamoDB connector supports profiler and auto-classification. Set sample size and profiler scope per collection or table, and start with the smallest scope that answers your catalog questions. Confirm with your security team whether sampled values may be stored in OpenMetadata, and whether auto-classification output needs review before it drives access decisions.
What will not be covered when cataloging DynamoDB?
Per the connector documentation, the DynamoDB connector does not cover data quality or lineage. Plan for that gap if your governance program expects lineage from DynamoDB tables into downstream systems or quality tests on item data. Any lineage would have to be added through another mechanism, such as manual edits or the OpenMetadata APIs, and that work belongs in the written scope. Confirm current coverage in the OpenMetadata DynamoDB connector docs before you commit to a lineage requirement.
What should a written scope include before work starts?
A useful scope lists every MongoDB database and DynamoDB table in scope, the connector features enabled for each, the permissions each connector user needs and who approved them, the profiler and sample settings, the OpenMetadata environment and its upgrade plan, and the handover items such as runbooks and ingestion schedules. It should also state what is excluded, such as lineage for DynamoDB, and what is recurring after go-live. Request it in writing. DeployOpen provides fixed-scope quotes from that document, and no estimate should be treated as final until the scope is agreed.
How DeployOpen scopes and delivers the MongoDB and DynamoDB connection
DeployOpen treats the MongoDB and DynamoDB connection as a scoped engagement inside your own infrastructure. We agree which collections, tables, databases and accounts are in scope, build the ingestion against read-only permissions, verify what the connectors actually return, and hand over a runbook your team can operate.
How we scope
- Agree in writing which MongoDB databases, collections, DynamoDB tables and AWS accounts the catalog will cover
- Confirm which metadata, profiling, sample data and auto-classification features are wanted for each source
- Record the read-only roles or IAM policies the ingestion identity will use, and who approves them
How we build
- Deploy or connect the OpenMetadata instance in the hosting model you choose, with ingestion scheduled against the agreed sources
- Configure the MongoDB connector with find and listCollection permissions and test each database it reads
- Configure the DynamoDB connector and document the gap that data quality and lineage are not part of its scope
How we hand over
- Deliver the written configuration, permission list and a record of which features were tested and which were left out
- Provide a verification checklist that compares catalog entries against the source collections and tables
- Walk your data platform and security teams through ingestion schedules, failure handling and ownership assignments
How we support
- Fixed-scope engagements cover the agreed sources and deliverables, with changes handled through a written scope update
- Ongoing support, upgrades and continuous testing are available as a retainer after handover
- Confirm with us how connector upgrades will be tested against your environment before each OpenMetadata release is applied

