DuckDB implementation of the LDBC Social Network Benchmark's Interactive workload.
Grab DuckDB:
scripts/get.sh
The data sets need to be generated before loading it to the database. No preprocessing is required. To generate the data sets for DuckDB, use the same settings as for PostgreSQL, i.e. the Hadoop-based Datagen's CsvMergeForeign
serializer classes.
export DUCKDB_CSV_DIR=`pwd`/../postgres/test-data
scripts/load.sh
To run the scripts of benchmark framework, edit the driver/{create-validation-parameters,validate,benchmark}.properties
files, then run their script, one of:
driver/create-validation-parameters.sh
driver/validate.sh
driver/benchmark.sh
sf-properties/
directory.
- The default workload contains updates which are persisted in the database. Therefore, the database needs to be reloaded or restored from backup before each run. Use the provided
scripts/backup-database.sh
andscripts/restore-database.sh
scripts to achieve this.