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

Amazon Redshift

1.5K
1.4K
+ 1
108
PostGIS

365
369
+ 1
30
Add tool

Amazon Redshift vs PostGIS: What are the differences?

Introduction

Amazon Redshift and PostGIS are both popular technologies used for data management and analysis, but they have key differences that make them unique in their own ways. In this article, we will explore the key differences between Amazon Redshift and PostGIS, providing specific details for each difference.

  1. Scalability: Amazon Redshift is designed for large-scale data warehousing and analytics. It offers massive parallel processing capabilities, allowing it to handle petabytes of data and support thousands of concurrent users. On the other hand, PostGIS is an extension to the PostgreSQL database, which means it inherits PostgreSQL's scalability capabilities. While it can handle large datasets, it may not be as optimized for big data analytics as Amazon Redshift.

  2. Geospatial Capabilities: PostGIS is primarily focused on geospatial data management and analysis. It provides advanced geospatial functions and supports spatial indexing, allowing users to efficiently perform spatial queries and analysis. Amazon Redshift, on the other hand, does not have native geospatial capabilities. However, it can still store and process geospatial data using custom data structures and functions.

  3. Data Modeling: In Amazon Redshift, data is typically stored in a columnar format, which allows for efficient compression and query performance. It is optimized for analytical workloads and is well-suited for complex data modeling and analysis. PostGIS, on the other hand, follows a more traditional row-based storage model, which may not be as efficient for analytical workloads. However, it provides more flexibility for general-purpose data management and supports a wide range of data types.

  4. Data Import and Export: Amazon Redshift offers seamless integration with various data sources and provides easy-to-use tools for data import and export. It supports ingestion of large datasets from various sources such as Amazon S3, Amazon DynamoDB, and Amazon RDS. PostGIS, being an extension of PostgreSQL, also offers robust data import and export capabilities. It supports a wide range of file formats and provides various tools for data migration and synchronization.

  5. Data Processing Capabilities: Amazon Redshift provides a highly optimized query engine that is specifically designed for analytical workloads. It supports complex query optimizations, parallel processing, and query acceleration techniques such as zone maps and columnar storage. PostGIS, on the other hand, leverages the PostgreSQL query engine, which is well-suited for general-purpose data processing but may not have the same level of optimization for analytical workloads. However, PostGIS provides an extensive set of geospatial functions and operators, which can be beneficial for geospatial analysis.

  6. Cost: Amazon Redshift follows a pay-as-you-go pricing model, where users are billed based on their actual usage. It offers different pricing options based on usage patterns and provides cost-effective storage and processing options for large-scale data analytics. PostGIS, being an open-source extension, is free to use. However, users still need to consider the cost of hosting and managing the underlying infrastructure, which can vary based on the specific deployment.

In summary, Amazon Redshift is a powerful data warehousing and analytics platform that offers scalability, optimized query performance, and seamless integration with various data sources. It is well-suited for large-scale data analytics and complex data modeling. On the other hand, PostGIS is primarily focused on geospatial data management and analysis. It provides advanced geospatial functions and supports spatial indexing, making it a preferred choice for geospatial applications. However, it may not have the same level of optimization for analytical workloads as Amazon Redshift.

Advice on Amazon Redshift and PostGIS

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
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Amazon Redshift
Pros of PostGIS
  • 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
  • 25
    De facto GIS in SQL
  • 5
    Good Documentation

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

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.

What is PostGIS?

PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.

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

What companies use Amazon Redshift?
What companies use PostGIS?
See which teams inside your own company are using Amazon Redshift or PostGIS.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Amazon Redshift?
What tools integrate with PostGIS?

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
2338
JavaScriptGitHubNode.js+26
20
4960
JavaScriptGitHubPython+42
53
21900
GitHubMySQLSlack+44
109
50675
What are some alternatives to Amazon Redshift and PostGIS?
Google BigQuery
Run super-fast, SQL-like queries against terabytes of data in seconds, using the processing power of Google's infrastructure. Load data with ease. Bulk load your data using Google Cloud Storage or stream it in. Easy access. Access BigQuery by using a browser tool, a command-line tool, or by making calls to the BigQuery REST API with client libraries such as Java, PHP or Python.
Amazon Athena
Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.
Amazon DynamoDB
With it , you can offload the administrative burden of operating and scaling a highly available distributed database cluster, while paying a low price for only what you use.
Amazon Redshift Spectrum
With Redshift Spectrum, you can extend the analytic power of Amazon Redshift beyond data stored on local disks in your data warehouse to query vast amounts of unstructured data in your Amazon S3 “data lake” -- without having to load or transform any data.
Hadoop
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
See all alternatives