Amazon RDS for PostgreSQL vs Amazon Redshift

Need advice about which tool to choose?Ask the StackShare community!

Amazon RDS for PostgreSQL

823
607
+ 1
40
Amazon Redshift

1.5K
1.4K
+ 1
108
Add tool

Amazon RDS for PostgreSQL vs Amazon Redshift: What are the differences?

## Introduction

Amazon RDS for PostgreSQL and Amazon Redshift are both popular data storage solutions offered by Amazon Web Services (AWS), each tailored for specific use cases. Here are the key differences between the two services:

1. **Database Type**:
Amazon RDS for PostgreSQL is a managed relational database service that supports PostgreSQL, a powerful open-source object-relational database system. On the other hand, Amazon Redshift is a fully managed data warehouse service that is optimized for online analytical processing (OLAP) workloads and is based on a modified version of PostgreSQL.

2. **Use Case**:
Amazon RDS for PostgreSQL is ideal for OLTP (Online Transaction Processing) applications that require ACID-compliant transactions and relational database features. In contrast, Amazon Redshift is specifically designed for running complex queries on large datasets for analytics and business intelligence purposes, making it suitable for decision support workloads.

3. **Scalability**:
Amazon RDS for PostgreSQL allows you to scale your database vertically by resizing the instance, storage, or implementing read replicas. Amazon Redshift, on the other hand, is designed for horizontal scalability, allowing you to add additional nodes to your cluster to increase storage and computing capacity as needed.

4. **Data Modeling**:
In Amazon RDS for PostgreSQL, data modeling follows traditional relational database principles with normalized tables and relationships. Conversely, Amazon Redshift encourages denormalized data models to optimize query performance, allowing for greater parallelism in processing large volumes of data.

5. **Concurrency**:
Amazon RDS for PostgreSQL supports high levels of concurrent transactions typical of OLTP workloads. In contrast, Amazon Redshift is optimized for handling high levels of concurrent queries for analytics, leveraging massively parallel processing (MPP) to speed up query performance on large datasets.

6. **Cost Structure**:
While both services offer a pay-as-you-go pricing model, Amazon RDS for PostgreSQL is typically more cost-effective for small to medium-sized relational database workloads, whereas Amazon Redshift may be more cost-efficient for organizations dealing with extensive data warehousing and analytics requirements due to its optimized architecture.

In Summary, Amazon RDS for PostgreSQL is a managed relational database service optimized for OLTP workloads, while Amazon Redshift is a fully managed data warehouse service tailored for analytics and business intelligence tasks.

Advice on Amazon RDS for PostgreSQL and Amazon Redshift

We need to perform ETL from several databases into a data warehouse or data lake. We want to

  • keep raw and transformed data available to users to draft their own queries efficiently
  • give users the ability to give custom permissions and SSO
  • move between open-source on-premises development and cloud-based production environments

We want to use inexpensive Amazon EC2 instances only on medium-sized data set 16GB to 32GB feeding into Tableau Server or PowerBI for reporting and data analysis purposes.

See more
Replies (3)
John Nguyen
Recommends
on
AirflowAirflowAWS LambdaAWS Lambda

You could also use AWS Lambda and use Cloudwatch event schedule if you know when the function should be triggered. The benefit is that you could use any language and use the respective database client.

But if you orchestrate ETLs then it makes sense to use Apache Airflow. This requires Python knowledge.

See more
Recommends
on
AirflowAirflow

Though we have always built something custom, Apache airflow (https://airflow.apache.org/) stood out as a key contender/alternative when it comes to open sources. On the commercial offering, Amazon Redshift combined with Amazon Kinesis (for complex manipulations) is great for BI, though Redshift as such is expensive.

See more
Recommends

You may want to look into a Data Virtualization product called Conduit. It connects to disparate data sources in AWS, on prem, Azure, GCP, and exposes them as a single unified Spark SQL view to PowerBI (direct query) or Tableau. Allows auto query and caching policies to enhance query speeds and experience. Has a GPU query engine and optimized Spark for fallback. Can be deployed on your AWS VM or on prem, scales up and out. Sounds like the ideal solution to your needs.

See more

Considering moving part of our PostgreSQL database infrastructure to the cloud, however, not quite sure between AWS, Heroku, Azure and Google cloud. Things to consider: The main reason is for backing up and centralize all our data in the cloud. With that in mind the main elements are: -Pricing for storage. -Small team. -No need for high throughput. -Support for docker swarm and Kubernetes.

See more
Replies (2)
David Weinberg

Good balance between easy to manage, pricing, docs and features.

See more
Max Musing
Founder & CEO at BaseDash · | 1 upvotes · 51.5K views

DigitalOcean's offering is pretty solid. Easy to scale, great UI, automatic daily backups, decent pricing.

See more
Decisions about Amazon RDS for PostgreSQL and Amazon Redshift
Julien Lafont

Cloud Data-warehouse is the centerpiece of modern Data platform. The choice of the most suitable solution is therefore fundamental.

Our benchmark was conducted over BigQuery and Snowflake. These solutions seem to match our goals but they have very different approaches.

BigQuery is notably the only 100% serverless cloud data-warehouse, which requires absolutely NO maintenance: no re-clustering, no compression, no index optimization, no storage management, no performance management. Snowflake requires to set up (paid) reclustering processes, to manage the performance allocated to each profile, etc. We can also mention Redshift, which we have eliminated because this technology requires even more ops operation.

BigQuery can therefore be set up with almost zero cost of human resources. Its on-demand pricing is particularly adapted to small workloads. 0 cost when the solution is not used, only pay for the query you're running. But quickly the use of slots (with monthly or per-minute commitment) will drastically reduce the cost of use. We've reduced by 10 the cost of our nightly batches by using flex slots.

Finally, a major advantage of BigQuery is its almost perfect integration with Google Cloud Platform services: Cloud functions, Dataflow, Data Studio, etc.

BigQuery is still evolving very quickly. The next milestone, BigQuery Omni, will allow to run queries over data stored in an external Cloud platform (Amazon S3 for example). It will be a major breakthrough in the history of cloud data-warehouses. Omni will compensate a weakness of BigQuery: transferring data in near real time from S3 to BQ is not easy today. It was even simpler to implement via Snowflake's Snowpipe solution.

We also plan to use the Machine Learning features built into BigQuery to accelerate our deployment of Data-Science-based projects. An opportunity only offered by the BigQuery solution

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Amazon RDS for PostgreSQL
Pros of Amazon Redshift
  • 25
    Easy setup, backup, monitoring
  • 13
    Geospatial support
  • 2
    Master-master replication using Multi-AZ instance
  • 41
    Data Warehousing
  • 27
    Scalable
  • 17
    SQL
  • 14
    Backed by Amazon
  • 5
    Encryption
  • 1
    Cheap and reliable
  • 1
    Isolation
  • 1
    Best Cloud DW Performance
  • 1
    Fast columnar storage

Sign up to add or upvote prosMake informed product decisions

No Stats

What is Amazon RDS for PostgreSQL?

Amazon RDS manages complex and time-consuming administrative tasks such as PostgreSQL software installation and upgrades, storage management, replication for high availability and back-ups for disaster recovery. With just a few clicks in the AWS Management Console, you can deploy a PostgreSQL database with automatically configured database parameters for optimal performance. Amazon RDS for PostgreSQL database instances can be provisioned with either standard storage or Provisioned IOPS storage. Once provisioned, you can scale from 10GB to 3TB of storage and from 1,000 IOPS to 30,000 IOPS.

What is Amazon Redshift?

It is optimized for data sets ranging from a few hundred gigabytes to a petabyte or more and costs less than $1,000 per terabyte per year, a tenth the cost of most traditional data warehousing solutions.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Amazon RDS for PostgreSQL?
What companies use Amazon Redshift?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Amazon RDS for PostgreSQL?
What tools integrate with Amazon Redshift?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Jul 9 2019 at 7:22PM

Blue Medora

DockerPostgreSQLNew Relic+8
11
2472
DockerAmazon EC2Scala+8
6
2859
GitHubPythonReact+42
49
41221
GitHubPythonNode.js+47
55
73204
JavaScriptGitHubPython+42
53
22497
What are some alternatives to Amazon RDS for PostgreSQL and Amazon Redshift?
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.
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.
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.
Redis
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.
Amazon S3
Amazon Simple Storage Service provides a fully redundant data storage infrastructure for storing and retrieving any amount of data, at any time, from anywhere on the web
See all alternatives