Más contenido relacionado
La actualidad más candente (20)
Similar a XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gralike (20)
Más de Marco Gralike (12)
XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gralike
- 33. Creating Storage Structures (OR) SQL> BEGIN DBMS_XMLSCHEMA.registerSchema (SCHEMAURL => 'http://www.myserver.com/root.xsd', SCHEMADOC => xdbURIType('/public/root.xsd').getClob(), LOCAL => TRUE, -- local GENTYPES => TRUE, -- generate object types GENBEAN => FALSE, -- no java beans GENTABLES => TRUE, -- generate object tables OWNER => USER); END; /
- 35. Creating Storage Structures (Binary) SQL> BEGIN DBMS_XMLSCHEMA.registerSchema (SCHEMAURL => 'http://www.myserver.com/root.xsd', SCHEMADOC => xdbURIType('/public/root.xsd').getClob(), LOCAL => TRUE, -- local GENTYPES => FALSE, -- generate object types GENBEAN => FALSE, -- no java beans GENTABLES => TRUE, -- generate object tables OPTIONS => DBMS_XMLSCHEMA.REGISTER_BINARYXML , OWNER => USER); END; /
- 40. CLOB, Object Relational, Binary XML XMLType (Tables) XMLType Views XMLDB Data Storage (Object) Relational Objects Relational Tables Relational World XMLDB World Binary XML Structured Mixed complex[y] BINARY XSD [y/n] XMLIndex Content complex[n] OR XSD [y] BTree, IOT Hybrid Content complex[n] Mixed XSD [y] BTree, IOT Unstructured Document na CLOB XSD [n] XMLIndex
- 41. Some XML Storage Issues (*) 11g - XML Schema - “preserve space” - - + BTree / IOT + + + Function / Text + + - XMLIndex + - ++ Memory Management ++ + - Throughput + - ++ XPath Performance + - ++ DML - (*) + - (*) Whitespace ++ - + Schema Based Binary XML CLOB O.R.
- 47. Equi Partitioning of Table PART_DEMO EMP_PROJ_P11 reference_id EMPLOYEES_PROJ_TAB “ employees”.”employee” EMP_PROJ_P12 PROJ_DETAILS_TAB