DSH: Database Supported Haskell
This is a Haskell library for database-supported program execution. Using this library a relational database management system (RDBMS) can be used as a coprocessor for the Haskell programming language, especially for those program fragments that carry out data-intensive and data-parallel computation.
Database executable program fragments can be written using the list comprehension notation (with modest syntax changes due to quasiquoting) and list processing combinators from the Haskell list prelude. Note that rather than embedding a relational language into Haskell, we turn idiomatic Haskell programs into SQL queries.
DSH faithfully represents list order and nesting, and compiles the list processing combinators into relational queries. The implementation avoids unnecessary data transfer and context switching between the database coprocessor and the Haskell runtime by ensuring that the number of generated relational queries is only determined by the program fragment's type and not by the database size.
DSH can be used to allow existing Haskell programs to operate on large scale data (e.g., larger than the available heap) or query existing database resident data with Haskell.
Note that this package is flagged experimental and therefore not suited for production use. This is a proof of concept implementation only. To learn more about DSH, our paper entitled as "Haskell boards the Ferry: Database-supported program execution for Haskell"  is a recommended reading. The package includes a couple of examples that demonstrate how to use DSH.
|Versions [faq]||0.4, 0.4.0.1, 0.4.1, 0.4.2, 0.4.2.1, 0.4.3, 0.5, 0.5.3, 0.5.5, 0.6, 0.6.1, 0.6.2, 0.6.6, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.8.1, 0.7.8.2, 0.8.0.1, 0.8.1.0, 0.8.2.0, 0.8.2.1, 0.8.2.2, 0.8.2.3, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.12.0.0, 0.12.0.1|
|Dependencies||array (>=0.3.0.2), base (>=188.8.131.52 && <5), bytestring (>=0.9.1.10), containers (>=0.4.0.0), convertible (>=184.108.40.206), csv (>=0.1.2), FerryCore (>=0.4.6.4), HaXml (>=1.22.5), HDBC (>=220.127.116.11), json (>=0.5), mtl (>=18.104.22.168), Pathfinder (>=0.5.10), syb (>=0.3), template-haskell (>=22.214.171.124), text (>=0.11.0.6), xhtml (>=3000.2.0.1) [details]|
|Author||George Giorgidze, Tom Schreiber, Nils Schweinsberg and Jeroen Weijers|
|Uploaded||by GeorgeGiorgidze at Thu Dec 1 14:50:05 UTC 2011|
|Downloads||17573 total (315 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees