通過安裝rac 10g for RedHat as 4與rac 10g for redhat as 5發現配置裸裝置的自啟動不同下面列出兩種版本下的配置1.linux redhat as 4Edit the /etc/sysconfig/rawdevices file, adding the following lines. (增加裸裝置映射)/dev/raw/raw1 /dev/sdb1/dev/raw/raw2 /dev/sdc1//改變裸裝置擁有者和組chown
因為工作關係,有一個超過11億記錄的MySQL資料庫,之前一直以為MyISAM引擎的查詢效能會超過InnoDB,這兩天特意測試了一下,不過因為資料量太大,轉換引擎就花了幾天時間。測試環境:DELL 860伺服器,CPU Xeon3210, 記憶體8GMySQL版本5.5.13,安裝了兩份執行個體,連接埠分別是3306(InnoDB)和3307(MyISAM)MySQL用戶端工具HeidiSQL 6.0.0.3603,查詢語句:select count(1) from mytable where
建立和刪除使用者是Oracle使用者管理中的常見操作,但這其中隱含了Oracle資料庫系統的系統許可權與對象許可權方面的知識。掌握還Oracle使用者的授權操作和原理,可以有效提升我們的工作效率。 Oracle資料庫的許可權系統分為系統許可權與對象許可權。系統許可權( Database System Privilege )可以讓使用者執行特定的命令集。例如,CREATE TABLE許可權允許使用者建立表,GRANT ANY PRIVILEGE 許可權允許使用者授予任何系統許可權。對象許可權(
In this Document Goal SolutionApplies to: Oracle Server - Enterprise Edition - Version: 9.2.0.6.0Information in this document applies to any platform.GoalIn this note, we will help Database Administrators with answers to two
RMAN> startup nomount;RMAN> sql 'alter session set nls_date_format=''yyyy-mm-dd hh24:mi:ss''";--因為rman預設以環境變數來讀取時間格式,與sqlplus的固定格式不同,所以,此處要設定時間格式變數。RMAN> restore controlfile from autobackup until time '2009-03-10
Oracle 中序列使用詳解:create table test (pid integer primary key, name varchar(20) ); select * from test; insert into test values(1,'Jack'); create sequence test_seq;-
有關Oracle 的執行計畫說明,參考:Oracle Explain Plan 見 一. 查看當前session 的SIDSYS@anqing1(rac1)> SELECT USERENV('SID') FROM DUAL;USERENV('SID')--------------137SYS@anqing1(rac1)> SELECT SID FROM V$MYSTAT WHERE ROWNUM =1;SID----------137二.