View all newsletters
Receive our newsletter - data, insights and analysis delivered to you
  1. Technology
May 12, 2015

Amazon simplifies data in Redshift

The addition of Interleaved Sort Keys creates an effective way of searching on multiple columns.

By James Nunns

Amazon Redshift has made it easier to analyse and filter data with Interleaved Sort Keys.

The addition of the sort keys means that fast filter queries can be achieved without the need for indices or projections.
Interleaved sorts are an effective way of searching through selective queries which will filter on multiple columns.

Jeff Barr, Chief Evangelist, AWS, wrote on the company blog explaining what this is: "Let’s say you have a table with 100,000 1 MB blocks per column, and you often filter on one or more of four columns (date, customer, product, geography)."

"You can create a compound sort key, sorting first by date, then customer, product, and finally geography. This will work well if your query filters on date, but can require a table scan of all 100,000 blocks if you only filter by geographic region."

This can be particularly useful for single-column keys as it can compress the key column and allow, for example, URL’s to fit into the zone map.

However, if the columns query that are used are always the same then compound sort keys may remain the better option.

The interleaved feature will be deployed in every region over the next seven days.

Content from our partners
Powering AI’s potential: turning promise into reality
Unlocking growth through hybrid cloud: 5 key takeaways
How businesses can safeguard themselves on the cyber frontline

Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how Progressive Media Investments may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU