Research Articles
Incremental Materialization with Source Revisions: Baseline Load
Elena Saltmere (Distributed Systems Group, Ravenmere Technical University), Uma Brookvala (Distributed Systems Group, Cairnwell Research Institute), Devon Havenford (Machine Learning Laboratory, Ravenmere Technical University), Noor Bellwarden (Data Engineering Group, Eastmarsh Institute for Applied Computing), Zoya Ravenmere (Data Engineering Group, Glenwick University)
Vol. 5 No. 1 (2024) · pp. 62–76 · Published 15 April 2024
Abstract
This synthetic study compares invalidating only partitions with changed dependencies with rebuilding every partition on a fixed schedule in steady demand with isolated exceptions. Each configuration is evaluated on the same 300 cases. In the 75 stress cases, a small correction must fan out through several join dependencies; difficult cases are separated by ordinary intervals rather than grouped into bursts. A case counts as a pass only if it meets this criterion: results must remain current without exceeding the compute budget. The replay retains source versions and arrival order. A reference output built from the complete synthetic history is used to distinguish a fast response from one that is both current and correct. The first configuration passes 247 of 300 cases, versus 245 for the comparator. In the stress subset, the respective counts are 49 and 45 of 75. The alternative exceeds the comparator overall by 0.7 percentage points. The practical trade-off is that fine-grained invalidation can cost more than rebuilding small views. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: incremental views, data engineering, dependencies, baseline load, synthetic evaluation
References
- Agrawal, S., Chaudhuri, S., & Narasayya, V. R. (2000). Automated selection of materialized views and indexes in SQL databases. Proceedings of the 26th International Conference on Very Large Data Bases, 496–505.
- Ainslie, J., Lee-Thorp, J., de Jong, M., Zemlyanskiy, Y., Lebrón, F., & Sanghai, S. (2023). GQA: Training generalized multi-query transformer models from multi-head checkpoints. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 4895–4901.
- Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., & Whittle, S. (2015). The Dataflow Model: A practical approach to balancing correctness, latency, and cost in massive-scale, unbounded, out-of-order data processing. Proceedings of the VLDB Endowment, 8(12), 1792–1803. DOI
- Buneman, P., Khanna, S., & Tan, W.-C. (2001). Why and where: A characterization of data provenance. Database Theory – ICDT 2001, Lecture Notes in Computer Science, 1973, 316–330. Springer. DOI
- Chao, P., Robey, A., Dobriban, E., Hassani, H., Pappas, G. J., & Wong, E. (2023). Jailbreaking black box large language models in twenty queries. arXiv:2310.08419.
- Chen, Y., Ganapathi, A., Griffith, R., & Katz, R. (2011). The case for evaluating MapReduce performance using workload suites. Proceedings of the 19th IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, 390–399.
- Es, S., James, J., Espinosa-Anke, L., & Schockaert, S. (2023). RAGAS: Automated evaluation of retrieval augmented generation. arXiv:2309.15217.
- Gao, L., Ma, X., Lin, J., & Callan, J. (2023). Precise zero-shot dense retrieval without relevance labels. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, 1762–1777.
- Gao, Y., et al. (2023). Retrieval-augmented generation for large language models: A survey. arXiv:2312.10997.
- Hunt, A. J., & Black, A. W. (1996). Unit selection in a concatenative speech synthesis system using a large speech database. Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing, 373–376.
- Jiang, Z., et al. (2023). Active retrieval augmented generation. Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, 7969–7992.
- Krishna, K., Song, Y., Karpinska, M., Wieting, J., & Iyyer, M. (2023). Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense. Advances in Neural Information Processing Systems, 36.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- Trivedi, H., Balasubramanian, N., Khot, T., & Sabharwal, A. (2023). Interleaving retrieval with chain-of-thought reasoning for knowledge-intensive multi-step questions. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, 10014–10037.
- Weikum, G., Mönkeberg, A., Hasse, C., & Zabback, P. (2002). Self-tuning database technology and information services: From wishful thinking to viable engineering. Proceedings of the 28th International Conference on Very Large Data Bases, 20–31.
