mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
26b38bbe5b
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9631 GitOrigin-RevId: 64c40a30e3483fb0322ce9f2fbb2e9c1e3f1d9ba
1.2 KiB
1.2 KiB
Hasura + SQL (OLAP)
What do people like doing with SQL OLAP DBs?
- Use SQL to extract business insights from their data
- SQL syntax and power is very important
- Since data is not frequently written and comes from another source consistency is assumed once data is in the OLAP store
- Physical data modeling, normalization is not important
- Joins are not important, data is often denormalized
The Hasura + X story:
- Hasura makes OLAP stores high-concurrency and low-latency
- Query batching
- Caching
- Hasura brings end-user authz to aggregations API (on single tables)
- Hasura brings out the best of OLAP features using PMs
What Hasura needs to have to make Hasura + OLAP CDWs awesome:
- All single model features
- Aggregations roadmap:
- Group By
- CTEs, Pivot tables
- Parameterized models
- High-concurrency by batching queries per second
- Low-latency by allowing pre-warm caches
- Solutions guide to ETL data to a row-storage engine instead of columnar
- Async queries for slow running queries
Clickhouse specifics over and above:
- Support dictionaries instead of joins
- Support PKs and skip indices
Snowflake specifics over and above:
- Support time based snapshots in parameterized models