Memcached vs MySQL vs PostgreSQL

Memcached
Memcached

2.5K
1.3K
451
MySQL
MySQL

20.8K
5.5K
3.7K
PostgreSQL
PostgreSQL

14.9K
5.2K
3.4K

What is Memcached?

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

What is MySQL?

The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

What is PostgreSQL?

PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Memcached?
Why do developers choose MySQL?
Why do developers choose PostgreSQL?
What are the cons of using Memcached?
What are the cons of using MySQL?
What are the cons of using PostgreSQL?
    Be the first to leave a con
    What companies use Memcached?
    What companies use MySQL?
    What companies use PostgreSQL?
    What are some alternatives to Memcached, MySQL, and PostgreSQL?
    Redis
    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
    Ehcache
    Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.
    Varnish
    Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
    Hazelcast
    With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    See all alternatives
    What tools integrate with Memcached?
    What tools integrate with MySQL?
    What tools integrate with PostgreSQL?
      No integrations found
        No integrations found
          No integrations found
          Decisions about Memcached, MySQL, and PostgreSQL
          No stack decisions found
          Interest over time
          Reviews of Memcached, MySQL, and PostgreSQL
          No reviews found
          How developers use Memcached, MySQL, and PostgreSQL
          Avatar of AngeloR
          AngeloR uses PostgreSQLPostgreSQL

          We use postgresql for the merge between sql/nosql. A lot of our data is unstructured JSON, or JSON that is currently in flux due to some MVP/interation processes that are going on. PostgreSQL gives the capability to do this.

          At the moment PostgreSQL on amazon is only at 9.5 which is one minor version down from support for document fragment updates which is something that we are waiting for. However, that may be some ways away.

          Other than that, we are using PostgreSQL as our main SQL store as a replacement for all the MSSQL databases that we have. Not only does it have great support through RDS (small ops team), but it also has some great ways for us to migrate off RDS to managed EC2 instances down the line if we need to.

          Avatar of Cloudcraft
          Cloudcraft uses PostgreSQLPostgreSQL

          PostgreSQL combines the best aspects of traditional SQL databases such as reliability, consistent performance, transactions, querying power, etc. with the flexibility of schemaless noSQL systems that are all the rage these days. Through the powerful JSON column types and indexes, you can now have your cake and eat it too! PostgreSQL may seem a bit arcane and old fashioned at first, but the developers have clearly shown that they understand databases and the storage trends better than almost anyone else. It definitely deserves to be part of everyone's toolbox; when you find yourself needing rock solid performance, operational simplicity and reliability, reach for PostgresQL.

          Avatar of Brandon Adams
          Brandon Adams uses PostgreSQLPostgreSQL

          Relational data stores solve a lot of problems reasonably well. Postgres has some data types that are really handy such as spatial, json, and a plethora of useful dates and integers. It has good availability of indexing solutions, and is well-supported for both custom modifications as well as hosting options (I like Amazon's Postgres for RDS). I use HoneySQL for Clojure as a composable AST that translates reliably to SQL. I typically use JDBC on Clojure, usually via org.clojure/java.jdbc.

          Avatar of Rajeshkumar T
          Rajeshkumar T uses MySQLMySQL
          • We are used MySQL database to build the Online Food Ordering System

            • Its best support normalization and all joins ( Restaurant details & Ordering, customer management, food menu, order transaction & food delivery).
            • Best for performance and structured the data.
            • Its help to stored the instant updates received from food delivery app ( update the real-time driver GPS location).
          Avatar of Srinivas Adireddi
          Srinivas Adireddi uses MySQLMySQL

          1.It's very popular. Heared about it in Database class 2. The most comprehensive set of advanced features, management tools and technical support to achieve the highest levels of MySQL scalability, security, reliability, and uptime. 3. MySQL is an open-source relational database management system. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.

          Avatar of ShadowICT
          ShadowICT uses MySQLMySQL

          We use MySQL and variants thereof to store the data for our projects such as the community. MySQL being a well established product means that support is available whenever it is required along with an extensive list of support articles all over the web for diagnosing issues. Variants are also used where needed when, for example, better performance is needed.

          Avatar of ReviewTrackers
          ReviewTrackers uses PostgreSQLPostgreSQL

          PostgreSQL is responsible for nearly all data storage, validation and integrity. We leverage constraints, functions and custom extensions to ensure we have only one source of truth for our data access rules and that those rules live as close to the data as possible. Call us crazy, but ORMs only lead to ruin and despair.

          Avatar of shridhardalavi
          shridhardalavi uses MySQLMySQL

          MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and managing content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use.

          Avatar of Jeff Flynn
          Jeff Flynn uses PostgreSQLPostgreSQL

          Tried MongoDB - early euphoria - later dread. Tried MySQL - not bad at all. Found PostgreSQL - will never go back. So much support for this it should be your first choice. Simple local (free) installation, and one-click setup in Heroku - lots of options in terms of pricing/performance combinations.

          Avatar of John Galbraith
          John Galbraith uses MySQLMySQL

          I am not using this DB for blog posts or data stored on the site. I am using to track IP addresses and fully qualified domain names of attacker machines that either posted spam on my website, pig flooded me, or had more that a certain number of failed SSH attempts.

          Avatar of Reactor Digital
          Reactor Digital uses MemcachedMemcached

          As part of the cacheing system within Drupal.

          Memcached mainly took care of creating and rebuilding the REST API cache once changes had been made within Drupal.

          Avatar of Casey Smith
          Casey Smith uses MemcachedMemcached

          Distributed cache exposed through Google App Engine APIs; use to stage fresh data (incoming and recently processed) for faster access in data processing pipeline.

          Avatar of The Independent
          The Independent uses MemcachedMemcached

          Memcache caches database results and articles, reducing overall DB load and allowing seamless DB maintenance during quiet periods.

          Avatar of eXon Technologies
          eXon Technologies uses MemcachedMemcached

          Used to cache most used files for our clients. Connected with CloudFlare Railgun Optimizer.

          Avatar of ScholaNoctis
          ScholaNoctis uses MemcachedMemcached

          Memcached is used as a simple page cache across the whole application.

          How much does Memcached cost?
          How much does MySQL cost?
          How much does PostgreSQL cost?
          Pricing unavailable
          Pricing unavailable
          Pricing unavailable