do you think www.aws.org runs on aws?
For those inter st in the finest writing of all time https://www-allure-com.cdn.ampproject.org/v/s/www.allure.com/story/best-sex-tip-by-zodiac-sign/amp?amp_gsa=1&_js_v=a6&usqp=mq331AQKKAFQArABIIACAw%3D%3D#amp_tf=From%20%251%24s&aoh=16392879347932&referrer=https%3A%2F%2Fwww.google.com&share=https%3A%2F%2Fwww.allure.com%2Fstory%2Fbest-sex-tip-by-zodiac-sign
Features About Jobs Blog Sign Up Sign In The High-Performance SQL Blog Subscribe Thank you HyperLogLog in Pure SQL 29 May 2014 Earlier we showed how to make count distinct 50x faster with subqueries . Using probabilistic counting we'll make count distinct even faster, trading a little accuracy for the increase in speed. We'll optimize a very simple query, which calculates the daily distinct sessions for 5,000,000 gameplays (~150,000/day): select date ( created_at ), count ( distinct session_id ) from gameplays The original query takes 162.2s. The HyperLogLog version is 5.1x faster (31.5s) with a 3.7% error, and uses a small fraction of the RAM. Databases often implement count(distinct) in two ways: When there are few distinct elements, the database makes a hashset in RAM and then counts the keys. When there there are too many elements to fit in R...