sysbench压测Oracle
用root 用户安装: export CC=cc yum install m4 autoconf automake libtool -y ./configure --prefix=/usr/local/sysbench --with-oracle --libdir=/home/app/oracle/product/12.1.0.2/db_1/lib --without-mysql echo "export PATH=$PATH:/usr/local/sysbench/bin">>/etc/profile
sysbench --test=oltp --oracle-user=lianguser --oracle-password=oracle --oracle-db=LGJDB --db-driver=oracle --oltp-table-size=1000000 --oltp-num-tables=10 prepare
sysbench --num-threads=12 --max-requests=10 --test=oltp --oracle-user=lianguser --oracle-password=oracle --oracle-db=LGJDB --db-driver=oracle --oltp-test-mode=complex --oltp-table-size=1000000 --oltp-num-tables=10 run (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |