Category: Oracle Troubleshoot

Oracle Troubleshoot : ORA-00600: internal error code, arguments: [qeshQBNextBuffer.1], [], [], [],

Oracle Troubleshoot : ORA-00600: internal error code, arguments: [qeshQBNextBuffer.1], [], [], [], สวัสดีครับห่างหายกันไปนานเพราะติดภาระกิจเยอะ วันนี้มีปัญหาสดใหม่ที่ประสบมาฝาก แต่อาจเป็นปัญหาที่ไม่ค่อยเกิดขึ้นบ่อยนักและสามารถแก้ไขได้ มาดูรายละเอียดกันครับ Cause : ปัญหานี้เป็น Bug ที่เกิดขึ้นใน Oracle Enterprise Edition : 10.2.0.3.0 และเกิดขึ้นได้กับเครื่องทุก Platform เป็นปัญหาที่เกิดขึ้นเมื่อมีการเรียกใช้ “HASH GROUP BY..” (แต่ไม่ได้เกิดทุกครั้งที่เรียกใช้ เป็นเพียงบางครั้งที่ไปโดน...

Oracle Troubleshoot : ORA-01723: zero-length columns are not allowed error code when create mview

Oracle Troubleshoot : ORA-01723: zero-length columns are not allowed error code when create mview อรุณสวัสดิ์ทุกคนครับ ช่วงนี้อากาศสดใสหลังฝนตก มลพิษลดลง ทำให้สุขภาพเราดีขึ้นครับ แต่เรื่องหน้าที่การงานเราก็ต้องสู้กันต่อไปครับ วันนี้มีน้องฝากบทความมาเป็นปัญหาที่เกิดขึ้นในขณะที่เราสร้าง Oracle Materialized View ซึ่งเป็น Objects อีกชนิดนึงของ Oracle ที่มีประโยชน์มาก ด้วยคุณสมบัติที่เป็นเสมือน Table คือมีเนื้อข้อมูลจริงไม่ใช่ View ที่ต้องไป Join...

Oracle Troubleshoot : ORA-12518: TNS:listener could not hand off client connection

Oracle Troubleshoot : ORA-12518: TNS:listener could not hand off client connection วันนี้มีเรื่องราวปัญหา Oracle มาเล่าสู่กันฟัง เป็นปัญหาที่เกิดขึ้นตอนที่เราสร้างการเชื่อมต่อไปยังฐานข้อมูล oracle ดังตัวอย่าง C:\>tnsping db10 Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=localhost) (PORT=1522))...

Oracle Troubleshoot : ORA-01031: insufficient privileges when create Foreign key

Oracle Troubleshoot : ORA-01031: insufficient privileges when create Foreign key วันนี้มีปัญหาเล็กๆแต่อาจเป็นปัญหาเส้นผมบังภูเขามานำเสนอครับ สำหรับคนใช้งานฐานข้อมูล Oracle RDBMS คงจะคุ้นเคยกับ oracle error code “1031” หรือ ORA-01031: insufficient privileges เป็นปัญหาที่เกิดจากการไม่มีสิทธิ์ในการกระทำใดๆที่คุณกำลังทำอยู่นั่นเอง ซึ่ง error code นี้สามารถเกิดขึ้นได้กับการเรียกใช้คำสั่งหรือ statement ใดๆภายในฐานข้อมูล Case Study 1 :?Insufficient...

Oracle Troubleshoot : ORA-00997: illegal use of LONG datatype

Oracle Troubleshoot : ORA-00997: illegal use of LONG datatype โดยปกติการสร้างตารางที่มีฟิลด์ที่ต้องการเก็บข้อมูลจำนวนมากกว่า 4,000 Bytes แต่เดิมจะกำหนดเป็น “LONG” datatype แต่ต่อมาเราจะพบว่า เวลาเราต้องการย้ายตารางที่มี “LONG” datatype จะไม่สามารถทำได้ ซึ่งเราจะพบว่ามีข้อความผิดพลาดแสดงดังนี้ SQL> alter table TESTTAB2 move tablespace NEWUSER_DATA; ERROR at line 1: ORA-00997: illegal...