1.增加oinstall使用者組和dba使用者組,增加Oracle使用者,並加入到這兩個使用者組中,預設組是dba使用者組;2.設定oracle使用者的環境變數命令: vi ~/.profile ("."代表隱藏檔案,h—right,j—down ,k—up,l—left,o—insert,:w—save,:q—exit,i—在當前行插入,x—刪除,u—撤銷,esc—回普通模式,dd--刪除)(此處若配置不成功則裝完以後可能會出現在程式裡串連不上等一系列問題)
A profile has dual function: toenforce a password policy and to restrict the resources a session can consume;密碼管理是一直有效對資源的管理時當初始化參數RESOURCE_LIMIT為TRUE時才會有效,預設值為false;密碼管理FAILED_LOGIN_ATTEMPTS:在帳號被鎖之前可以輸入錯誤密碼的最大次數; PASSWORK
最近在做兩套AIX5.3+10.2.0.4 RAC時,沒找著AIX Toolbox for Linux Applications for POWER Systems光碟片,為了簡單,使用RSH作為遠程節點檔案拷貝方式。安裝好資料庫之後,發現在EM中沒有兩個節點的資訊,無法監控節點的具體運行狀態。重啟EM,在emagent.trc中有如下錯誤記錄檔:2011-07-31 11:08:43 Thread-1902 ERROR ssl: nzos_Initialize failed, ret = 43
Suppose a subprogram declares an IN parameter, an OUT parameter, and an IN OUT parameter. When you call the subprogram, the IN parameter is passed by reference. That is, a pointer to the IN actual parameter is passed to the corresponding formal
Select * From ( Select RowNum field_ByName,d.* From (SELECT b.*,c.loginaccount FROM JITUMS.TB_READERS b, JITUMS.tb_rd_account c where b.reader_id= c.reader_id) d Where RowNum <= 10 ) A Where A.field_ByName >= 1; Select *
一.說明一網友問我將一個查詢的結果集存放到暫存資料表裡,如果估算暫存資料表的大小,當時想的方法是通過統計block來計算。後來想,此方法的操作性也不是很高。 最好是能在查詢操作執行之前就能估算出大小。查看了一下ALL_TABLES 表,其中有個欄位:avg_row_len. 該值單位為bytes。 可以一句這個欄位來進行一個估算。AVG_ROW_LEN*NUMBER Average length of a row in the table (in
癥狀:資料庫是open狀態,也可以從sqlplus串連到資料庫,從web串連資料庫時,通過網址http://IP:1158/em/console,發現Database Instance, Listener, Agent Connect to Instance都是正常的,但是點擊‘Database'不能進入到登陸頁面,頁面上有錯誤提示“Enterprise Manager is not able to connect to the database instance. The state of