Skip to content

Research Articles

Incremental Materialization with Source Revisions: Bursty Inputs

Kavi Eastmarsh (Data Engineering Group, Ivermere University), Soraya Junebrook (Autonomous Systems Laboratory, Glenwick University), Kavi Brookvala (Distributed Systems Group, Cairnwell Research Institute), Leila Ravenmere (Data Engineering Group, Ravenmere Technical University)

Vol. 1 No. 1 (2020) · pp. 144–156 · Published 11 November 2020

Abstract

For an input stream alternating between quiet periods and peaks, we construct a synthetic comparison between invalidating only partitions with changed dependencies and rebuilding every partition on a fixed schedule. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, a small correction must fan out through several join dependencies; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 191 of 256 cases, versus 175 for the comparator. In the stress subset, the respective counts are 43 and 30 of 64. The alternative exceeds the comparator overall by 6.2 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, bursty inputs, synthetic evaluation

References

  1. 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.
  2. 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
  3. Bojanowski, P., Grave, E., Joulin, A., & Mikolov, T. (2017). Enriching word vectors with subword information. Transactions of the Association for Computational Linguistics, 5, 135–146.
  4. 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
  5. Crankshaw, D., et al. (2015). The missing piece in complex analytics: Low latency, scalable model management and serving with Velox. Proceedings of the 7th Biennial Conference on Innovative Data Systems Research.
  6. Guo, J., et al. (2019). Towards complex text-to-SQL in cross-domain database with intermediate representation. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 4524–4535.
  7. Kim, S., Hori, T., & Watanabe, S. (2017). Joint CTC-attention based end-to-end speech recognition using multi-task learning. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, 4835–4839.
  8. Ku, J., Mozifian, M., Lee, J., Harakeh, A., & Waslander, S. L. (2018). Joint 3D proposal generation and object detection from view aggregation. Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, 1–8.
  9. Lakkaraju, H., Bach, S. H., & Leskovec, J. (2016). Interpretable decision sets: A joint framework for description and prediction. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1675–1684.
  10. Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
  11. McCann, B., Bradbury, J., Xiong, C., & Socher, R. (2017). Learned in translation: Contextualized word vectors. Advances in Neural Information Processing Systems, 30, 6294–6305.
  12. Sun, Y., Chen, Y., Wang, X., & Tang, X. (2014). Deep learning face representation by joint identification-verification. Advances in Neural Information Processing Systems, 27, 1988–1996.
  13. Van Calster, B., McLernon, D. J., van Smeden, M., Wynants, L., & Steyerberg, E. W. (2019). Calibration: The Achilles heel of predictive analytics. BMC Medicine, 17, Article 230.
  14. Wang, Z., Qian, H., Li, J., & Chen, H. (2014). Using restricted transactional memory to build a scalable in-memory database. Proceedings of the Ninth European Conference on Computer Systems, Article 26.
  15. 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.
  16. Zhang, K., Zhang, Z., Li, Z., & Qiao, Y. (2016). Joint face detection and alignment using multitask cascaded convolutional networks. IEEE Signal Processing Letters, 23(10), 1499–1503.