/MobilityDB-BerlinMOD

BerlinMOD benchmark, a data generator and a tool for comparying Moving Object Databases

Primary LanguagePLpgSQL

BerlinMOD Benchmark for MobilityDB

MobilityDB Logo

MobilityDB is an open source software program that adds support for temporal and spatio-temporal objects to the PostgreSQL database and its spatial extension PostGIS.

This repository contains code and the documentation for running the BerlinMOD benchmark on MobilityDB.

Documentation

You can generate the benchmark documentation from the sources.

  • In HTML format

     xsltproc --stringparam html.stylesheet "docbook.css" --xinclude -o index.html /usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl mobilitydb-berlinmod.xml
    
  • In PDF format

     dblatex -s texstyle.sty -T native -t pdf -o mobilitydb-berlinmod.pdf mobilitydb-berlinmod.xml
    
  • In EPUB format

      dbtoepub -o mobilitydb-berlinmod.epub mobilitydb-berlinmod.xml
    

In addition, pregenerated versions of them are available.

Docker container

The dependencies and scripts of the MobilityDB-BerlinMOD Project are available in a Docker container running PostgreSQL-12, PostGIS-2.5 and MobilityDB-develop.

  • Pull the prebuilt image from the Docker Hub Registry.

     docker pull mobilitydb/mobilitydb:12-2.5-develop-berlinmod
    
  • Create a Docker volume to preserve the PostgreSQL database files outside of the container.

     docker volume create mobilitydb_data
    
  • Run the Docker container.

    docker run --name "mobilitydb" -d -p 5432 -v mobilitydb_data:/var/lib/postgresql mobilitydb/mobilitydb:12-2.5-develop-berlinmod 
    
  • Enter into the Docker container.

    docker exec -it mobilitydb bash
    
  • Connect to the database (username=docker,db=mobilitydb).

    psql -U docker -d mobilitydb 
    
  • BerlinMOD scripts are available in the BerlinMOD directory inside the container.

License

The documentation of this benchmark is licensed under a Creative Commons Attribution-Share Alike 3.0 License