Oracle DBA & All IT » Database, Developer, Oracle, Programming, Utilities » PL/SQL developer: Dynamic Performance Tables not accessible
PL/SQL developer: Dynamic Performance Tables not accessible
เฮ่อ.. หลังจากหนีน้ำท่วมมานาน เปิดงานมา User ก็หา Error มาฝากเลย เลยเอาวิธีแก้มาไว้ให้ดูกันจ้า..
Login into PL/SQL Developer with a new user, or execute the sql refer to the dynamic table, you may get the error below.
Dynamic Performance Tables not accessible,
Automatic Statistics Disabled for this session
You can disable statistics in the preference menu,or obtanin select
priviliges on the v$session,v$sesstat and v$statname table
สำหรับ Error แบบนี้ถ้า click OK ก็จะสามารถผ่านเข้าไปทำงานได้ตามปกติ
หรือ Check เครื่องหมายที่ Don't show this message again ก็จะไม่ปรากฎขึ้นอีก
Solutions:
แนวทางแก้ไขมี 2 วิธีดังนี้ :
1. ให้สิทธิ์แก้ user เพื่อไม่ให้ฟ้อง Error นี้ ให้สิทธิ์ โดย DBA
– grant SELECT ANY DICTIONARY to username;
2. Disable this function of PL/SQL Developer
– สำหรับ user ดำเนินการแก้ไขที่เครื่องตัวเอง โดยไม่ต้องให้ DBA ให้สิทธิ์
Tools->Preferences->Options -> uncheck the option "Automatic Statistics"
เท่านี้ก็เสร็จสิ้นแล้ว error นี้ก็จะไม่ตามมากวนใจเราๆ ท่านๆ อีกต่อไปเย่.. 🙂
.. Preview : 7047Related Search:
- dynamic performance tables not accessible
- dynamic performance tables not accessible automatic statistics disabled for this session
Filed under: Database, Developer, Oracle, Programming, Utilities · Tags: Automatic Statistics Disabled for this session, Dynamic Performance Tables not accessible, pl/sql developer