ftsb icon indicating copy to clipboard operation
ftsb copied to clipboard

How to config/setup/run ftsb_redisearch

Open michaelrun opened this issue 1 year ago • 0 comments

I'm referring to the link: ftsb to do benchmark redisearch: ftsb_redisearch --file ecommerce-inventory.redisearch.commands.BENCH.csv but --file is not supported anymore, maybe the README.md is outdated. But i can't figure out how to do benchmark. Take ecommerce_inventory for example, after I generate the data by running python3 ftsb_generate_ecommerce_inventory.py, there are 1M-ecommerce-inventory.redisearch.cfg.json ,1M-ecommerce-inventory.redisearch.commands.SETUP.csv and 1M-ecommerce-inventory.redisearch.commands.BENCH.csv if run like below: ./bin/ftsb_redisearch -input scripts/datagen_redisearch/ecommerce_inventory/1M-ecommerce-inventory.redisearch.commands.SETUP.csv it reports error:

2024/07/19 09:21:35 ftsb (git_sha1:00543af2b2776b1b7e041931d8314e2cec1405bd)
    setup writes/sec          writes/sec         updates/sec           reads/sec    cursor reads/sec         deletes/sec     current ops/sec           total ops             TX BW/sRX BW/s
2024/07/19 09:21:35 Unknown index name
2024/07/19 09:21:35 Unknown index name

michaelrun avatar Jul 19 '24 09:07 michaelrun