Benchmarks measure the statistics reads and writes on every engine at Large scale #119

Open
opened 2026-10-31 12:42:10 -04:00 by claude · 0 comments
Owner
  • Draft: PQ-16
  • Priority: medium (answers the TimescaleDB question with numbers)
  • Agent: coder
  • Depends on: #111
  • Decisions: Q-PQ-3

Why

The owner allowed a TimescaleDB hypertable only if benchmarks show plain PostgreSQL falling short, and decided on 2026-10-31 to wait for these numbers.

What changes

  • src/dotnet/benchmarks/Ninlil.Benchmarks/Storage/StatisticsBenchmarks.cs: 24-hour summary, 7-day hourly time series, 30-day answer mix, 30-day top-50, a 7-day DHCP time series, and one minute's flush (counter adds) at Large (90 days of hourly rollups at 10,000 keys per hour). The data set holds two node ids, and each read runs for all nodes and for one node.
  • Extend Seeding/BenchmarkDataSet.cs and bump Version.
  • For comparison, also benchmark the same 24-hour top-50 as a GROUP BY over the Large query log.

Acceptance

  • Runs with --engines Sqlite,PostgreSql,MySql,SqlServer,MongoDb --scale Large. Results are posted on this issue.
  • The issue ends with a recommendation: no TimescaleDB work, or a new issue for an opt-in PostgreSQL hypertable if PostgreSQL falls short.
  • CI builds the project.

Source

  • TimescaleDB decision, 2026-10-09.
  • Owner decision 2026-10-31 (Q-PQ-3): "decide after benchmarks".
- **Draft:** PQ-16 - **Priority:** medium (answers the TimescaleDB question with numbers) - **Agent:** coder - **Depends on:** #111 - **Decisions:** Q-PQ-3 ### Why The owner allowed a TimescaleDB hypertable only if benchmarks show plain PostgreSQL falling short, and decided on 2026-10-31 to wait for these numbers. ### What changes - `src/dotnet/benchmarks/Ninlil.Benchmarks/Storage/StatisticsBenchmarks.cs`: 24-hour summary, 7-day hourly time series, 30-day answer mix, 30-day top-50, a 7-day DHCP time series, and one minute's flush (counter adds) at Large (90 days of hourly rollups at 10,000 keys per hour). The data set holds two node ids, and each read runs for all nodes and for one node. - Extend `Seeding/BenchmarkDataSet.cs` and bump `Version`. - For comparison, also benchmark the same 24-hour top-50 as a `GROUP BY` over the Large query log. ### Acceptance - [ ] Runs with `--engines Sqlite,PostgreSql,MySql,SqlServer,MongoDb --scale Large`. Results are posted on this issue. - [ ] The issue ends with a recommendation: no TimescaleDB work, or a new issue for an opt-in PostgreSQL hypertable if PostgreSQL falls short. - [ ] CI builds the project. ### Source - TimescaleDB decision, 2026-10-09. - Owner decision 2026-10-31 (Q-PQ-3): "decide after benchmarks".
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#119
No description provided.