Softwr

Cloud · head to head

Amazon S3 vs MySQL

Amazon S3 logo

Amazon S3

Cloud

Amazon Web Services' pay-as-you-go object storage service

From
On request
Free plan
No
MySQL logo

MySQL

Databases

Open source database

From
Free
Free plan
Yes

The short version

  • MySQL is an open-source relational database management system.
  • MySQL starts at $2000/yr; Amazon S3 prices on request.
  • Only Amazon S3 lists object storage in buckets; only MySQL lists ACID compliance.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.
  • Where MySQL falls short: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component.

How do Amazon S3 and MySQL differ?

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

Attributes where Amazon S3 and MySQL differ
AttributeAmazon S3MySQL
Starting priceOn requestFree
Pricing modelUsage-basedFreemium
Free tierNoYes
PlatformsWebWindows, macOS, Linux
CategoryCloudDatabases

Not yet recorded: founded for Amazon S3.

Which features does each one have?

They share 1 listed feature; 8 appear only for Amazon S3 and 19 only for MySQL. 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 S3

  • Object storage in buckets
  • Multiple storage classes including Glacier
  • S3 Intelligent-Tiering
  • Versioning
  • Encryption by default
  • Static website hosting
  • Time-limited authenticated URLs
  • Multipart upload

Only in MySQL

  • ACID compliance
  • SQL support
  • Multi-version concurrency control
  • Partitioning
  • Stored procedures
  • Triggers
  • Views
  • PHP

Both cover

  • Replication

What is each one used for?

Amazon S3 is most often brought in for data lake storage for analytics; MySQL for web application backend. The jobs each tool is most often brought in to do.

Amazon S3

  • Data lake storage for analyticsnot MySQL
  • Application and mobile app file storagenot MySQL
  • Long-term archives in Glacier classesnot MySQL
  • Static website hostingnot MySQL

MySQL

  • Web application backendnot Amazon S3
  • E-commerce platformsnot Amazon S3
  • Content management systemsnot Amazon S3
  • Data warehousingnot Amazon S3
  • Business applicationsnot Amazon S3

Where do Amazon S3 and MySQL fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. MySQL's: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon S3

  • Billing depends on storage class, requests and transfer, so total cost is hard to predict
  • Outbound internet data transfer is charged beyond the first 100 GB per month
  • Objects larger than 5 GB need multipart upload because single uploads are capped at 5 GB
  • Versioning is disabled by default and must be switched on per bucket
  • Available only on AWS; moving data elsewhere means egress and re-integration work

MySQL

  • Hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component
  • Transparent Data Encryption, data masking and de-identification are Enterprise Edition only
  • MySQL Enterprise Firewall, which guards against SQL injection, and MySQL Enterprise Audit are both paid components
  • External authentication against PAM or Windows Active Directory requires MySQL Enterprise Authentication
  • The thread pool ships as MySQL Enterprise Scalability rather than in the community build

How much do Amazon S3 and MySQL cost?

MySQL has a free plan, with paid plans from $2000/yr. Plan by plan below, from each vendor's own pricing page.

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

MySQL

Free
  • Community EditionFree
    • Open source license
    • Full SQL support
    • InnoDB storage engine
  • Standard Edition$2,000/yr
    • Commercial license
    • Oracle Premier Support
    • MySQL Enterprise backup
  • Enterprise Edition$5,000/yr
    • Advanced security
    • MySQL Enterprise Monitor
    • High Availability

Which should you pick?

Choose Amazon S3 if

  • You need object storage in buckets.
  • You also want multiple storage classes including glacier.

Choose MySQL if

  • You need acid compliance.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sql support.

Questions people ask

Is Amazon S3 or MySQL better?
It depends on the job. Amazon S3 fits data lake storage for analytics; MySQL fits web application backend. Amazon S3 starts at On request and MySQL at Free.
Which is cheaper, Amazon S3 or MySQL?
MySQL has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for MySQL.
Does Amazon S3 or MySQL run on more platforms?
Amazon S3 runs on Web. MySQL runs on Windows, macOS, Linux.
Can I use MySQL for free?
Yes. MySQL has a free tier, so you can try it without paying. Amazon S3 starts at On request.
What is Amazon S3 best used for?
Amazon S3 is most often used for data lake storage for analytics, application and mobile app file storage, long-term archives in glacier classes, static website hosting. Of those, data lake storage for analytics and application and mobile app file storage are not what MySQL is typically brought in for.
What can Amazon S3 do that MySQL cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning. MySQL covers ACID compliance, SQL support, Multi-version concurrency control, Partitioning. Both handle Replication.

Answered from the vendors’ own pages

Amazon S3: What is Amazon S3?

Amazon S3 is an object storage service from AWS, described as built to retrieve any amount of data from anywhere. It is used for data lakes, cloud-native applications and mobile apps.

Source
MySQL: Does MySQL cost money?

MySQL is primarily open-source and free to use. Commercial editions and support services are available but pricing is not published on the main website.

Source
Amazon S3: How is S3 priced?

AWS says the cost depends on object size, storage duration and storage class, with no minimum charge. Inbound transfer from the internet is free, as are transfers between buckets in the same Region, and the first 100 GB per month out to the internet is free.

Source
MySQL: How do I get MySQL pricing information?

For MySQL commercial editions and support pricing, customers can contact MySQL sales directly at +1-866-221-0634 or navigate to individual product pages.

Source
Amazon S3: What is the maximum object size in S3?

Objects can be up to 5 TB. A single upload operation is capped at 5 GB, so larger objects use the multipart upload API.

Source
Amazon S3: Is S3 versioning on by default?

No. Versioning is available but disabled by default. Default bucket-level encryption was added in November 2017.

Source
Share

Related pages

Other head to heads