Softwr

Databases · head to head

Amazon DocumentDB vs DVC

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
DVC logo

DVC

Machine Learning

Git-style versioning for data sets and models, with the files kept in object storage

From
Free
Free plan
Yes

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • DVC is free; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only DVC lists pointer-file versioning.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.

How do Amazon DocumentDB and DVC differ?

Amazon DocumentDB and DVC differ on starting price (On request against Free), pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Amazon DocumentDB and DVC actually diverge.

Attributes where Amazon DocumentDB and DVC differ
AttributeAmazon DocumentDBDVC
Starting priceOn requestFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
PlatformsWebLinux, macOS, Windows
CategoryDatabasesMachine Learning

Not yet recorded: founded for Amazon DocumentDB.

Which features does each one have?

They share no listed features; 8 appear only for Amazon DocumentDB and 8 only for DVC. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon DocumentDB

  • MongoDB driver and tool compatibility
  • Managed patching, backups and monitoring
  • Serverless capacity scaling
  • Elastic clusters
  • Global clusters across up to 10 AWS Regions
  • I/O-Optimized pricing configuration
  • CloudWatch, IAM and AWS Backup integration
  • Zero ETL to Amazon OpenSearch Service

Only in DVC

  • Pointer-file versioning
  • Remote storage backends
  • Pipeline definitions
  • Stage caching
  • Experiment tracking
  • Metrics and plots comparison
  • Data registry pattern
  • Content-addressed cache

What is each one used for?

Amazon DocumentDB is most often brought in for migrating MongoDB workloads to AWS. The jobs each tool is most often brought in to do.

Amazon DocumentDB

  • Migrating MongoDB workloads to AWSnot DVC
  • Content and catalogue document storesnot DVC
  • Serverless document databases for variable loadnot DVC
  • Multi region read replicas for disaster recoverynot DVC

DVC

  • Making a model reproducible by tying the exact data set version, code commit and parameters together in one Git historynot Amazon DocumentDB
  • Keeping large training data out of Git while still having a repository that describes it preciselynot Amazon DocumentDB
  • Skipping expensive preprocessing stages that have not changed, when iterating on a later stage of a pipelinenot Amazon DocumentDB
  • Teams that need reproducibility but cannot get approval or budget to stand up a platform for itnot Amazon DocumentDB

Where do Amazon DocumentDB and DVC fall short?

Amazon DocumentDB's most cited limit: runs only on AWS; it cannot run on premises or across cloud providers. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon DocumentDB

  • Runs only on AWS; it cannot run on premises or across cloud providers
  • Compatible with MongoDB rather than identical, with no time series collection support
  • Cost combines instance, storage, I/O and backup charges, which are harder to forecast
  • Free tier allowance lasts 30 days for new accounts and is excluded in some regions

DVC

  • DVC knows only about files that were added through DVC, so one person copying data in by hand leaves a pipeline that reproduces to a different answer with no error and nothing to indicate which result is the real one
  • Every tracked revision writes a new pointer into Git and a new copy into the remote cache, so a data set revised daily accumulates full copies in object storage and the storage bill grows with the length of the history rather than the size of the data
  • Merge conflicts in dvc.lock and dvc.yaml are routine on parallel branches and are unreadable to anyone who has not learned the format, which in practice means the person who introduced DVC resolves all of them
  • Checking out a large data set materialises it in the working directory, so a laptop working against a repository with several hundred gigabytes tracked needs disk for the workspace and the cache together, and the reflink or hardlink optimisations that avoid doubling that are filesystem-dependent
  • It has no access control of its own and inherits whatever the remote grants, so a repository everyone can read plus a bucket everyone can read means everyone can reconstruct every historical version of every data set, which is frequently not what was intended

How much do Amazon DocumentDB and DVC cost?

DVC is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

DVC

Free
  • Open SourceFree
    • Data versioning
    • Pipeline management
    • Experiment tracking
  • DVC StudioFree
    • Web UI
    • Team collaboration
    • Visualizations

Which should you pick?

Choose Amazon DocumentDB if

  • You need mongodb driver and tool compatibility.
  • You also want managed patching, backups and monitoring.

Choose DVC if

  • You need pointer-file versioning.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want remote storage backends.

Questions people ask

Is Amazon DocumentDB or DVC better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; DVC fits making a model reproducible by tying the exact data set version, code commit and parameters together in one Git history. Amazon DocumentDB starts at On request and DVC at Free.
Which is cheaper, Amazon DocumentDB or DVC?
DVC has a free tier; the other does not. Paid plans start at On request for Amazon DocumentDB and Free for DVC.
Does Amazon DocumentDB or DVC run on more platforms?
Amazon DocumentDB runs on Web. DVC runs on Linux, macOS, Windows.
Can I use DVC for free?
Yes. DVC has a free tier, so you can try it without paying. Amazon DocumentDB starts at On request.
What is Amazon DocumentDB best used for?
Amazon DocumentDB is most often used for migrating mongodb workloads to aws, content and catalogue document stores, serverless document databases for variable load, multi region read replicas for disaster recovery. Of those, migrating mongodb workloads to aws and content and catalogue document stores are not what DVC is typically brought in for.
What can Amazon DocumentDB do that DVC cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. DVC covers Pointer-file versioning, Remote storage backends, Pipeline definitions, Stage caching.

Answered from the vendors’ own pages

Amazon DocumentDB: Is DocumentDB the same as MongoDB?

No. It is MongoDB compatible: existing MongoDB drivers and tools work, but Wikipedia notes it supports MongoDB 3.6 and 4.0 with later partial 5.0 compliance and no time series collections.

Source
DVC: Does DVC put my data in Git?

No. Git gets a small pointer file containing a hash. The data goes to a cache on disk and to a remote you configure, such as an S3 bucket.

Amazon DocumentDB: How is DocumentDB priced?

Pay as you go. Provisioned clusters are billed for instances per second, I/O, storage and backup storage, while serverless uses DocumentDB Capacity Units billed per second.

Source
DVC: Do I need to run a server?

No, and that is most of its appeal. It is a command line tool plus storage you already have. DVC Studio, the hosted web interface, is optional and separately paid.

Amazon DocumentDB: Is there a free tier?

New AWS accounts get one month: 750 hours a month of db.t3.medium, 30 million I/Os, 5 GB storage and 5 GB backup. It is not available in AWS GovCloud (US) or China (Ningxia).

Source
DVC: How is it different from Git LFS?

Git LFS versions large files and stops there. DVC also defines pipelines, tracks which stage produced which output, records metrics and lets you compare experiments, and it works with ordinary object storage rather than an LFS server.

Amazon DocumentDB: Can it run outside AWS?

No. Wikipedia says it runs only on AWS and cannot span cloud providers or run on premises.

Source
DVC: Is it free?

The tool is Apache 2.0 and free. You pay for the object storage that holds the data, and optionally for DVC Studio.

DVC: Can several people work on the same data set?

Yes, through the shared remote, but only if all of them use DVC for every change. The tool cannot enforce a discipline it does not own, and a single manual copy silently breaks the guarantee.

Share

Related pages

Other head to heads