Synonyms
Persistent Stored Modules
Definition
Temporal PSM is an extension of persistent stored modules (PSM) in SQL to add temporal support [1]. Persistent stored modules make up the Turing-complete portion of SQL and provide structured programming constructs (e.g., IF, WHILE). PSM also includes support for procedures which can be called directly and functions which can be invoked from within an SQL query (modification, view, cursor, etc.). Temporal PSM requires minor new syntax beyond that already in SQL/Temporal to define and to invoke PSM procedures and functions, thereby extending the current, sequenced, and nonsequenced semantics of queries to such routines.
Historical Background
Temporal query languages are now fairly well understood, as indicated by support in prominent DBMSes. Procedures and functions in the form of Persistent Stored Modules (PSM) have been included in the SQL standard and implemented in numerous DBMSes [2].
The SQL standard includes stored routines in part 4:...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Recommended Reading
Snodgrass RT, Gao D, Zhang R, Thomas SW. Temporal support for persistent stored modules. In: Proceedings of the 28th International Conference on Data Engineering, Arlington; 2012. p. 114–25.
Melton J. Understanding SQL’s stored procedures: a complete guide to SQL/PSM. San Francisco: Kaufmann Publishers; 1998.
ISO/IEC. Information technology—database languages—SQL 9075. Geneva: ISO; 2011.
Snodgrass RT. Developing time-oriented database applications in SQL; San Francisco: Morgan Kaufmann Publishers; 1999, p. 504+xxiii. ISBN:1-55860-436-7.
Snodgrass RT, Böhlen MH, Jensen CS, Steiner A. Adding transaction time to SQL/temporal. SQL3 Standards Committee, change proposal ANSI X3H2-96-502r2, ISO/IEC JTC1/SC21/ WG3 DBL MAD-147r2; Nov 1996.
Snodgrass RT, Böhlen MH, Jensen CS, Steiner A. Adding valid time to SQL/temporal. SQL3 Standards Committee, change proposal ANSI X3H2-96-501r2, ISO/IEC JTC1/SC21/ WG3 DBL MAD-146r2; Nov 1996.
Snodgrass RT, Ahn I. Temporal databases. IEEE Comput. 1986;19(9):35–42.
Bair J, Böhlen M, Jensen CS, Snodgrass RT. Notions of upward compatibility of temporal query languages. Bus Inform (Wirtschafts Informatik). 1997;39(1):25–34.
Böhlen MH, Jensen CS, Snodgrass RT. Temporal statement modifiers. ACM Trans Database Syst. 2000;25(4):407–56.
Gao D. Supporting the procedural component of query languages over time-varying data. Ph.D. dissertation, Computer Science Department, University of Arizona, Apr 2009.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Science+Business Media, LLC, part of Springer Nature
About this entry
Cite this entry
Snodgrass, R.T., Gao, D., Zhang, R., Thomas, S.W., Dempsey, J. (2018). Temporal PSM. In: Liu, L., Özsu, M.T. (eds) Encyclopedia of Database Systems. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-8265-9_80731
Download citation
DOI: https://doi.org/10.1007/978-1-4614-8265-9_80731
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4614-8266-6
Online ISBN: 978-1-4614-8265-9
eBook Packages: Computer ScienceReference Module Computer Science and Engineering