Full-text search benchmark.
-Before compilating, edit Makefile for RDBMS set and
-paths to its.
+Set RDBMS and paths in Makefile before compilation.
-Init example:
+Initialization example:
./ftsbench -i -n 10000 -f gin -b pgsql -d contrib_regression
Benchmark example:
tested on 5.0.24a
./configure --enable-thread-safe-client --with-pthread
-SQL mode (output may be redirected into file ot to database):
+SQL mode (output may be redirected to file or database):
% ftsbench -S | psql postgres
% ftsbench -i -n 10 -f gin -s 17 -d contrib_regression
INSERT INTO fb_create (id, rdbms, f_gin, f_gist, f_func, rows, elapsed) VALUES (17, 'pgsql', 't', 'f', 'f', 10, 0.528075);