xqerl_db: Database Layer in xqerl
summary
xqerl_db is a disk-backed data layer for the xqerl XQuery processor in Erlang that retrieves documents by URI with the base path as the collection, shreds XML into packed node tables and a path table that gates visibility, and uses a DB lock allowing many concurrent reads or one writer. Limits: 1024 namespaces, ~524,000 distinct {prefix,local} names, 128 attributes per element, string dedup with hash-collision bounds around 650M values. Supports distribution across nodes, plans pluggable backends and XPath rewrite, no indexes yet, and XQuery features run with 99.85% pass on the test suite.
AI-written summary · about
chapters (11)
- 0:00Introduction to xqerl_db
- 1:24Why add a data layer
- 2:07Internal architecture overview
- 3:10Database processes and tables
- 4:19System limitations explained
- 6:03Distributed database support
- 7:08Flexibility in deployment
- 7:49Future pluggable backends
- 8:12Missing features and plans
- 9:20Community input and growth
- 10:03Closing remarks and Q&A
