ITPub博客

首页 > 数据库 > Oracle > 数据库压力测试小工具

数据库压力测试小工具

原创 Oracle 作者:lucyne 时间:2015-08-14 14:01:52 0 删除 编辑
Demo 1:
#!/bin/bash
for i in {1..10}
do 
sqlplus username/pwd @t.sql &
sqlplus username/pwd@t.sql &
done


Demo 2:
#!bin/sh
C=10
while [$C -ne 0];
do
nohup bash t1.sh &
nohup bash t2.sh &
done

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26390465/viewspace-1771452/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Compress table
请登录后发表评论 登录
全部评论
. . 一个 DBA. . .

注册时间:2012-01-06

  • 博文量
    84
  • 访问量
    783162