在Linux系統下安裝Oracle資料庫:1、約定:linux系統為Linux.5.4-server-x86_64,資料庫為linux.x64_11gR1_database_1013 linux系統安裝時,選擇安裝所有的包。2、用root使用者修改核心參數,增加以下的內容到檔案/etc/sysctl.conf中。 #vi /etc/sysctl.conf #Controls the maximum number
今天應客戶要求建立使用者的密碼必須跟源庫一樣,但是我發現源庫的密碼為123456,非常簡單而且是以數字開頭,這個Oracle預設是不允許的,但是源庫卻已經實現了。後來經過多次嘗試,終於解決,只要求輸入密碼用用引號引起來即可。egg:SQL> create user wwl02 identified by 123456;create user wwl02 identified by 123456 &
HOST-> sqlplus "/as sysdba" SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 1 10:13:58 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> startupORA-01078: failure in
說明:系統版本------MacOS X 10.6.8Mysql版本----官網最新版,版本號碼是5.5.191、從MysqL官網下載安裝檔案從Mysql官網下載安裝檔案,下載入口:http://www.mysql.com/downloads/mirror.php?id=404973#mirrors2、加壓檔案並進行安裝將下載好的dmg鏡像檔案解壓之後,裡麵包含4個檔案ReadMe.txt
1、Oracle11g預設對空表不分配segment,故使用exp匯出Oracle11g資料庫時,空表不會匯出。2、設定deferred_segment_creation 參數為FALSE後,無論是空表還是非空表,都分配segment。 在sqlplus中,執行如下命令: SQL>alter system set deferred_segment_creation=false; 查看:
要得到Oracle的執行計畫有很多種方法,這裡只是介紹幾種比較少人提及的。(1)To get plan from MemoryFor SQL ID :select * from table(dbms_xplan.display_cursor('&sql_id'));select * from table(dbms_xplan.display_cursor('&sql_id', NULL, 'ALL')); For SQL ID, Child Cursor :select *
[root@rac1 ~]# /etc/init.d/Oracleasm configureConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASM librarydriver. The following questions will determine whether the driver isloaded on boot and