Skip to main content

The Fix-Point Method for Discrete Events Simulation Using SQL and UDF

  • Conference paper
Database and Expert Systems Applications (DEXA 2011)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 6861))

Included in the following conference series:

  • 1228 Accesses

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.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Zeigler, B.P., Praehofer, H., Kim, T.G.: Theory of modeling and simulation: Integrating discrete event and continuous complex dynamic systems, 2nd edn. Academic Press, London (2000)

    Google Scholar 

  2. Bryant, R.E.: Data-Intensive Supercomputing: The case for DISC. CMU-CS-07 128 (2007)

    Google Scholar 

  3. Chen, Q., Hsu, M., Zeller, H.: Experience in Continuous analytics as a Service (CaaaS). In: Proc. EDBT (2011)

    Google Scholar 

  4. DeWitt, D.J., Paulson, E., Robinson, E., Naughton, J., Royalty, J., Shankar, S., Krioukov, A.: Clustera: An Integrated Computation And Data Management System. In: VLDB 2007 (2008)

    Google Scholar 

  5. Robinson, S.: Simulation - The practice of model development and use. Wiley, Chichester (2004)

    Google Scholar 

  6. Tan, K.L., Thng, L.-J.: SNOOPY Calendar Queue. In: Proc. 32nd Winter Simulation Conference (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chen, Q., Hsu, M., Zhang, B. (2011). The Fix-Point Method for Discrete Events Simulation Using SQL and UDF. In: Hameurlain, A., Liddle, S.W., Schewe, KD., Zhou, X. (eds) Database and Expert Systems Applications. DEXA 2011. Lecture Notes in Computer Science, vol 6861. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-23091-2_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-23091-2_16

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-23090-5

  • Online ISBN: 978-3-642-23091-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics