Softwr

Databases · head to head

Amazon DocumentDB vs Amazon Redshift ML

Amazon DocumentDB logo

Amazon DocumentDB

Databases

Managed MongoDB-compatible document database service on AWS

From
On request
Free plan
No
Amazon Redshift ML logo

Amazon Redshift ML

Machine Learning

SQL statements in Redshift that train models on SageMaker and return them as functions

From
Free
Free plan
Yes

The short version

  • Amazon DocumentDB is a managed document database on AWS.
  • Amazon Redshift ML starts at $0.25/mo; Amazon DocumentDB prices on request.
  • Only Amazon DocumentDB lists MongoDB driver and tool compatibility; only Amazon Redshift ML lists CREATE MODEL in SQL.
  • Where Amazon DocumentDB falls short: runs only on AWS; it cannot run on premises or across cloud providers.

How do Amazon DocumentDB and Amazon Redshift ML differ?

Amazon DocumentDB and Amazon Redshift ML differ on starting price (On request against Free), free tier (No against Yes) and category (Databases against Machine Learning). Only the attributes on which Amazon DocumentDB and Amazon Redshift ML actually diverge.

Attributes where Amazon DocumentDB and Amazon Redshift ML differ
AttributeAmazon DocumentDBAmazon Redshift ML
Starting priceOn requestFree
Free tierNoYes
CategoryDatabasesMachine Learning

Identical on both: pricing model (Usage-based), platforms (Web).

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 Amazon Redshift ML. 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 Amazon Redshift ML

  • CREATE MODEL in SQL
  • Automatic model selection
  • Local inference
  • Bring your own model
  • Algorithm selection
  • Cost ceiling controls
  • Existing warehouse security
  • Batch and interactive scoring

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 Amazon Redshift ML
  • Content and catalogue document storesnot Amazon Redshift ML
  • Serverless document databases for variable loadnot Amazon Redshift ML
  • Multi region read replicas for disaster recoverynot Amazon Redshift ML

Amazon Redshift ML

  • Adding a churn or propensity score to an existing dashboard where the data is already in Redshift and nobody needs a bespoke modelnot Amazon DocumentDB
  • Letting an analytics team test whether a predictive column has any business value before asking for data science headcountnot Amazon DocumentDB
  • Scoring rows inside a SQL pipeline where moving data out to a separate service would add fragility for little benefitnot Amazon DocumentDB
  • Organisations committed to AWS whose main constraint is a data science backlog rather than modelling sophisticationnot Amazon DocumentDB

Where do Amazon DocumentDB and Amazon Redshift ML 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

Amazon Redshift ML

  • Training is billed by SageMaker separately from Redshift, so a feature that looks like a free SQL statement produces a second line item on a different part of the bill that the analyst who ran it usually cannot see
  • Autopilot searches many candidate models by default and the duration and cost of CREATE MODEL scale with the data size and the MAX_CELLS setting, so an unconstrained statement against a large table is an expensive accident rather than an experiment
  • Local inference runs on the Redshift cluster itself, so scoring millions of rows competes for the resources the warehouse exists to provide, and the remote inference alternative adds a per-batch network call plus an hourly SageMaker endpoint charge that persists whether or not anyone queries it
  • The supported problem types are limited to what the exposed algorithms cover, so anything involving text, images, sequences, a custom loss function or a bespoke evaluation metric is out of scope and has to be built conventionally
  • There is no retraining schedule, drift detection or model registry, so a model created by a statement stays exactly as trained until somebody remembers to recreate it, and nothing in the warehouse will report that its accuracy has decayed

How much do Amazon DocumentDB and Amazon Redshift ML cost?

Amazon Redshift ML has a free plan, with paid plans from $0.25/mo. Plan by plan below, from each vendor's own pricing page.

Amazon DocumentDB

On request

No published plan breakdown. See the Amazon DocumentDB review.

Amazon Redshift ML

Free
  • Free TrialFree
    • 2-month trial
    • 750 DC2.Large hours
  • On-Demand$0.25/hour
    • Per-node pricing
    • SageMaker training

Which should you pick?

Choose Amazon DocumentDB if

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

Choose Amazon Redshift ML if

  • You need create model in sql.
  • You want to start without paying.
  • You also want automatic model selection.

Questions people ask

Is Amazon DocumentDB or Amazon Redshift ML better?
It depends on the job. Amazon DocumentDB fits migrating MongoDB workloads to AWS; Amazon Redshift ML fits adding a churn or propensity score to an existing dashboard where the data is already in Redshift and nobody needs a bespoke model. Amazon DocumentDB starts at On request and Amazon Redshift ML at Free.
Which is cheaper, Amazon DocumentDB or Amazon Redshift ML?
Amazon Redshift ML has a free tier; the other does not. Paid plans start at On request for Amazon DocumentDB and Free for Amazon Redshift ML.
Does Amazon DocumentDB or Amazon Redshift ML run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Amazon Redshift ML for free?
Yes. Amazon Redshift ML 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 Amazon Redshift ML is typically brought in for.
What can Amazon DocumentDB do that Amazon Redshift ML cannot?
Amazon DocumentDB covers MongoDB driver and tool compatibility, Managed patching, backups and monitoring, Serverless capacity scaling, Elastic clusters. Amazon Redshift ML covers CREATE MODEL in SQL, Automatic model selection, Local inference, Bring your own model.

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
Amazon Redshift ML: Does it require SageMaker?

Yes. Redshift ML is an interface; the training happens in SageMaker and needs an IAM role and an S3 bucket for the intermediate data.

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
Amazon Redshift ML: Is there an extra charge?

The SQL interface is part of Redshift, but the training runs as a SageMaker job charged at SageMaker rates, and a remote inference endpoint is billed for as long as it exists.

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
Amazon Redshift ML: What kinds of model can it build?

Regression, binary and multiclass classification through the automatic path, plus direct use of XGBoost, linear learner, multilayer perceptron and K-means. Anything beyond structured tabular prediction is out of scope.

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
Amazon Redshift ML: Can I use a model I trained myself?

Yes, through the bring-your-own-model path, either compiled into the cluster for local inference or called as a remote SageMaker endpoint.

Amazon Redshift ML: Does it retrain automatically?

No. Retraining means running CREATE MODEL again, on a schedule you build yourself, and nothing in the product monitors whether it is needed.

Share

Related pages

Other head to heads