Tanel Poder
banner
tanelpoder.com
Tanel Poder
@tanelpoder.com
Creator of https://0x.tools, also a long-time computer performance geek. Perf & troubleshooting blog: tanelpoder.com. All onions are mine.
Also just fixed a "bug" in my yesterday's writing - it was late and I had picked a number from a wrong column for one explanation! :-)

And that's exactly why I added the computed "optimizer cardinality misestimate" column to my XB scripts, so I wouldn't have to do such lookups & math manually.
November 3, 2025 at 3:59 PM
But yeah, most of my demos use fewer partitions to keep things manageable
October 31, 2025 at 6:38 PM
Telco CDR & usage records etc, seen 15 min time partitions with 1024 hash sub-partitions for each time range in the past 😀

Or if you have hourly time partitioning then 10 years of history will be 100k partitions
October 31, 2025 at 6:36 PM
I've already figured out how to add (dynamically at-runtime chosen) any function call latency tracking into the next release too 😎
October 30, 2025 at 4:57 AM
In big Oracle data warehouse world, some setups relied on the ETL engine for referential consistency (no DB constraints that would have required an index used), but then these constraints were still “virtually enabled” (Oracle has a NOVALIDATE RELY mode) for helping the optimizer to help you more 😀
October 29, 2025 at 3:59 PM
It’s worth noting that enabled & validated constraints also give the optimizer additional paths for query optimization if it has guarantees that some column is never null or is guaranteed to be unique or must have a counterpart row behind that foreign key, etc
October 29, 2025 at 3:56 PM