Skip to main content

Design and Implementation of Trigger on OceanBase

  • Conference paper
  • First Online:
Advances in Computer Communication and Computational Sciences

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 760))

  • 579 Accesses

Abstract

Trigger technology is an important part of database design and development. It is an important function module of database management system. It is a special type of stored procedure. The implicit implementation of the trigger makes it an effective way to ensure data integrity in the database. OceanBase is a new type of mass distributed database system, but the existing OceanBase open-source version does not support the trigger function, affecting the system to promote and use. Based on the deep analysis of the working principle of traditional database triggers and the overall architecture of OceanBase, this paper designs and implements the trigger function of OceanBase.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Plattner, H.: A common database approach for OLTP and OLAP using an in-memory column database. In: Proceedings of the 2009 ACM SIGMOD International Conference on Management of Data, pp. 1–2. ACM (2009)

    Google Scholar 

  2. OceanBase [EB/OL]. https://github.com/alibaba/oceanbase. Accessed 05 July 2016, 03 Jan 2017

  3. Stonebraker, M., Weisberg, A.: The VoltDB main memory DBMS. IEEE Data Eng. Bull. 36(2), 21–27 (2013)

    Google Scholar 

  4. Chang, F., Dean, J., Ghemawat, S., et al.: Bigtable: a distributed storage system for structured data. ACM Trans. Comput. Syst. (TOCS) 26(2), 4 (2008)

    Article  Google Scholar 

  5. Corbett, J.C., Dean, J., Epstein, M., et al.: Spanner: Google’s globally distributed database. ACM Trans. Comput. Syst. (TOCS) 31(3), 8 (2013)

    Article  Google Scholar 

  6. Yang, Z.: The architecture of OceanBase relational database system. J. East China Normal Univ. (Nat. Sci.) (5), 141–148 (2014)

    Google Scholar 

  7. Wei-xue, L.I.U.: Further study on trigger of SQL server database. Comput. Technol. Dev. 23(10), 48–51 (2013)

    MathSciNet  Google Scholar 

  8. Silberschatz, A., Korth, H.F., Sudarshan, S.: Database System Concepts. McGraw-Hill, New York (1997)

    MATH  Google Scholar 

  9. Zuo, W.: Research on Active Database Theory. Jilin University (2005)

    Google Scholar 

  10. IBM [EB/OL]. https://www.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/apsg/src/tpc/db2z_triggercascade.html. Accessed 03 Jan 2017

  11. Zhu, T., Zhou, M., Zhang, Z.: Study on stored procedure implementation oriented to OceanBase. J. East China Normal Univ. (Nat. Sci.) (5), 281–289 (2014)

    Google Scholar 

  12. Zhu, J., Liu, B., Yu, S., Gong, X., Zhou, M.: Design and implementations of stored procedure in OceanBase. J. East China Normal Univ. (Nat. Sci.) (5), 144–152 (2016)

    Google Scholar 

  13. Aho, A.V., Sethi, R., Ullman, J.D.: Compilers, Principles, Techniques. Addison Wesley (1986)

    Google Scholar 

  14. Shen, Y.J., Yang, H.Q.: The realization of teaching case design database integrity by using triggers in SQLSever2005. In: Computer CD Software and Applications, vol. 5, no. 19, pp. 240–242 (2012)

    Google Scholar 

  15. Hu, H.N.: Application of SQL server triggers in database design. In: Computer Programming Skills and Maintenance, vol. 19, no. 8, pp. 37–38 (2012)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Liang-yu Xu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Xu, Ly., Zhang, Xf., Zhang, Lj., Gao, Jt. (2019). Design and Implementation of Trigger on OceanBase. In: Bhatia, S., Tiwari, S., Mishra, K., Trivedi, M. (eds) Advances in Computer Communication and Computational Sciences. Advances in Intelligent Systems and Computing, vol 760. Springer, Singapore. https://doi.org/10.1007/978-981-13-0344-9_10

Download citation

Publish with us

Policies and ethics