# ParadeDB Beats TIN by 66x on Filtered and Sorted Search Queries

Original title: Solving Postgres' Count Problem

> Hacker News story 50269668 · language: en · submitted 2026-10-28
> Web version: https://zeli.app/story/50269668
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 41 · by [philippemnoel](<https://news.ycombinator.com/user?id=philippemnoel>) · 💬 3
[original](<https://www.paradedb.com/blog/opening-a-closed-tin-part-2>) · [HN discussion](<https://news.ycombinator.com/item?id=50269668>)

## Summary

ParadeDB's Ming Ying explains how segment partitioning by ctid, an inverted DocId-to-ctid map, and bitmap postings for dense terms cut COUNT query latency dramatically—visibility page accesses fell from 1,382 to 30. The post then tests filtered and time-sorted queries on Hacker News data, where ParadeDB outperforms TIN by 10x to 21.7x in throughput. Ying cautions that no single benchmark proves a "fastest" engine and urges testing your own queries.

## Key quote

> The only way to find out what's fastest for you (the reader) is to test your own queries on your own data.

---

## Cite

- Page: https://zeli.app/story/50269668
- Date: 2026-10-28
- Source: paradedb.com (https://www.paradedb.com/blog/opening-a-closed-tin-part-2)
- Hacker News: https://news.ycombinator.com/item?id=50269668

## Other languages

- zh: https://zeli.app/zh/story/50269668 · markdown: https://zeli.app/zh/story/50269668.md
- ja: https://zeli.app/ja/story/50269668 · markdown: https://zeli.app/ja/story/50269668.md
- ko: https://zeli.app/ko/story/50269668 · markdown: https://zeli.app/ko/story/50269668.md
- de: https://zeli.app/de/story/50269668 · markdown: https://zeli.app/de/story/50269668.md
- es: https://zeli.app/es/story/50269668 · markdown: https://zeli.app/es/story/50269668.md
- ru: https://zeli.app/ru/story/50269668 · markdown: https://zeli.app/ru/story/50269668.md
