原文链接:
http://www.eygle.com/special/How.to.Install.Orabm.TPC.htm
1.首先下载orabm包
你可以从以下地址下载:
http://www.linxcel.co.uk/orabm/orabm.tar
也可以从本地下载.
|
2.查看相关文件
$ tar -xvf *.tar x orabm, 0 bytes, 0 tape blocks x orabm/src, 0 bytes, 0 tape blocks x orabm/src/orabmload.pc, 24200 bytes, 48 tape blocks x orabm/src/orabm.c, 9346 bytes, 19 tape blocks x orabm/src/init.ora, 1442 bytes, 3 tape blocks x orabm/src/BUILD_FROM_SOURCE.txt, 863 bytes, 2 tape blocks x orabm/install, 0 bytes, 0 tape blocks x orabm/install/orabm_analyze.sql, 1068 bytes, 3 tape blocks x orabm/install/orabm_cache.sql, 1116 bytes, 3 tape blocks x orabm/install/orabm_ind.sql, 1124 bytes, 3 tape blocks x orabm/install/orabm_query_cache.sql, 497 bytes, 1 tape blocks x orabm/install/orabm_serverside_stress.sql, 8528 bytes, 17 tape blocks x orabm/install/orabm_tab.sql, 2321 bytes, 5 tape blocks x orabm/install/orabm_tab_rm.sql, 197 bytes, 1 tape blocks x orabm/install/orabm_user.sql, 233 bytes, 1 tape blocks x orabm/bin, 0 bytes, 0 tape blocks x orabm/bin/orabm_tps.awk, 182 bytes, 1 tape blocks x orabm/bin/orabm_tps.sh, 70 bytes, 1 tape blocks x orabm/bin/solaris, 0 bytes, 0 tape blocks x orabm/bin/solaris/orabmload, 85940 bytes, 168 tape blocks x orabm/bin/solaris/orabm, 53140 bytes, 104 tape blocks x orabm/bin/linux, 0 bytes, 0 tape blocks x orabm/bin/linux/orabm, 42332 bytes, 83 tape blocks x orabm/bin/linux/orabmload, 50741 bytes, 100 tape blocks x orabm/bin/orabm.linuxd2.log, 559 bytes, 2 tape blocks x orabm/bin/windows, 0 bytes, 0 tape blocks x orabm/bin/windows/orabm.exe, 196653 bytes, 385 tape blocks x orabm/bin/windows/orabmload.exe, 233525 bytes, 457 tape blocks x orabm/orabm.pdf, 239954 bytes, 469 tape blocks x orabm/orabm.htm, 200488 bytes, 392 tape blocks x orabm/orabm_files, 0 bytes, 0 tape blocks x orabm/orabm_files/image001.jpg, 46143 bytes, 91 tape blocks x orabm/orabm_files/image002.jpg, 8437 bytes, 17 tape blocks x orabm/orabm_files/_vti_cnf, 0 bytes, 0 tape blocks x orabm/orabm_files/_vti_cnf/image002.jpg, 724 bytes, 2 tape blocks x orabm/orabm_files/_vti_cnf/image001.jpg, 725 bytes, 2 tape blocks x orabm/orabm_files/_vti_cnf/image003.gif, 699 bytes, 2 tape blocks x orabm/orabm_files/_vti_cnf/editdata.mso, 708 bytes, 2 tape blocks x orabm/orabm_files/_vti_cnf/filelist.xml, 707 bytes, 2 tape blocks x orabm/orabm_files/_vti_cnf/header.htm, 1264 bytes, 3 tape blocks x orabm/orabm_files/_vti_cnf/.fp_folder_info, 58 bytes, 1 tape blocks x orabm/orabm_files/editdata.mso, 2976 bytes, 6 tape blocks x orabm/orabm_files/filelist.xml, 289 bytes, 1 tape blocks x orabm/orabm_files/image003.gif, 14667 bytes, 29 tape blocks x orabm/orabm_files/header.htm, 4705 bytes, 10 tape blocks $ ls orabm orabm.tar $ cd orabm $ ls bin install orabm.htm orabm.pdf orabm_files src $ ls bin install orabm.htm orabm.pdf orabm_files src $ cd install $ ls orabm_analyze.sql orabm_ind.sql orabm_serverside_stress.sql orabm_tab_rm.sql orabm_cache.sql orabm_query_cache.sql orabm_tab.sql orabm_user.sql |
注意:缺省的orabm测试用用户会建立在tools表空间,如果你想把数据放在其他表空间可以修改orabm_user.sql来调整.
3.安装的步骤如下:<?XML:NAMESPACE PREFIX = O />
| #
| 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.安装日志及如下
|
至此安装完成.
博客介绍了Orabm包的安装过程。首先可从指定地址或本地下载orabm包,查看相关文件时需注意缺省测试用户建在tools表空间,可修改orabm_user.sql调整。还给出了安装步骤及安装日志,最后完成安装。
763

被折叠的 条评论
为什么被折叠?



