Oracle9i Database Release2 New Technology
Mr. Wechsuphol Promwongsachan 433351-5
Miss Nitiporn Amornpisutt 433332-1
Overview
• Oracle9i พัฒนาต่อจาก Oracle8i ซึ่งจะเน้นการทางานบน Internet
• New feature on Oracle9i
1. Oracle9i Database Administration and Management Feature 2. Oracle9i Architecture Changes 3. New Oracle9i Availability and Recoverability Features
Overview (ต่อ)
4. New Oracle9i Database DSS and Data-Warehousing Features 5. Miscellaneous Oracle9i Features and Enhancements 6. Oracle9i SQL, PL/SQL New Features 7. Oracle9i Real Application Clusters 8. New Oracle9i XML and iFS Features
Oracle XML DB
1. Introduction to Oracle XML DB 2. Benefit of Oracle XML DB 3. Key features of Oracle XML DB
4. Oracle XML DB and XML Schema
5. Oracle XML DB Architecture
6. XMLType Storage Architecture
1. Introduction to Oracle XML DB
• XML เป็นมาตรฐานการแลกเปลี่ยนเอกสารและข้อมูลสารสนเทศ บนเว็บ ความสามารถของ XML ทาให้เราสามารถแลกเปลี่ยนข้อมูล ระหว่าง Application ที่แตกต่างกันได้
• เร็วๆนี้มาตรฐาน XML ใหม่ๆ เช่น XML Schema สามารถรวม Data model ให้เป็นแบบเดียวกันนั่นคือสามารถจัดการได้ทั้งข้อมูลที่เป็น Structured data และ Document • XML schema ได้กลายเป็นนวัตกรรมใหม่ที่สาคัญต่อการจัดการเนื้อหา ของเอกสารโดยทาให้เอกสารที่จัดขึ้นแบบ XML สามารถนามาใช้ร่วมกับ
ฐานข้อมูลได้
2. Benefit of Oracle XML DB
• จัดการข้อมูลที่เป็น Structured data และข้อมูลที่เป็น Unstructured data ด้วยมาตรฐานเดียวกันคือ W3C XML
data model (XML schemas)
• แลกเปลี่ยนดาต้าวิว (Data views) ระหว่าง XML และ SQL ได้ • สามารถจัดเก็บ XML ไว้ภายในฐานข้อมูล และในเวลาเดียวกันสามารถเข้าถึง
XML ผ่าน Desktop tool ได้
•
ฟังก์ชันต่างๆ เกี่ยวข้องกับ XML-specific data-caching, Memory
management, Query optimization on XML, Special hierachical indexes on the XML Repository เป็นต้น
• ความสามารถในการเข้าถึงข้อมูลที่มาจากระบบที่แตกต่างกัน
3. Key features of Oracle XML DB
• XML Feature ที่สาคัญ ใน Oracle9i Release1
(9.0.1) เป็นต้นไปคือ
1. 2. 3. 4. 5. XML Type DOM fidelity XML schema Schema caching Oracle XML DB Repository
XML Type
• เป็น Native data type ที่ช่วยในการจัดเก็บและจัดการ XML อย่างชานาญ
• มีความสามารถให้เราเลือกการจัดเก็บข้อมูลได้หลากหลายแบบ (Character Large Object (CLOB), Structure XML) • การจัดเก็บข้อมูลแบบ Native structured XML คือการแยกส่วนของ XML เพื่อเน้น Object-relational structures • SQL index หรือ Oracle Text index บน XML Type
DOM fidelity
• Document Object Model (DOM) เป็นมาตรฐานการ
แสดงเอกสาร XML
• DOM fidelity หมายความว่าโปรแกรมสามารถใช้ข้อมูล XML ได้อย่าง
ถูกต้องและกระบวนการจัดเก็บข้อมูลจะไม่มีผลกระทบต่อโครงสร้างข้อมูล
XML schema
• Oracle XML DB ทาให้เราสามารถทาเอกสาร XML ให้เป็น XML Schema
• สามารถสร้างตาราง (Table) และประเภท (Type) อัตโนมัติโดย ใช้ W3C Standard XML Schema • สามารถบังคับเอกสาร XML ให้ถูกจัดเก็บเป็น Schema-valid
Schema caching
ข้อมูลโครงสร้างต่างๆ (เช่น Element tags, Data types และ ตาแหน่งข้อมูล) จะถูกเก็บใน Schema Cache เพื่อลดเวลาในการ เข้าถึงข้อมูล (Access time) และค่าใช้จ่าย (Cost)ในการเข้าถึงข้อมูล
•
Oracle XML DB Repository
• Repository สนับสนุน Access Control Lists (ACLs) • เราสามารถใช้ Repository เพื่อที่จะดูรายละเอียดของ XML และ Resource • Oracle XML DB สามารถให้ใช้ Hierarchical Index
ในการค้นหาโฟลเดอร์อย่างรวดเร็ว
4.Oracle XML DB and XML schema
• XML Schema ทาให้ Document Modeling และ Data Modeling เป็นหนึ่งเดียวกันใน Oracle XML DB • เราสามารถพัฒนาและใช้รูปแบบมาตรฐานของข้อมูลกับทุกๆ Data, Structures, Unstructures และ Pseudo/Semi-Structured • เราสามารถเก็บ XML Type Object ได้ 2 แบบ - XML Schema-based object - Non – XML Schema-based object
5. Oracle XML DB architecture
Picture Oracle XML DB Architecture: XMLType
Storage and Repository
6. XMLType Storage Architecture
picture Oracle XML DB: XMLType Storage and Retrieval Architecture
6. XMLType Storage Architecture (ต่อ)
picture Oracle XML DB: Repository Architecture
Oracle XML DB Benefits
Picture Unifying Data and Content with Oracle XML DB Picture Oracle XML DB Benefits
บรรณานุกรม
• Joe Trezzo. (2002). Oracle9i PL/SQL New Features. http://team.tusc.com/pls/inet/inet_Download_Info_pkg. Get_Info?in_item=9iplsql_print.zip. 20 มิถุนายน 2546 • Oracle Corporation. (2003). Oracle9i Database Release 2 New Feature.http://otn.oracle.com/products/oracle9i/pdf/9idb_rel2_features
20 มิถุนายน 2546
• Robert Freeman. (2002). Oracle9i New Feature. New York: Corel VENTURA Publisher.
• ศุภชัย สมพานิช. (2544). เข้าใจและใช้งานภาษา XML ฉบับโปรแกรมเมอร์.นนทบุร:ี อินโฟรเพรส.
จบการนาเสนอ
ขอขอบคุณ อาจารย์ อภิศักดิ์ พัฒนจักร อาจารย์ นงราม เหมือนฤทธิ์ อาจารย์ สุมณฑา เกษมวิลาศ และ เพื่อนๆ ที่คอยเป็นกาลังใจให้เสมอมา