Live data from Hacker News

Viewing profile — ethanseal

ethanseal

HN member
Joined
Tue, Nov 24, 2020, 2:55 AM UTC
HN karma
110
Public activity
16 items

About ethanseal

ethanseal.com

Recent public activity

  1. story
  2. story
  3. story
  4. comment
    Comment #45426278

    Exactly the same one from what I see: https://github.com/ethan-seal/ors_expensive/blob/main/explai... Given the buffer reads seem close to yours, I believe it's page cache.

  5. comment
    Comment #45425615

    When you say cold cache, did you clear the os page cache as well as the postgres buffercaches? After setup.sql, the cache will be warmish - I get 4ms on the first run. I'm using po…

  6. comment
    Comment #45421645

    Materialized views in Postgres don't update incrementally as the data in the relevant tables updates.^1 In order to keep it up to date, the developer has to tell postgres to refres…

  7. comment
    Comment #45421576

    GIS is underrated. This is awesome! Have you looked into speaking with the various SHPOs in each US State/Territory? I've worked with several of them a fair bit and they have a ton…

  8. story
  9. comment
    Comment #45419622

    I think having a way to build statistics on the join itself would be helpful for this. Similar to how extended statistics^1 can help when column distributions aren't independent of…

  10. comment
    Comment #45419576

    Highly recommend https://use-the-index-luke.com/ It's very readable - I always ask new hires and interns to read it.

  11. comment
    Comment #45419553

    Cool. I'll have to read up on that.

  12. comment
    Comment #45419313

    For sure, there's definitely a lot of cool techniques (and I'm not aware of all of them)! And the first example is very much contrived to show a small example. I'm not super famili…

  13. comment
    Comment #45419116

    Gotcha, I misunderstood your comment. The multiple counts is a definitely very contrived example to demonstrate the overhead of BitmapOr and general risk of sequential scans.

  14. comment
  15. comment
    Comment #45418858

    Absolutely. Though I don't recall seeing multiple sequential scans without a self-join or subquery. A basic filter within a sequential scan/loop is the most naive/simplest way of p…

  16. story