benchmark Skripte angepasst
This commit is contained in:
parent
3f9c0a0ca2
commit
d3c24084a1
|
@ -1,5 +1,4 @@
|
|||
CREATE TABLE benchmarktable(ID long, STR char(32))
|
||||
load fill
|
||||
load mixed
|
||||
select * from benchmarktable
|
||||
quit
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
CREATE TABLE benchmarktable(ID long, STR char(32))
|
||||
CREATE INDEX idx ON benchmarktable(ID) USING HASHTABLE
|
||||
load fill
|
||||
load mixed
|
||||
quit
|
|
@ -1,5 +1,5 @@
|
|||
CREATE TABLE benchmarktable(ID long, STR char(32))
|
||||
CREATE INDEX idx ON benchmarktable(ID) USING BTREE
|
||||
CREATE UNIQUE INDEX idx ON benchmarktable(ID)
|
||||
load fill
|
||||
load mixed
|
||||
quit
|
|
@ -19,6 +19,8 @@ do
|
|||
esac
|
||||
done
|
||||
|
||||
echo "Started at $(date -I'seconds')"
|
||||
|
||||
# High contention, high conflict
|
||||
# ~5h runtime
|
||||
#./run_hchc.sh
|
||||
|
@ -38,3 +40,5 @@ done
|
|||
# Hashtable
|
||||
# ~2h runtime
|
||||
#./run_hashtable.sh
|
||||
|
||||
echo "Ended at $(date -I'seconds')"
|
||||
|
|
|
@ -15,8 +15,6 @@ for run in 1 2 3 4 5
|
|||
do
|
||||
echo "Executing run $run"
|
||||
cat benchmark_run.txt | ../sqlite_binary >> ./hashtable/messung.txt
|
||||
echo "Executing run $run with hashtable"
|
||||
cat benchmark_run_hash.txt | ../sqlite_binary >> ./hashtable/messung_hash.txt
|
||||
echo "Executing run $run with btree"
|
||||
cat benchmark_run_btree.txt | ../sqlite_binary >> ./hashtable/messung_btree.txt
|
||||
echo "Executing run $run with index"
|
||||
cat benchmark_run_index.txt | ../sqlite_binary >> ./hashtable/messung_index.txt
|
||||
done
|
|
@ -25,9 +25,7 @@ do
|
|||
do
|
||||
echo "Executing run $run"
|
||||
cat benchmark_run.txt | ../sqlite_binary >> ./hchc/$dir_name/messung.txt
|
||||
echo "Executing run $run with hashtable"
|
||||
cat benchmark_run_hash.txt | ../sqlite_binary >> ./hchc/$dir_name/messung_hash.txt
|
||||
echo "Executing run $run with btree"
|
||||
cat benchmark_run_btree.txt | ../sqlite_binary >> ./hchc/$dir_name/messung_btree.txt
|
||||
echo "Executing run $run with index"
|
||||
cat benchmark_run_index.txt | ../sqlite_binary >> ./hchc/$dir_name/messung_index.txt
|
||||
done
|
||||
done
|
||||
|
|
|
@ -15,6 +15,6 @@ for run in 1 2 3 4 5
|
|||
do
|
||||
echo "Executing run $run"
|
||||
cat benchmark_run.txt | ../sqlite_binary >> ./hclc/messung.txt
|
||||
#cat benchmark_run_hash.txt | ../sqlite_binary >> ./lclc/messung_hash.txt
|
||||
#cat benchmark_run_btree.txt | ../sqlite_binary >> ./lclc/messung_btree.txt
|
||||
echo "Executing run $run with index"
|
||||
cat benchmark_run_index.txt | ../sqlite_binary >> ./lclc/messung_index.txt
|
||||
done
|
|
@ -15,6 +15,6 @@ for run in 1 2 3 4 5
|
|||
do
|
||||
echo "Executing run $run"
|
||||
cat benchmark_run.txt | ../sqlite_binary >> ./lclc/messung.txt
|
||||
#cat benchmark_run_hash.txt | ../sqlite_binary >> ./lclc/messung_hash.txt
|
||||
#cat benchmark_run_btree.txt | ../sqlite_binary >> ./lclc/messung_btree.txt
|
||||
echo "Executing run $run with index"
|
||||
cat benchmark_run_index.txt | ../sqlite_binary >> ./lclc/messung_index.txt
|
||||
done
|
|
@ -15,7 +15,6 @@ for run in 1 2 3 4 5
|
|||
do
|
||||
echo "Executing run $run"
|
||||
cat benchmark_run.txt | ../sqlite_binary >> ./rangequeries/messung.txt
|
||||
#cat benchmark_run_hash.txt | ../sqlite_binary >> ./rangequeries/messung_hash.txt
|
||||
echo "Executing run $run with btree"
|
||||
cat benchmark_run_btree.txt | ../sqlite_binary >> ./rangequeries/messung_btree.txt
|
||||
echo "Executing run $run with index"
|
||||
cat benchmark_run_index.txt | ../sqlite_binary >> ./rangequeries/messung_index.txt
|
||||
done
|
Loading…
Reference in New Issue