Research Articles
Incremental Materialization with Source Revisions: Concurrent Changes
Rowan Glenwick (Machine Learning Laboratory, Pinewick School of Engineering), Hana Vesperwick (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Kenji Dovemere (Machine Learning Laboratory, Kestrelby Institute of Technology), Nadia Oakmarsh (Distributed Systems Group, Eastmarsh Institute for Applied Computing), Elena Fieldmere (Data Engineering Group, Pinewick School of Engineering), Idris Valehart (Autonomous Systems Laboratory, Kestrelby Institute of Technology)
Vol. 3 No. 1 (2022) · pp. 134–144 · Published 31 August 2022
Abstract
This synthetic study compares invalidating only partitions with changed dependencies with rebuilding every partition on a fixed schedule in a test fixture with overlapping transitions. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, a small correction must fan out through several join dependencies; both changes are replayed together as well as separately to distinguish an interaction from an isolated error. 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 comparator passes 187 of 256 cases and the alternative passes 193. For the 64 stress cases alone, the counts are 35 and 42, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that fine-grained invalidation can cost more than rebuilding small views. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.
Keywords: incremental views, data engineering, dependencies, concurrent changes, 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.
- 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
- Chaudhuri, S., & Narasayya, V. (2007). Self-tuning database systems: A decade of progress. Proceedings of the 33rd International Conference on Very Large Data Bases, 3–14.
- Elnahrawy, E., & Nath, B. (2003). Cleaning and querying noisy sensors. Proceedings of the 2nd ACM International Conference on Wireless Sensor Networks and Applications, 78–87.
- Guo, J., Fan, Y., Ai, Q., & Croft, W. B. (2016). A deep relevance matching model for ad-hoc retrieval. Proceedings of the 25th ACM International Conference on Information and Knowledge Management, 55–64.
- Korolova, A., Kenthapadi, K., Mishra, N., & Ntoulas, A. (2009). Releasing search queries and clicks privately. Proceedings of the 18th International Conference on World Wide Web, 171–180.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- Mikolov, T., Chen, K., Corrado, G., & Dean, J. (2013). Efficient estimation of word representations in vector space. arXiv:1301.3781.
- Müller, H., Michoux, N., Bandon, D., & Geissbuhler, A. (2004). A review of content-based image retrieval systems in medical applications—Clinical benefits and future directions. International Journal of Medical Informatics, 73(1), 1–23.
- Panda, B., Herbach, J. S., Basu, S., & Bayardo, R. J. (2009). PLANET: Massively parallel learning of tree ensembles with MapReduce. Proceedings of the VLDB Endowment, 2(2), 1426–1437.
- Pang, H., & Tan, K.-L. (2004). Authenticating query results in edge computing. Proceedings of the 20th International Conference on Data Engineering, 560–571.
- Shuster, K., Poff, S., Chen, M., Kiela, D., & Weston, J. (2021). Retrieval augmentation reduces hallucination in conversation. Findings of the Association for Computational Linguistics: EMNLP 2021, 3784–3803.
- Thakur, N., Reimers, N., Rücklé, A., Srivastava, A., & Gurevych, I. (2021). BEIR: A heterogenous benchmark for zero-shot evaluation of information retrieval models. arXiv:2104.08663.
- Wang, B., Shin, R., Liu, X., Polozov, O., & Richardson, M. (2020). RAT-SQL: Relation-aware schema encoding and linking for text-to-SQL parsers. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 7567–7578.
- 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.
- Zilio, D. C., et al. (2004). DB2 Design Advisor: Integrated automatic physical database design. Proceedings of the 30th International Conference on Very Large Data Bases, 1087–1097.
