Oracel bbed安裝和配置
編譯和配置BBED
使用bbed
點選(此處)摺疊或開啟
-
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Prod
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
-
[root@yws ~]# su - oracle
-
[oracle@yws ~]$ cd $ORACLE_HOME/rdbms/lib
-
[oracle@yws lib]$ make -f ins_rdbms.mk $ORACLE_HOME/rdbms/lib/bbed --編譯 bbed tool
-
Linking BBED utility (bbed)
-
rm -f /u01/oracle/product/10.2.0/rdbms/lib/bbed
-
gcc -o /u01/oracle/product/10.2.0/rdbms/lib/bbed -L/u01/oracle/product/10.2.0/rdbms/lib/ -L/u01/oracle/product/10.2.0/lib/ -L/u01/oracle/product/10.2.0/lib/stubs/ -L/usr/lib -lirc /u01/oracle/product/10.2.0/lib/s0main.o /u01/oracle/product/10.2.0/rdbms/lib/ssbbded.o /u01/oracle/product/10.2.0/rdbms/lib/sbbdpt.o `cat /u01/oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 /u01/oracle/product/10.2.0/rdbms/lib/defopt.o -ldbtools10 -lclntsh `cat /u01/oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u01/oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /u01/oracle/product/10.2.0/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /u01/oracle/product/10.2.0/lib/sysliblist` -Wl,-rpath,/u01/oracle/product/10.2.0/lib -lm `cat /u01/oracle/product/10.2.0/lib/sysliblist` -ldl -lm -L/u01/oracle/product/10.2.0/lib
-
[oracle@yws lib]$ ln -s $ORACLE_HOME/rdbms/lib/bbed $ORACLE_HOME/bin/bbed --建立軟連線
-
[oracle@yws lib]$ vi /home/oracle/bbed.par --編譯bbed配置檔案
-
[oracle@yws lib]$ cat /home/oracle/bbed.par
-
blocksize=8192 --標準塊大小
-
listfile=/home/oracle/filelist.txt --檔案列表
-
logfile=log.bbed --log
-
[oracle@yws lib]$ sqlplus / as sysdba
-
-
SQL*Plus: Release 10.2.0.5.0 - Production on Fri Dec 20 18:55:35 2013
-
-
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
-
-
-
Connected to:
-
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
-
With the Partitioning, OLAP, Data Mining and Real Application Testing options
-
-
SQL> spool /home/oracle/filelist.txt --建立filelist
-
SQL> select file_id||' '||file_name||' '||bytes from dba_data_files; --filelist格式
-
-
FILE_ID||''||FILE_NAME||''||BYTES
-
--------------------------------------------------------------------------------
-
4 /u01/oracle/oradata/yws/users01.dbf 5242880
-
3 /u01/oracle/oradata/yws/sysaux01.dbf 262144000
-
2 /u01/oracle/oradata/yws/undotbs01.dbf 534773760
-
1 /u01/oracle/oradata/yws/system01.dbf 534773760
- 5 /u01/oracle/oradata/yws/example01.dbf 104857600
點選(此處)摺疊或開啟
-
[oracle@yws ~]$ bbed parfile=bbed.par --啟動
-
Password: --password:blockedit
-
-
BBED: Release 2.0.0.0.0 - Limited Production on Fri Dec 20 18:57:38 2013
-
-
Copyright (c) 1982, 2007, Oracle. All rights reserved.
-
-
************* !!! For Oracle Internal Use only !!! ***************
-
-
BBED> show all
-
FILE# 1
-
BLOCK# 1
-
OFFSET 0
-
DBA 0x00400001 (4194305 1,1)
-
FILENAME /u01/oracle/oradata/yws/system01.dbf
-
BIFILE bifile.bbd
-
LISTFILE /home/oracle/filelist.txt
-
BLOCKSIZE 8192
-
MODE Browse
-
EDIT Unrecoverable
-
IBASE Dec
-
OBASE Dec
-
WIDTH 80
-
COUNT 512
-
LOGFILE log.bbed
-
SPOOL No
-
-
BBED> info --成功安裝
-
File# Name Size(blks)
-
----- ---- ----------
-
1 /u01/oracle/oradata/yws/system01.dbf 65280
-
2 /u01/oracle/oradata/yws/undotbs01.dbf 65280
-
3 /u01/oracle/oradata/yws/sysaux01.dbf 32000
-
4 /u01/oracle/oradata/yws/users01.dbf 640
-
5 /u01/oracle/oradata/yws/example01.dbf 12800
-
- BBED> exit
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29477587/viewspace-1078554/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- BBED 的安裝
- oracle之 11.2.0.4 bbed安裝Oracle
- 安裝和配置sendmailAI
- Oracle 11G 安裝 bbed 工具Oracle
- Oracle bbed一鍵安裝工具分享Oracle
- [20210311]如何建立bbed安裝包.txt
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(1)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.2.Linux安裝(2)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.5. Linux配置OracleLinux
- Jemeter-安裝和配置
- (MAC) PHP安裝和配置MacPHP
- Flutter的安裝和配置Flutter
- Barrier 的安裝和配置
- Kibana 和 Logstash 安裝配置
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.1. Oracle軟體安裝OracleLinux
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- Java安裝和環境配置Java
- nvm-windows安裝和配置Windows
- Gin 框架 - 安裝和路由配置框架路由
- Linux 7安裝和配置phpmyadminLinuxPHP
- [實踐]wireguard安裝和配置
- vue測試安裝和配置Vue
- nodejs和npm安裝與配置NodeJSNPM
- Python 下載安裝和配置Python
- nodejs下載、安裝和配置NodeJS
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.1. 簡介OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(1)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(2)OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.3. Linux登入OracleLinux
- 11. Oracle for Linux安裝和配置——11.2. Linux安裝和配置——11.2.4. Linux命令(3)OracleLinux
- Expo 環境配置和安裝指南
- Nginx的安裝和多域名配置Nginx
- MySQL的下載、安裝和配置MySql
- Elasticsearch 的安裝和簡單配置Elasticsearch
- QT Creator配置環境和安裝QT
- 【Mysql】Windows下安裝和配置MysqlMySqlWindows
- 安裝 rust 和配置國內映象Rust
- MacOS Flutter環境配置和安裝MacFlutter
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.2. 資料庫建立OracleLinux資料庫