PL/SQL Developer : Version 8.0.3.1510
Oracle : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
用PL/SQL Developer 連11g 的時候發現PL/SQL Developer 反應很慢。
有以下現象:
1.用PL/SQL Developer連資料庫的時候,資料庫主機cpu突然沖高,退出PL/SQL Developer後cpu恢複正常。
2.資料庫有等待事件asynch descriptor resize .
3.等待事件對應的SQL
- select s.synonym_name object_name, o.object_type
- from all_synonyms s,
- sys.all_objects o
- where s.owner in ('PUBLIC', :schema)
- and o.owner = s.table_owner
- and o.object_name = s.table_name
- and o.object_type in ('TABLE', 'VIEW', 'PACKAGE','TYPE', 'PROCEDURE', 'FUNCTION',
- 'SEQUENCE')
為了避免這個問題可以禁用掉“Describe context”功能
Tools > Preferences >User Interface> Code Assistant>Describe context
工具 > 喜好設定 > 使用者介面 > 代碼助手 >描述符前後關係
順便介紹一下設定PL/SQL Developer語言的選項
Tools > Preferences >User Interface> Appearance>Language
工具 > 喜好設定 > 使用者介面>外觀>語言
Chinese.lang為中文。
【none】為英文
PL/SQL Developer協助文檔中對“Describe context”功能的介紹
描述前後關係
確定了代碼助手是否應該描述目前使用者、編輯器和程式單元的前後關係。
最少字元數
確定了在前後關係描述能自動地被調用之前有多少個字元的詞需要被鍵入。注意,你始終可以手工調用代碼助手,即使字元數沒有被鍵入也是這樣。
描述標準函數
在預設的情況下,代碼助手將描述標準的函數諸如 to_char 、add_months 等等。如果你很熟悉這些函數,你可以禁止這個選項。