Articles Comments

Oracle DBA & All IT » Archive

วิธีการแก้ปัญหาลง OBIEE (Oracle Business Intelligence Tools) บน windows 7 ไม่ได้

วิธีการแก้ปัญหาลง OBIEE (Oracle Business Intelligence Tools) บน windows 7 ไม่ได้   ทำได้โดยการไปแก้ Compatibility mode ก่อนการ Install   .. Preview : 6902 … Read entire article »

Filed under: Database, ORA-Error, Oracle, Utilities

รวมโปรแกรมฟรีพื้นฐานที่ควรมีไว้

รวมโปรแกรมฟรีพื้นฐานที่ควรมีไว้ติดเครื่อง โปรแกรมดูราคาทองโลกแบบ Real Time โปรแกรมสำหรับแปลง excel word รูปภาพและอื่นๆ เป็น PDF ไฟล์   .. Preview : 27617 … Read entire article »

Filed under: Download

แก้ปัญหา buffer overflow ใน SQL*Plus ,PL/SQL และ PL/SQL developer tools

วันนี้จะมาพูดถึง buffer overflow ใน pl/sql และการรันจาก pl/sql developer tools ถ้าเจอปัญหาอย่างนี้เราสามารถที่จะแก้ไขได้อย่างไร   .. Preview : 8946 … Read entire article »

Filed under: Developer, ORA-Error, Oracle Tips, Utilities

การเขียน menu ด้วย shell script

ตัวอย่างการเขียน menu ด้วย shell script สร้างไฟล์ menu แล้วใส่ code ด้านล่าง จะเป็น code ง่ายๆ สร้างเมนูสำหรับการทำงาน โดยตัวอย่างด้านล่างจะมีเมนูให้เลือก .. Preview : 9014 … Read entire article »

Filed under: Unix

ORA-06512 DBSNMP.BSLN_INTERNAL

Error นี้พบใน oracle11g  จะเกิดขึ้นใน alert log file โดยจะมี Error นี้เกิดขึ้นทุกๆวันอาทิตย์ โดยมี Error ตามด้านล่างนี้ ORA-12012: error on auto execute of job 2473584 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "DBSNMP.BSLN_INTERNAL", line 2073 ORA-06512: at line 1 .. Preview : 14326 … Read entire article »

Filed under: ORA-Error

Fixing Corrupt System Managed Undo Segments ORA-00600:[6006], [1], ..

มี error ใน alert log เกี่ยวกับ undo segment as needs recovery  สามารถแก้ได้ตามด้านล่างค่ะ Errors in file /oracle/admin/test/bdump/test2_smon_21466.trc: ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], [] SMON: mark undo segment 29 as needs recovery .. Preview : 13158 … Read entire article »

Filed under: ORA-Error

การใช้งาน vi editor บน unix

Vi คืออะไร (What is vi?) Vi (visual editor) คือ editor พื้นฐานในระบบปฏิบัติการ Unix ซึ่งเป็นโปแกรม editor ใช้สำหรับ เพิ่ม ลบ แก้ไข ไฟล์ข้อมูลใดๆ โดยมีคำสั่งพื้นฐานดังนี้ UNIX vi editor มี  2 โหมด: Command mode เป็นคำสั่งสำหรับทำการใดๆกับไฟล์  Insert mode ใช้สำหรับการใส่ข้อมูลลงไฟล์ กดปุ่ม <Esc> (Escape) สำหรับยกเลิกการใช้โหมด insert   NOTE: ทั้ง UNIX และ vi เป็น case-sensitive. (ตัวเล็กตัวใหญ่ต่างกัน)   .. Preview : 15127 … Read entire article »

Filed under: Programming, Unix

Oracle DBA Responsibilities & Skills

หลายคนคงสงสัยว่า DBA ทำหน้าที่และต้องมีทักษะอะไรบ้าง วันนี้เลยเอามาฝากกันค่ะ อย่างน้อยจะได้รู้คร่าวๆก่อนว่าอาชีพนี้จะต้องทำอะไรบ้าง สำหรับน้องๆที่อยากจะก้าวมาเป็น DBA ค่ะ จะได้เตรียมตัวให้พร้อม   .. Preview : 12679 … Read entire article »

Filed under: Database, DBA, Oracle

ความแตกต่างระหว่างคำสั่ง Truncate, Delete และ Drop

DELETE   คำสั่ง DELETE จะใช้สำหรับลบข้อมูลออกจากตาราง สามารถใส่เงื่อนไขในการลบได้ด้วย  ถ้าำไม่มีการกำหนด เงื่อนไข จะเป็นการลบข้อมูลทั้งตาราง หลังจากที่มีการรันคำสั่ง DELETE จะต้องตามด้วยคำสั่ง COMMIT เป็นการยืนยันการลบข้อมูล หรือ ROLLBACK เพื่อยกเลิกการลบก่อนหน้า   .. Preview : 52009 … Read entire article »

Filed under: Function, Oracle Tips, Tuning Performance

การสร้าง Outline บังคับให้ statement ใช้ index ตามที่เราต้องการ

บ่อยๆ ที่เราจะพบว่า statement ช้าก่อน พอ Plan table ดูกลับพบว่า ใช้ index ไม่ถูกตัวแต่ไม่อยากที่จะแก้โปรแกรมโดยการใส่ hint ตอนนี้เราสามารถที่จะใช้ outline มาแก้ปัญหานี้ได้โดยสร้าง outline outline คืออะไร คือเป็นตัวบอกว่า statment นี้ถ้าเข้ามาให้ไปใช้ plan ตามที่เราเตรียมไว้นั่นเอง   .. Preview : 30449 … Read entire article »

Filed under: New Feature, Oracle Tips, Tuning Performance