Articles Comments

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 : 698

Related Search:

  • dynamic performance tables not accessible
  • dynamic performance tables not accessible automatic statistics disabled for this session
  • วิธีสร้างฐานข้อมูลด้วย pl/sql developer
  • SQL LOADER จาก PL/SQL Developer
  • pl/sql developer หมายถึง
  • Oracle SQL Developer
  • oracle session นาน
  • oracle pl/sql developer
  • dynamic performance table not accessible automatic statistics disabled for this session
  • วิธีตรวจสอบการ grant pl/sql

Written by

"จงอย่าหยุดฝัน แรงบันดาลใจ อย่าให้หายไป" -- มีคำถามสงสัยสอบถามได้ที่ forum ค่ะ --

Filed under: Database, Developer, Oracle, Programming, Utilities · Tags: , ,

Leave a Reply

*

* Copy this password:

* Type or paste password here:

11,628 Spam Comments Blocked so far by Spam Free Wordpress