Cost-Effective BigQuery Design for Streaming Data with Views and Deduplication
In streaming data pipelines, append-only tables often accumulate duplicate records when ingestion occurs through Kafka and Dataflow into BigQuery. SQL views with window functions are commonly used to retrieve the latest record per primary key, but this causes full table scans and high query costs. This paper outlines the challenges and presents SQL-based optimization strategies for cost-effective BigQuery performance.
Publication Details
- Journal
- International Journal of Computer Science and Mobile Computing
- Published
- 2024-09-30
- DOI
- https://doi.org/10.47760/ijcsmc.2024.v13i09.006
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00