Skip to content

Comment on Show HN: s3-lambda – Lambda functions over S3 objects: each, map, reduce, filter

Comments

see also aws athena https://aws.amazon.com/athena/ ?

That seems cool but paying per query (per TB scanned) frightens me. I imagine having to fret about how efficient my queries are...

It's not that bad. You can compress the data on S3 in ORC or Parquet format, and you only pay for the compressed data you read, so 1TB can be 130GB after compression. Plus, these formats store summary data, so queries like SELECT COUNT don't have to do a full table scan - they can read just a few KB of summary data for the result.

But that's a lot of work....Just to have sane costs for reads of your data

It's actually just two commands:

1. hive 2. INSERT INTO parquet_table SELECT * FROM csv_table;

I did not know about this...looks like Amazon's version of BigQuery. Fantastic!

Somehow I'd overlooked this too: nice find

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.