您正在查看 "Oracle" 分类下的文章
2007-12-28 12:38
http://www.eygle.com/digest/2007/07/rac_specific_processes.html
The following are the additional processes spawned for supporting the multi-instance coordination:
LMON - The Global Enqueue Service Monitor (LMON) monitors the entire cluster to manage the global enqueues and the resources. LMON manages instance and process failures and the associated recovery for the Global Cache Service (GCS) and |
2007-12-15 17:25
2007-12-15 16:04
9i中,使用DBCA建库,即使你打到了9208,如果你选择包含文件的创建,那么完成之后,数据库组件仍然是9201的,除非你选择不包含文件的创建,也就是全新创建,那么完成之后,数据库组件才是最新的。
10g终于纠正了这一点,可能内部处理方法不同了,即使你选择包含文件的创建,那么完成之后,数据库组件也是最新的。可能自动在完成拷贝后,执行了类似catpatch.sql的操作。
select * from dba_registry; |
2007-12-15 15:06
2007-12-14 12:59
划一个4GB的/dev/rtest raw数据文件,创建表空间,SIZE 最大可指定到 4194295K = 4GB*1024*1024-8KB-1,也就是说4GB本身可以划4194304KB=524288*8KB,实际上Oracle最大使用了524287个块,会保留一个块不使用,计数也是从0~4194295K ,因为524287*8=4194296KB。
结论,如果你划了一个4GB的数据块,Oracle最大可在上面分配4GB-1Block的块,始终会保留一个块的大小不用。(本测试环境为S-VG,offset为0)
select * from dba_data_files;
bytes=blocks*8 524287*8=4194296KB
user_bytes=user_blocks*8 5 |
2007-12-09 13:21
2007-11-30 14:45
http://blog.roodo.com/mywork/archives/2579830.html
mysql移至oracle的經驗記錄
上個星期都在忙處理mysql的資料匯到oracle中,本來是用sqlldr來處理,後來想到要處理的table很多,就開始找了一些工具來處理。試過了oracle官方軟体,但只支援mysql4.x;再找了Intelligent Converters,發現中文匯入會有問題,最後還是自已diy處理了.........
一些心得分享:
1、如需轉碼的話,可利用linux中的iconv這個指令處理,範列如下:
icon |
2007-11-30 14:38
http://blog.roodo.com/mywork/archives/1117380.html
oracle的impdb/expdp
os:rhce 4.0
linux:10.1.2
備份跟還原測試機器上先建立相同的環境,進入sql
create user expdbuser identified by expdbuser default tablespace expdb temporary tablespace temp;
grant dba to expdbuser;
create directory expdb_dir as '/u01/expdb';
grant read, write on directory expdb_dir to expdbuser;
建立用戶可看情況 |
2007-11-30 14:12
2007-11-30 14:06
|
|