X-Git-Url: http://sigaev.ru/git/gitweb.cgi?p=ftsbench.git;a=blobdiff_plain;f=README;fp=README;h=e1a28f020b67fe25520363c894e14c6f7d680e19;hp=084da7ff487b2213e596f7e00bda22c350d379c0;hb=963707b86d1b7c29ce3c62fbb11eebbc4de04dd7;hpb=2d4dbd3e5d7531d728944ec85f081d9ff48f5e47 diff --git a/README b/README index 084da7f..e1a28f0 100644 --- a/README +++ b/README @@ -1,9 +1,8 @@ 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: @@ -19,7 +18,7 @@ MySQL prerequisite: 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);