Softwr

Databases · head to head

Amazon SNS vs MySQL

Amazon SNS logo

Amazon SNS

Databases

Publish-subscribe messaging and mobile push, billed per request and per delivery

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 SNS prices on request.
  • Only Amazon SNS lists topics and subscriptions; only MySQL lists ACID compliance.
  • Where Amazon SNS falls short: SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill.
  • 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 SNS and MySQL differ?

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

Attributes where Amazon SNS and MySQL differ
AttributeAmazon SNSMySQL
Starting priceOn requestFree
Pricing modelPer request and per delivery, by protocolFreemium
Free tierNoYes
PlatformsWeb, iOS, Android, LinuxWindows, macOS, Linux

Not yet recorded: category for Amazon SNS, founded for Amazon SNS.

Which features does each one have?

They share no listed features; 6 appear only for Amazon SNS and 20 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 SNS

  • Topics and subscriptions
  • FIFO topics
  • Message filtering
  • Mobile push
  • SMS and email
  • Message archiving and replay

Only in MySQL

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

What is each one used for?

Amazon SNS is most often brought in for fanning one order event out to billing, fulfilment and analytics queues; MySQL for web application backend. The jobs each tool is most often brought in to do.

Amazon SNS

  • Fanning one order event out to billing, fulfilment and analytics queuesnot MySQL
  • Sending operational alerts from CloudWatch alarms to email and chat webhooksnot MySQL
  • Mobile push notifications for an app without running a push gatewaynot MySQL
  • Pairing with SQS FIFO for ordered event distribution across servicesnot MySQL

MySQL

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

Where do Amazon SNS and MySQL fall short?

Amazon SNS's most cited limit: payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes. 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 SNS

  • SMS pricing varies by country and can be expensive on international traffic, so an unbounded alert integration can generate a large bill
  • There is no message persistence for slow subscribers beyond delivery retries, so consumers that fall behind can lose messages unless an SQS queue sits between
  • It lacks the audience management, templating and campaign analytics of a marketing platform, so it cannot replace a customer messaging tool
  • Payload-based filtering is charged per GB scanned per subscription, which adds cost at high volumes
  • Delivery to HTTP endpoints requires your endpoint to confirm subscriptions and cope with retries and duplicates

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 SNS 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 SNS

On request
  • Publishes and mobile pushOn request
    • First 1 million requests free, then $0.50 per million
    • Mobile push free for the first 1 million, then $0.50 per million
  • HTTP, HTTPS and emailOn request
    • HTTP and HTTPS: first 100,000 free, then $0.60 per million
    • Email: first 1,000 free, then $2.00 per 100,000
    • SQS and Lambda deliveries: no per-delivery charge
  • SMSOn request
    • Priced per message by destination country, see the SNS pricing page
    • Not covered by the free tier in most regions

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 SNS if

  • You need topics and subscriptions.
  • You work on Web, iOS, Android, Linux.
  • You also want fifo topics.

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 SNS or MySQL better?
It depends on the job. Amazon SNS fits fanning one order event out to billing, fulfilment and analytics queues; MySQL fits web application backend. Amazon SNS starts at On request and MySQL at Free.
Which is cheaper, Amazon SNS or MySQL?
MySQL has a free tier; the other does not. Paid plans start at On request for Amazon SNS and Free for MySQL.
Does Amazon SNS or MySQL run on more platforms?
Amazon SNS runs on Web, iOS, Android, Linux. 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 SNS starts at On request.
What is Amazon SNS best used for?
Amazon SNS is most often used for fanning one order event out to billing, fulfilment and analytics queues, sending operational alerts from cloudwatch alarms to email and chat webhooks, mobile push notifications for an app without running a push gateway, pairing with sqs fifo for ordered event distribution across services. Of those, fanning one order event out to billing, fulfilment and analytics queues and sending operational alerts from cloudwatch alarms to email and chat webhooks are not what MySQL is typically brought in for.
What can Amazon SNS do that MySQL cannot?
Amazon SNS covers Topics and subscriptions, FIFO topics, Message filtering, Mobile push. MySQL covers ACID compliance, SQL support, Multi-version concurrency control, Replication.

Answered from the vendors’ own pages

Amazon SNS: Is Amazon SNS free?

The first 1 million requests per month are free, plus small free allowances for HTTP and email deliveries, per AWS. SMS is not free.

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 SNS: Does SNS keep messages?

Standard topics do not store messages for slow subscribers; durability comes from subscribing an SQS queue.

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 SNS: Can I send email with SNS?

Yes, for alerts, but it is plain notification email. Amazon SES is the service for transactional and bulk email.

Share

Related pages

Other head to heads