原创 Question 25:increase the session limit on CPU usage

Question  A user complains that he gets the following error message repeatedly after executing some SQL statements. T

原创 Oracle學習筆記(20140419)(lsnrctl関連)

不懂的一定要弄懂,網上多查查不要盲目相信。 上課時遇到的問題,倒着看: lsnrctl 記不住就這麼記 :lsnr + ctl (listener control) 正題: 遇到的問題 :lsnrctl查詢 status 主機地址到達不能

原创 Question 5

Question: A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE comman

原创 Question: 82 point-in-time

Question: You lost the index tablespace in your database. You are not able to use tablespace point-in-time recovery on 

原创 QUESTION 56

Which mandatory(強制性的) clause has to be added to the following statement to successfully create an external table called

原创 【讀書筆記】【收穫,不止Oracle】位圖索引(2)

本次試驗討論位圖索引在即席查詢中發揮的巨大作用。 即席查詢(多維度報表查詢:select * from t where col1=XXX and col2=XXX and col3=XXX...) 1.構造表,該表有性別,年齡範圍,出生地

原创 【讀書筆記】【收穫,不止Oracle】位圖索引(1)

以下實驗,在count(*)的條件下,將位圖索引與全表掃描和普通索引進行比較 1.創建T表,投入約300萬條的數據 SYS@ orcl>drop table t purge; Table dropped. SYS@ orcl>crea

原创 【讀書筆記】【收穫,不止Oracle】嵌套循環表(Nested Loops Join)

本次試驗用於探究嵌套循環表的訪問次數。 1.構造t1和t2表,用於嵌套查詢。 SYS@ orcl>DROP TABLE t1 CASCADE CONSTRAINTS PURGE; Table dropped. SYS@ orcl>DR

原创 unused用法

一、問題 現場有一張大數據量的分區表,數據量在10G以上。因某種原因需要刪除其中的某些字段。如果直接用 alter table1 drop (column1,column2); 或者alter table1 drop column

原创 ORA-00257

來自官方文檔的解釋 ORA-00257: archiver error. Connect internal only, until freed.Cause: The archiver process received an error w

原创 Xlib: connection to ":0.0" refused by server

在Oracle帳號執行DBCA或其他JAVA圖形界面程序時,有時會報如下錯誤: [oracle@oracle admin]$ dbca Xlib: connection to ":0.0" refused by server Xlib:

原创 Question:58 (Shrink)

Question: Using Database Control, you have scheduled a job to shrink the TRANS table residing on the TT tablespace.  Th

原创 047:QUESTION 228

Question: View the Exhibit and examine the description of the EMPLOYEES table. You executed the  following SQL sta

原创 SP2-0618

起因:在用SCOTT用戶開啓執行計劃時,發生錯誤(PLUSTRACE角色沒有開啓) SCOTT@ orcl>set autotrace on SP2-0618: Cannot find the Session Identifier. C

原创 User has no SELECT privilege on V$SESSION(執行計劃相關)

開啓執行計劃的時候,提示如下信息:User has no SELECT privilege on V$SESSION SCOTT@ orcl>select * from table(dbms_xplan.display_cursor(nu