The fix-point method for discrete events simulation using SQL and UDF

0Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

In this work we focus on leveraging SQL's expressive power and query engine's data processing capability for large scale discrete event simulation. The challenge of using SQL query for discrete event simulation is that the simulation involves concurrent operations where the past events, the future events and the pending events (not fully instantiated yet) must be taken into account; but a SQL query is a set-wise operation that only cares of the current state. Specifically when the pending events are recursively generated as a result of processing primary events, there is no way to "insert" them back to the chronological sequence of input data, or to introduce a "clock" to the query processing. Due to these difficulties, there is no effort on using SQL query for discrete event simulation has been reported yet. We propose a mechanism for discrete event simulation, where a chronological sequence of input records, which bear pending events, are processed by a SQL query recursively until reaching the fixpoint with all the pending events instantiated. This approach is characterized by leveraging the pipelined query processing to serialize concurrent events as well as to scope event chaining, and in this way to generate concurrent events incrementally and efficiently. Our experience reveals its flexibility and scalability. © 2011 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Chen, Q., Hsu, M., & Zhang, B. (2011). The fix-point method for discrete events simulation using SQL and UDF. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6861 LNCS, pp. 162–170). https://doi.org/10.1007/978-3-642-23091-2_16

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free