! "# " "$ %&' ($$$ )%&' *+),%&' -.*&*/

Similar documents
SecureFiles Migration O R A C L E W H I T E P A P E R F E B R U A R Y

Configure ODBC on ISE 2.3 with Oracle Database

C. Use the TO_CHAR function around SYSDATE, that is, 1_date := TO_CHAR (SYSDATE).

Oracle Data Pump Internals

Schema Comparison Report

Oracle XML DB and Native Web Services

Schema Comparison Report

DBA_VIEWS DBA_SEQUENCES

PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL NEXT MINEXTENTS 1 MAXEXTENTS

An Introduction to Oracle XML DB in Oracle Database 11g Release 2

RADventure Oracle Dictionary Tools Programmers Documentation

LOBS, BLOBS, CLOBS Dealing with Attachments in APEX

Oracle Alter Table Add Unique Constraint Using Index Tablespace

ORACLE 8 OBJECT ORIENTED TECHNOLOGY ORACLE SOFTWARE STRUCTURES SERVER SIDE BACKGROUND PROCESSES DATABASE SERVER AND DATABASE INSTANCE

Research on Spatial Database Design and Tuning Based on Oracle and ARCSDE

Implement a virtual private database with fine-grained access control. Write code to interface with external C and Java applications.

Copyright 2017, Oracle and/or its affiliates. All rights reserved.

SecureFiles with Oracle Database 18c O R A C L E W H I T E P A P E R F E B R U A R Y

Tuning Considerations for Different Applications Lesson 4

NORAD DBControl Online Whitepaper

Redefining Tables Online Without Surprises. Nelson Calero Oracle Open World October 2017

Introduction 1. Conventions 7 Source Code and Updates 8. Setting Up 11

Oracle Database 11g Production Case Study: Porting to Oracle Database 11 - Tips, Techniques, and Experiences

Data Warehouse appliances: IBM Pure Data for Analytics

04 Storage management 15/07/17 12:34 AM. Storage management

Customer Experiences with Oracle XML DB. Aris Prassinos MorphoTrak, SAFRAN Group Asha Tarachandani & Thomas Baby Oracle XML DB Development


Universitatea Politehnica Bucureşti - Facultatea de Automatica si Calculatoare. 4. Managing Data. Tables, Indexes and Constraints

VERSION. Version Date Description. Estimate size of B-tree Indexes ! " # $$% & ' ( )*(!+ $ &-+ / ! 5 '9

Data Warehousing. One of the primary focal points of Oracle Database 11g is to change the perception of how to CHAPTER 12

Using Oracle XML DB to Optimize Performance and Manage Structured XML Data

Manually configuring Oracle 12c IBM

An Oracle White Paper February Optimizing Storage for Oracle PeopleSoft Applications

Post Upgrade Maintenance Specification

Design flexible data models leveraging Oracle 11gR2 XML indexing capabilities

Oracle9i DBA Fundamentals I

ITExamDownload. Provide the latest exam dumps for you. Download the free reference for study

COMPARE THE PERFORMANCE OF BASICFILE VS SECUREFILE LOBS In order to check the performance of two types of LOBs format, we will perform the following

Automatically Generate Xml Schema From Sql Server Tables

An Oracle White Paper October Advanced Compression with Oracle Database 11g

Oracle 1Z0-031 Exam Questions & Answers

Oracle 1z z0-146 Oracle Database 11g: Advanced PL/SQL. Practice Test. Version QQ:

Table Compression in Oracle9i Release2. An Oracle White Paper May 2002

Oracle Database Database SecureFiles and Large Objects Developer's Guide. 18c

ENHANCING DATABASE PERFORMANCE

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

Correctexams.com. Exam :1Z0-031 Title:Oracle9i: DBA Fundamentals I Version Number:Version Last Verified and Updated on Jan 4, 2003

Pass IBM C Exam

Oracle 11g Secure Files-Performance Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Basics of SQL Transactions

Question: 1 Identify three components of an Oracle instance for which you can change the size dynamically. (Choose three.)

Advance SQL: SQL Performance Tuning. SQL Views

JPexam. 最新の IT 認定試験資料のプロバイダ IT 認証であなたのキャリアを進めます

Developer. 1 enterprise. Professional Guide. Oracle Advanced PL/SQL. example questions for 1Z0-146 examination

Oracle DB-Tuning Essentials

CHAPTER. Overview of Migration, Transformation, and Upgrade Methodologies

1Z Z0-146-Oracle Database 11g: Advanced PL/SQL Exam Summary Syllabus Questions

*** Example 2: Compression of just one column in a concatenated index (with a very selective column second)

CUBE, ROLLUP, AND MATERIALIZED VIEWS: MINING ORACLE GOLD John Jay King, King Training Resources

System Copy on Oracle

To Cache or not to Cache; and How?

Exam : 1Z : Oracle 9i Database Fundamentals I. Title. Ver :

Prep4Cram. Latest IT Exam Prep Training and Certification cram

Oracle ActualTests v by BeCKS

The "Parcels" Database Schema

Rampant TechPress. Documenting Oracle Databases Complete Oracle database schema auditing. Mike Ault. TLFeBOOK

ABSTRACT INTRODUCTION. Bhaskar Himatsingka, Oracle Corporation & Juan Loaiza, Oracle Corporation

Seminar: Presenter: Oracle Database Objects Internals. Oren Nakdimon.

A Robust Blueprint to Performance Optimization in Multiblock Databases. Anthony D. Noriega.

New Features Bulletin Replication Server Options 15.6

Oracle 1Z Oracle Database 11g: Advanced PL/SQL.

einfach. gut. beraten. How to reorganize and why? DOAG Conference + Exhibition , Nuremberg Klaus Reimers

Optimizing Storage with SAP and Oracle Database 12c O R A C L E W H I T E P A P E R M A Y

Vendor: IBM. Exam Code: Exam Name: DB DBA for Linux, UNIX, and Windows. Version: Demo

Table USER_ALL_TABLES

Database Programming with PL/SQL

Bridging the Gap. Peter Ebell AMIS

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

XML Data Into and Out of Oracle Using PL/SQL. Ken Atkins Creative Design Associates

How Viper2 Can Help You!

The dialog boxes Import Database Schema, Import Hibernate Mappings and Import Entity EJBs are used to create annotated Java classes and persistence.

Donald K. Burleson Dave Ensor Christopher Foot Lisa Hernandez Mike Hordila Jonathan Lewis Dave Moore Arup Nanda John Weeg

Disaster Recovery: Restore Database from One Server to another Server when Different Location

Vendor: IBM. Exam Code: C Exam Name: DB DBA for Linux UNIX and Windows. Version: Demo

INTERSTATE PASSPORT PROCESS DOCUMENT

New Oracle 11g SQL Features

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

Data Warehousing & Big Data at OpenWorld for your smartphone

CO Oracle Database 12c: Advanced PL/SQL

C Examcollection.Premium.Exam.58q

Lesson 4 Transcript: DB2 Architecture

Why is my Oracle10g Database SLOWER than my Oracle9i Database? Dan Hotka Author/Speaker/Oracle Expert

PDSA XML Builder Utility

Oracle 1Z0-235 Exam Questions & Answers

ROLLBACK SEGMENTS. In this chapter, you will learn about: Rollback Segment Management Page 272

An Oracle Technical White Paper. Technical White Paper. January Page 1 of 94

Oracle 11g Virtual Column Inderpal S. Johal. Inderpal S. Johal, Data Softech Inc.

Exam Name: Oracle 11i Applications DBA: Fundamentals I Exam Type Oracle Exam Code: 1z0-235 Total Questions: 108

Supported Fujitsu BS2000 Servers (page 1) Known Restrictions, Issues, and Workarounds (page 3) Documentation Accessibility (page 8)

Optimal Physical Database Design for Oracle8i

Transcription:

1

! "# " "$ %&' ($$$ )%&' *+),%&' -.*&*/ 2

010232 %&'24& 0506260 021 3

4

&*7+8 9!"#$%#&: 5

Probably You Do Not Need to Actually Design Anything 6

4*+/+.; "#&%$' 7

"#&%$' 4*+/+.; () OBJECT *object_id name owner created LINKS *object_id1 *object_id2 OBJ_ATTR_VALUES *object_id *attribute_id attribute_name attribute_type ATTRIBUTES *attribute_id attribute_name attribute_type 8

"#&%$' 4*+/+.;.<.!* +..+= Create table Object ( object_id number primary key, data +,&- ); 9

Brilliant Stuff, This XMLDB Database Thingy! (You only need ONE TABLE!) 10

./,& 0$/#12 ') ); 1+ ); 11

/3 )$4 $5 Create table Object ( data +,&- ); 0&# 1$ 12

3055$4 1$(# CREATE TABLE "MARCO". OBJECT" OF "SYS"."XMLTYPE" XMLSCHEMA "http://www.myserver.com/myapp/1.0/xsd/object.xsd" ELEMENT ROOT" ID 4733 PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 6,'&#$$7 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST $5 GROUPS 1 BUFFER_POOL 1$ DEFAULT) TABLESPACE "USERS VARRAY "XMLEXTRA"."NAMESPACES" STORE AS BASICFILE LOB "NAMESPACES660_L" (ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 CACHE STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) VARRAY "XMLEXTRA"."EXTRADATA" STORE AS BASICFILE LOB "EXTRADATA659_L" (ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 CACHE STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 1$ PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) 13

&)$ $5 18!,#, /98!:/; 3)+>&)>2 +*68! -1; 23 8*+>2+>3>./+ )-2? (0. <)90 /: /*@ -.)+ 3*!<<1."A.+').) $$<&>7,$><& 578$$$ 5$56$55 14

$&#,# -) %&' /, *$<5 &! 2*! '- 2!<%B0 &!!!"# $%& 15

6, 16

#5&# $#$= 1 1$ %&'3".* %&'*%$$$>%&',.>C & 1$ /") )/ %&'') ) +)+!>2*!>C>,.; 8$5+>3>%&'3 >-. > 8&# 5!"#$# "!%$# 5$= /$$'%> /-,? > 7,$ 17

@$A# 1$ $$5,)-& )>,.>.+ )/ +.* 2' +%&'''24&!,-.,;= 5.!) %$$$,<. 8 )>,.>* 18

%$$$!5/< 19

+$11 $5& 1$ 20

$ $# @$ $ 6B 6@0* % %&'* % B,!%&'!+ $# @$ &D& 5D ' C) E,FG$#* <,GH E "")"/*" */"%&' " 6 ))!!+$)0(3IJ0 21

@$1616##9); 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; / 22

SQL> select * from tab; TNAME TABTYPE ------------------------------ ------- INFO_TABLE TABLE ROOT_TABLE TABLE )#<C)$ 61 SQL> select dbms_metadata.get_ddl('table','root_table') from dual; DBMS_METADATA.GET_DDL('TABLE','ROOT_TABLE') ------------------------------------------------------ CREATE TABLE "MARCO"."ROOT_TABLE" OF "SYS"."XMLTYPE" XMLSCHEMA "http://www.myserver.com/root.xsd" ELEMENT "ROOT" PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" VARRAY "XMLEXTRA"."NAMESPACES" STORE AS BASICFILE LOB "NAMESPACES780_L"... VARRAY "XMLDATA"."INFO"."SYS_XDBPD$" STORE AS BASICFILE LOB "SYS_XDBP..." DISALLOW NONSCHEMA... 23

@$1616##9$&; 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; / 24

SQL> select * from tab; TNAME TABTYPE ------------------------------ ------- ROOT_TABLE TABLE )#$& 61 SQL> select dbms_metadata.get_ddl('table','root_table') from dual; DBMS_METADATA.GET_DDL('TABLE','ROOT_TABLE') ------------------------------------------------ CREATE TABLE "MARCO"."ROOT_TABLE" OF "SYS"."XMLTYPE" XMLTYPE STORE AS BASICFILE BINARY XML ( TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10 NOCACHE LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) XMLSCHEMA "http://www.myserver.com/root.xsd" ELEMENT "ROOT" DISALLOW NONSCHEMA... TABLESPACE "USERS" 25

D5$ (#$$ %&'C *C *C 5# *C *C )0 $& 61-$ K%&'24& K''L24& 3''24& ##& *+# 26

6&$+*+,- E>; SQL> create table "XML_XSD01" of XMLTYPE 2 XMLTYPE STORE AS BASICFILE BINARY XML 3 XMLSCHEMA "http://www.myserver.com/root.xsd" 4 ELEMENT "ROOT" 5 ALLOW NONSCHEMA; Table created. SQL> create table "XML_XSD02_BUG" of XMLTYPE 2 XMLTYPE STORE AS BASICFILE BINARY XML 3 XMLSCHEMA "http://www.myserver.com/root.xsd" 4 ELEMENT "ROOT" 5 ALLOW ANYSCHEMA 6 DISALLOW NONSCHEMA; Table created. Oops... B.6396229 27

616## 28

@<C)$$& %&' ) %&' 0 %&'+! / %&'+! C 6.. +%&'.. 4+/.* 2' % NO %&'3 & *! N+O 30L % N+"O %&'3 2 *! NO 0 % N+O >3 2 *! NO & % N+O >3 /M 0 /M 0 / 29

6, 618#.). @ $& * Q P Q! P Q P &' QQ P Q %11<* QQ P Q.)!. P Q QQ &*+&)* QQ P Q %&'3 P F Q -." Q Q Q "3 Q P P 30

8!*$5+ &#$( &' $ 143 >03 0!3 03 T+,. ")$)#$( 03 >0 0D7L 0 03 0 0,( $$$ 0 * %$#$( 60RC'6R>>S -623 8!%&'<)* 31

8$5+, )# ') 3 ) < %&' * 90,,: <2') 6 6#<$1 -.%&'3 / 35 T /% %U A.+0 T -.@@+>"" 2/*&.+?.!!%1! %&'3<* %&'3 1/ 32

8$5+*+,- SQL> CREATE INDEX XMLIX_INFO on INFO_TABLE (object_value) 2 INDEXTYPE IS XDB.XMLIndex; SQL> CREATE INDEX XMLIX_ROOT on ROOT_TABLE (object_value) 2 INDEXTYPE IS XDB.XMLIndex 3 PARAMETERS ('PATHS (INCLUDE (/ROOT/ID 4 /ROOT/INFO/INFO_ID 5 ) 6 NAMESPACE MAPPING (xmlns="http://www.myserver.com/root.xsd")) 7 PATH TABLE XMLBIN_PATH_TABLE 8 PATH ID INDEX XMLBIN_PATHID_IX 9 ORDER KEY INDEX XMLBIN_ORDERKEY_IX'); 33

$&-$ SQL> CREATE TABLE "ROOT_TABLE" OF "SYS"."XMLTYPE" 2 XMLTYPE STORE AS SECUREFILE BINARY XML 3 XMLSCHEMA "http://www.myserver.com/root.xsd" ELEMENT "ROOT" 4 DISALLOW NONSCHEMA 5 COMPRESS 6 ; SQL> alter table "ROOT_TABLE" 2 modify lob (XMLDATA) 3 (COMPRESS HIGH); -- ALTER TABLE "ROOT" MODIFY LOG (XMLDATA) -- COMPRESS NOCOMPRESS COMPRESS MEDIUM COMPRESS HIGH B.6364855 34

)-2 <) *TV * +.. <V ) <.. * * =.,. <%&'>+V.,+.V V+.,)9-.&+:H 35

)7$ %&',!5. %&' -.*!8""<.**"<.*"<.*M!;<.*3 F %&' -A!8""<.**"<.*"M!;3 F$ )!8"")+*"/)!8""/))T* T*!8""T**9-: C+)<.<&T T? < 36

"#$= *)TW*!8""* 37