AWS › Amazon Redshift & Data Warehousing
What is columnar storage, and why does Redshift use it?
BeginnerAnswer
Columnar storage organizes and stores data by column rather than by row, meaning that when a query only needs a few specific columns out of a table with dozens of columns, Redshift only needs to read the data for those specific columns, dramatically reducing the amount of data scanned and improving performance for the kind of aggregation heavy analytical queries data warehouses commonly run.
SELECT SUM(sales_amount) FROM transactions WHERE region = 'US';Real-world example A retail analytics query that only needs the sales amount and region columns from a table with fifty columns runs significantly faster in Redshift than it would in a traditional row based database, since Redshift only reads the two relevant columns.