標籤:今天重新安裝oracle11g,突然在檢測時報了以下錯誤:Environment variable: "PATH" - This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.預期值 : 1023實際值 : 1332 錯誤清單: - PRVF-3929 :
標籤:1.分析表與索引(analyze 不會重建索引) analyze table tablename compute statistics 等同於 analyze table tablename compute statistics for table for all indexes for all columnsfor table 的統計資訊存在於視圖:user_tables 、all_tables、dba_tablesfor all indexes
標籤:--1、查看錶空間的名稱及大小 SELECT t.tablespace_name, round(SUM(bytes / (1024 * 1024)), 0) ts_size FROM dba_tablespaces t, dba_data_files d WHERE t.tablespace_name = d.tablespace_name GROUP BY t.tablespace_name; --2、查看錶空間物理檔案的名稱及大小 SELECT tablespace_name,
標籤:oracleOracle Study之--查看Oracle 版本運算字長(32/64位)方法一、採用sqlplus查看64位:[[email protected] ~]$ sqlplus ‘/as sysdba‘SQL*Plus: Release 11.2.0.3.0 Production on Wed Jun 24 14:14:10 2015Copyright (c) 1982, 2011, Oracle. All rights
標籤:Oracle grouping和rollup簡單測試SQL> select department_id,sum(salary) from employees where department_id in(10,30,90,100) group by department_id order by department_id;DEPARTMENT_ID SUM(SALARY)------------- ----------- 10 4400
標籤:1、如果有刪除使用者的許可權,則可以:drop user user_name cascade;加了cascade就可以把使用者連帶的資料全部刪掉。刪除後再建立該使用者。 --建立管理使用者 create user 使用者名稱 identified by 密碼 default tablespace space_data(資料表空間名稱) temporary tablespace space_temp(暫存資料表空間名稱); --授權 grant connect,dba to 使用者名稱; -
標籤:nbu veritas oracle policy Theory:NBU use a automatic script to connect RMAN and backup database Steps:First,make a automatic script.Second,build a oracle