Source code from the publication at SIGMOD '24:
- LIT: Lightning-fast In-memory Temporal Indexing
- g++/gcc
- Boost Library
Directory streams
includes a BOOKS stream used in the experiments which contains 10K queries and 4625204 updates
- BOOKS.mix
Compile using make all
or make <option>
where <option>
can be one of the following:
- pureLIT
- teHINT
- aLIT
Parameter | Description | Comment |
---|---|---|
-? or -h | display help message | |
-r | set the number of runs per query; by default 1 |
The code supports two types of workload:
- Counting the qualifying records, or
- XOR'ing between their ids
You can switch between the two by appropriately setting the WORKLOAD_COUNT
flag in def_global.h; remember to use make clean
after resetting the flag.
- main_teHINT.cpp
- containers/relation.h
- containers/relation.cpp
- indices/hint_m_dynamic_naive.cpp
- indices/hint_m.h
Extra parameter | Description | Comment |
---|---|---|
-e | set the leaf partition extent | 86400 for the example stream in the experiments |
-
$ ./query_teHINT.exec -e 86400 streams/BOOKS.mix
- main_pureLIT.cpp
- containers/relation.h
- containers/relation.cpp
- containers/buffer.h
- containers/buffer.cpp
- indices/hierarchicalindex.h
- indices/hierarchicalindex.cpp
- indices/live_index.h
- indices/live_index.cpp
- indices/hint_m.h
- indices/hint_m_dynamic.cpp
Extra parameter | Description | Comment |
---|---|---|
-e | set the leaf partition extent | |
-b | set the type of data structure for the LIVE INDEX | |
-c | set the capacity constraint number for the LIVE INDEX | |
-d | set the duration constraint number for the LIVE INDEX |
-
$ ./query_pureLIT.exec -e 86400 -b ENHANCEDHASHMAP -c 10000 -r 10 streams/BOOKS.mix
- main_aLIT.cpp
- containers/relation.h
- containers/relation.cpp
- containers/buffer.h
- containers/buffer.cpp
- indices/hierarchicalindex.h
- indices/hierarchicalindex.cpp
- indices/live_index.h
- indices/live_index.cpp
- indices/hint_m.h
- indices/hint_m_dynamic.cpp
Extra parameter | Description | Comment |
---|---|---|
-e | set the leaf partition extent | |
-b | set the type of data structure for the LIVE INDEX | |
-c | set the capacity constraint number for the LIVE INDEX | |
-d | set the duration constraint number for the LIVE INDEX | |
-n | set the number of LIT indices for non-temporal attribute indexing |
-
$ ./query_aLIT.exec -e 86400 -b ENHANCEDHASHMAP -c 10000 -n 8 -r 10 streams/BOOKS.mix