forked from opengaussexamples/examples
460 B
460 B
- complile sysbench binary by README.md
- cd src/lua
- modify oltp_common_redis.lua. change require path to your real path, and lua script for redis is in Sysbench4RedisAndMot/lib
- start redis server, and set IP and PORT in oltp_common_redis.lua, besides, you should start mysql or openGauss server
- you can run oltp_read_write.lua for test, and you can change its require lua script to 'oltp_common.lua' when you want to run sysbench without redis