原文链接:
http://www.eygle.com/special/How.to.Install.Orabm.TPC.htm
1.首先下载orabm包
你可以从以下地址下载:
http://www.linxcel.co.uk/orabm/orabm.tar
也可以从本地下载.
[gqgai@eygle gqgai]$ wget http://www.linxcel.co.uk/orabm/orabm.tar --17:46:55-- http://www.linxcel.co.uk/orabm/orabm.tar => `orabm.tar' Resolving www.linxcel.co.uk... done. Connecting to www.linxcel.co.uk[212.227.127.109]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,280,000 [application/x-tar] 100%[========================================================================================>] 1,280,000 26.53K/s ETA 00:00 17:47:43 (26.53 KB/s) - `orabm.tar' saved [1280000/1280000] |
2.查看相关文件
|
注意:缺省的orabm测试用用户会建立在tools表空间,如果你想把数据放在其他表空间可以修改orabm_user.sql来调整.
3.安装的步骤如下:
# |
Operation |
Command |
1 |
create the ORABM user (assumes TOOLS tablespace, TEMP temporary tablespace) |
sqlplus system/pwd @orabm_user |
2 |
create the tables |
sqlplus system/pwd @orabm_tab |
3 |
load the data |
$ orabmload Warehouses 1 |
4 |
create the indexes |
sqlplus system/pwd @orabm_ind |
5 |
analyze the tables and indexes |
sqlplus system/pwd @orabm_analyze |
6 |
create the stress-test PL/SQL procedures |
sqlplus system/pwd @orabm_serverside_stress |
7 |
cache the table and index data in the SGA |
sqlplus system/pwd @orabm_cache |
4.安装日志及如下
|
至此安装完成.