Articles Comments

Oracle DBA & All IT » Entries tagged with "OL$HINTS"

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

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

Filed under: New Feature, Oracle Tips, Tuning Performance