關於Oracle SGA中Shared Pool的詳細說明,參考我的blog: Oracle Shared pool 詳解 http://blog.csdn.net/tianlesoftware/article/details/6560956 在上篇blog裡,介紹了shared pool 的組成和一些原理, 也有一些指令碼,在這篇blog裡,在補充幾個查看Shared Pool 的指令碼。
在計算月份的時候除了add_months,還可用INTERVAL: Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0Connected as xxpoSQL>SQL> SELECT to_char(SYSDATE,'YYYY/MM/DD HH24:MI:SS') now FROM dual;NOW-------------------2011/05/20 06:22:00SQL>
/******************************************************************/--查詢資料表空間參數select tablespace_name,min_extents,max_extents,pct_increase,status from dba_tablespaces;--查詢資料檔案資訊--autoextensible資料庫已滿後是否自動擴充select
系統內容: 1、作業系統:Windows 2000 Server2、資料庫: Oracle 8i R2 (8.1.6) for NT 企業版/Oracle 9i for NT 企業版3、安裝路徑:D:\ORACLE步驟:1、手工建立相關目錄2、手工建立初始化參數檔案3、通過oradim建立一個ORACLE服務4、建立資料庫5、建立資料庫資料檔案,執行指令碼6、建立資料字典,運行手工建立資料庫完整步驟系統內容作業系統:Windows 2000 Server 資料庫:Oracle 9i安裝路徑:C:
Codedeclare pag number; len number; c varchar2(10); charpp number := 8132/2;begin for r in (select rowid rid,log_id, dbms_lob.getlength (CONTENT) len from temp_data_collect_log ) loop if r.len is not null then for
今天進使用orcle中,發現系統中,system賬戶(或其他賬戶)登入裡提示賬戶被鎖定 ,後來查了查資料,問題解決,方法如下: cmdC:\Documents and Settings\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.3.0 - Production on 星期三 5月 11 09:04:34 2011Copyright (c) 1982, 2006, Oracle. All Rights