標籤:oracle10g 表對象統計 表 視圖 預存程序 --統計某個使用者下面的對象個數--包括表,視圖,同義字,函數,預存程序,包,觸發器,索引,約束,序列。SELECT (SELECT COUNT(*) FROM USER_TABLES) AS TABLES,(SELECT COUNT(*) FROM
標籤:參考官方文檔(隨著資料庫檔案一起下載)Oracle® DatabaseQuick Installation Guide 10gRelease 2 (10.2) for Linux x86-64官方文檔描述的是使用圖形化使用者介面安裝。但是這種方式在安裝的過程中總會出現各種問題,所以選擇另一種方式安裝:靜默安裝。=====下面開始具體操作=====一、檢查硬體要求記憶體、磁碟空間、/tmp目錄空間等,此步驟按照文檔介紹的檢查即可。二、檢查軟體要求依照核心版本,假定系統版本為Red
標籤:1.how to find invalid status stored procedure and recompile them?SELECT OBJECT_NAME , status FROM user_objects WHERE OBJECT_TYPE = ‘PROCEDURE‘;Alter procedure schme.procedurename compile;缺少練習的學習不是完整的學習,練習才是學習,總結才有思考。 SELECT OBJECT_NAME ,
標籤:oracle 12c relink 來源於:Oracle 12cR1 Relink Error: "ld.so.1: skgxpinfo: fatal: libons.so: open failed: No such file or directory" (文檔 ID 1957810.1)適用於:Oracle Database - Enterprise Edition
標籤:使用scott賬戶下的dept表;select * from dept order by deptno;10 ACCOUNTING NEW YORK20 RESEARCH DALLAS30 SALES CHICAGO40 OPERATIONS BOSTON為了示範方便,插入一條資料:insert into dept(deptno, dname, loc) values(50,‘SYSTEM‘, ‘NEW YORK‘);新插入的記錄為:50 SYSTEM NEW
標籤:Incremental Backup: 2 個層級,level 0 和level 1, 0 級備份包含資料檔案中所有block,1 級備份改變的block,執行增量備份的時候,要先做0 級備份,作為增量備份的基礎.(1)An INCREMENTAL backup at level 0 backs up all data blocks in datafiles being backed up.(2)A level 1 backup copies only changed blocks. A
標籤:Flashback用於恢複使用者誤刪除的對象(包括表,索引等), 不支援sys使用者. system資料表空間下的對象,也不能從資源回收筒裡拿到。故使用SYS 或者SYSTEM使用者登陸時, show recyclebin 為空白。初始化參數recyclebin 用於控制是否啟用recyclebin功能,預設是ON, 可以使用OFF關閉。SQL> show parameter recyclebin;NAME TYPE VALUE----------------------------
標籤: DUAL is a table automatically created by Oracle Database along with the datadictionary. DUAL is in the schema of the user SYS but is accessible by the name DUALto all users. It has one column, DUMMY, defined to be VARCHAR2(1),