MINI MINI MANI MO
<?xml version="1.0"?>
<!--
NAME
Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
kuscomm.xsd
DESCRIPTION
Common XML Schema types for SXML.
MODIFIED MM/DD/YY
tbhukya 03/23/17 - Bug 25747729: Add TABLE_COMPRESS
tbhukya 02/24/17 - Bug 25571994: Add MEMOPTIMIZE_READ/WRITE
tbhukya 01/30/17 - Bug 25095866: Add MEMOPTIMIZE
tbhukya 06/09/16 - Bug 22171888: cellmemory support
tbhukya 05/13/16 - Bug 23248862: Add RESULT_CACHE
tbhukya 11/19/15 - Bug 22171671: Add MAXTRANS
tbhukya 12/24/15 - RTI 18868579: Replace Cellcache with CellMemory
tbhukya 10/08/15 - Bug 21816026: Add Index compress, CellCache
rapayne 09/15/15 - bug 21147617: add imc DISTRIBUTE FOR SERVICE syntax
rapayne 07/27/15 - bug 19241274: partition_by_quantity
lbarton 05/23/13 - bug 15872712: ILM policies
rapayne 03/02/14 - bug 18155007: INMEMORY definitions.
rapayne 04/22/13 - bug 15924364: add new compression syntax
lbarton 03/08/12 - 36954_dpump_tabcluster_zonemap
rapayne 10/24/11 - proj 37634: partial index support - add offonType
pknaggs 06/01/11 - 9934805: add 256-character element, link$.passwordx
spetride 05/24/10 - add char200ElementWithValue1 for user$.spare4
lbarton 11/11/09 - deferred segment creation for partitions
lbarton 09/21/09 - bug 8820324: support all values in deferred_stg
lbarton 07/09/09 - bug 8494344: archive compression
rapayne 05/10/09 - bug 8391296: add FLASH_CACHE to storage definition.
rapayne 01/15/08 - Add INTEGER and DECIMAL to TypeNameElement
- Add OIDType definitions (i.e., from kustablt.xsd)
lbarton 01/15/08 - Bug 6724820: table compression
lbarton 03/19/08 - deferred segment creation
lbarton 12/19/07 - Bug 6655531: customer area
lbarton 11/15/06 - diff support
slynn 10/15/06 - remove LOBRETENTION
htseng 08/01/06 - add LOBRETENTION and MAXSIZE support
lbarton 11/09/05 - Bug 4724986: reformat files for use with XMLSpy
lbarton 10/18/05 - lbarton_mddiff2
lbarton 09/06/05 - Initial version
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ku="http://xmlns.oracle.com/ku" targetNamespace="http://xmlns.oracle.com/ku" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- types without element content -->
<!-- "vsn" attribute -->
<xsd:simpleType name="vsn">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="1.0"/>
<!-- Other values can be added as needed -->
</xsd:restriction>
</xsd:simpleType>
<!-- "src" attribute -->
<xsd:simpleType name="srcType">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="2"/>
</xsd:restriction>
</xsd:simpleType>
<!-- for elements without content, e.g., GLOBAL_TEMPORARY -->
<xsd:complexType name="EmptyType">
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<!-- for elements like SCHEMA or NAME - 30 characters long -->
<xsd:complexType name="char30ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char30Element">
<xsd:attribute name="value1" type="ku:char30Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char30Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="30"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 128-character elements -->
<xsd:complexType name="char128ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char128Element">
<xsd:attribute name="value1" type="ku:char128Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char128Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="128"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 132-character elements -->
<xsd:complexType name="char200ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char200Element">
<xsd:attribute name="value1" type="ku:char200Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char200Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="200"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 256-character elements (link dollar passwordx, bug 9934805) -->
<xsd:complexType name="char256ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char256Element">
<xsd:attribute name="value1" type="ku:char256Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char256Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="256"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 1000-character elements -->
<xsd:complexType name="char1000ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char1000Element">
<xsd:attribute name="value1" type="ku:char1000Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char1000Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1000"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 2000-character elements -->
<xsd:complexType name="char2000ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char2000Element">
<xsd:attribute name="value1" type="ku:char2000Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char2000Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="2000"/>
</xsd:restriction>
</xsd:simpleType>
<!-- 4000-character elements -->
<xsd:complexType name="char4000ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:char4000Element">
<xsd:attribute name="value1" type="ku:char4000Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="char4000Element">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4000"/>
</xsd:restriction>
</xsd:simpleType>
<!-- unbounded strings -->
<xsd:complexType name="stringElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="value1" type="xsd:string"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- numeric with range 1-99 (e.g., PCTFREE) -->
<xsd:simpleType name="pctElement">
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="99"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="pctElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:pctElement">
<xsd:attribute name="value1" type="ku:pctElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- numeric with range 1-255 (e.g., INITRANS) -->
<xsd:simpleType name="int255Element">
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="255"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="int255ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:int255Element">
<xsd:attribute name="value1" type="ku:int255Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- numeric with range 1-255 (e.g., MAXTRANS) -->
<xsd:simpleType name="max255Element">
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="255"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="max255ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:max255Element">
<xsd:attribute name="value1" type="ku:max255Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- numeric with range 1-32766 (e.g., PARALLEL) -->
<xsd:simpleType name="int32766Element">
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="32766"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="int32766ElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:int32766Element">
<xsd:attribute name="value1" type="ku:int32766Element"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- unbounded non-negative integers -->
<xsd:complexType name="intElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="xsd:nonNegativeInteger">
<xsd:attribute name="value1" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- Y/N values -->
<xsd:simpleType name="YNElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="YNElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:YNElement">
<xsd:attribute name="value1" type="ku:YNElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- PARALLEL
(Note: I wanted content to be optional but I can't
figure out how to do that. So AUTOMATIC means
that Oracle will select the degree of parallelism.)
-->
<xsd:simpleType name="PARALLELstring">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AUTOMATIC"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PARALLELType">
<xsd:union memberTypes="ku:int32766Element ku:PARALLELstring"/>
</xsd:simpleType>
<xsd:complexType name="PARALLELTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:PARALLELType">
<xsd:attribute name="value1" type="ku:PARALLELType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- this is to support the old syntax -->
<xsd:simpleType name="DEFAULTstring">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DEFAULT"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DEFAULTType">
<xsd:union memberTypes="ku:int32766Element ku:DEFAULTstring"/>
</xsd:simpleType>
<xsd:complexType name="DEFAULTTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:DEFAULTType">
<xsd:attribute name="value1" type="ku:DEFAULTType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="OldPARALLELType">
<xsd:sequence>
<xsd:element name="DEGREE" type="ku:DEFAULTTypeWithValue1"/>
<xsd:element name="INSTANCES" type="ku:DEFAULTTypeWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<!-- complex types with element content -->
<!-- Physical Attributes clause -->
<xsd:group name="PhysicalAttributesClause">
<xsd:sequence>
<xsd:element name="PCTFREE" type="ku:pctElementWithValue1" minOccurs="0"/>
<xsd:element name="PCTUSED" type="ku:pctElementWithValue1" minOccurs="0"/>
<xsd:element name="INITRANS" type="ku:int255ElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXTRANS" type="ku:max255ElementWithValue1" minOccurs="0"/>
<xsd:element name="STORAGE" type="ku:STORAGEType" minOccurs="0"/>
</xsd:sequence>
</xsd:group>
<!-- SEGMENT ATTRIBUTES clause -->
<xsd:complexType name="SEGMENT_ATTRIBUTESType">
<xsd:sequence>
<!-- sxml diff doc can contain one of each -->
<xsd:choice minOccurs="0" maxOccurs="2">
<xsd:element name="SEGMENT_CREATION_DEFERRED" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="SEGMENT_CREATION_IMMEDIATE" type="ku:EmptyType" minOccurs="0"/>
</xsd:choice>
<xsd:element name="NO_CELLMEMORY" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="CELLMEMORY" type="ku:CellMemoryTypeWithValue1" minOccurs="0"/>
<xsd:element name="MEMOPTIMIZE_READ" type="ku:EmptyType" minOccurs="0"/>
<xsd:element name="MEMOPTIMIZE_WRITE" type="ku:EmptyType" minOccurs="0"/>
<xsd:group ref="ku:PhysicalAttributesClause"/>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="LOGGING" type="ku:YNElementWithValue1" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
<!-- STORAGE clause -->
<xsd:complexType name="STORAGEType">
<xsd:sequence>
<xsd:element name="INITIAL" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="NEXT" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="MINEXTENTS" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXEXTENTS" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="PCTINCREASE" type="ku:pctElementWithValue1" minOccurs="0"/>
<xsd:element name="MAXSIZE" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="FREELISTS" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="FREELIST_GROUPS" type="ku:intElementWithValue1" minOccurs="0"/>
<xsd:element name="BUFFER_POOL" type="ku:BufferPoolElementWithValue1" minOccurs="0"/>
<xsd:element name="FLASH_CACHE" type="ku:FlashCacheWithValue1" minOccurs="0"/>
<xsd:element name="CELL_FLASH_CACHE" type="ku:FlashCacheWithValue1" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<!-- BUFFER POOL -->
<xsd:simpleType name="BufferPoolElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="KEEP"/>
<xsd:enumeration value="RECYCLE"/>
<xsd:enumeration value="DEFAULT"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="BufferPoolElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:BufferPoolElement">
<xsd:attribute name="value1" type="ku:BufferPoolElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- FLASH_CACHE -->
<xsd:simpleType name="FlashCacheElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="KEEP"/>
<xsd:enumeration value="NONE"/>
<xsd:enumeration value="DEFAULT"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlashCacheWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:FlashCacheElement">
<xsd:attribute name="value1" type="ku:FlashCacheElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- TYPE_NAME -->
<xsd:simpleType name="TypeNameElement">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CHAR"/>
<xsd:enumeration value="VARCHAR2"/>
<xsd:enumeration value="NCHAR"/>
<xsd:enumeration value="NVARCHAR2"/>
<xsd:enumeration value="NUMBER"/>
<xsd:enumeration value="INTEGER"/>
<xsd:enumeration value="DECIMAL"/>
<xsd:enumeration value="FLOAT"/>
<xsd:enumeration value="BINARY_FLOAT"/>
<xsd:enumeration value="BINARY_DOUBLE"/>
<xsd:enumeration value="LONG"/>
<xsd:enumeration value="LONG_RAW"/>
<xsd:enumeration value="RAW"/>
<xsd:enumeration value="DATE"/>
<xsd:enumeration value="TIMESTAMP"/>
<xsd:enumeration value="TIMESTAMP_WITH_TIMEZONE"/>
<xsd:enumeration value="TIMESTAMP_WITH_LOCAL_TIMEZONE"/>
<xsd:enumeration value="INTERVAL_YEAR_TO_MONTH"/>
<xsd:enumeration value="INTERVAL_DAY_TO_SECOND"/>
<xsd:enumeration value="TIME"/>
<xsd:enumeration value="TIME_WITH_TIMEZONE"/>
<xsd:enumeration value="BLOB"/>
<xsd:enumeration value="CLOB"/>
<xsd:enumeration value="NCLOB"/>
<xsd:enumeration value="BFILE"/>
<xsd:enumeration value="ROWID"/>
<xsd:enumeration value="UROWID"/>
<xsd:enumeration value="MLSLABEL"/>
<xsd:enumeration value="UDT"/>
<xsd:enumeration value="NESTED_TABLE"/>
<xsd:enumeration value="VARRAY"/>
<xsd:enumeration value="OPAQUE"/>
<xsd:enumeration value="REF"/>
<xsd:enumeration value="XMLTYPE"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TypeNameElementWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:TypeNameElement">
<xsd:attribute name="value1" type="ku:TypeNameElement"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- SCHEMA NAME: define both group and type -->
<xsd:group name="SCHEMA_NAMEGroup">
<xsd:sequence>
<xsd:element name="SCHEMA" type="ku:char30ElementWithValue1"/>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="SCHEMA_NAMEType">
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
</xsd:sequence>
</xsd:complexType>
<xsd:group name="optSCHEMA_NAMEGroup">
<xsd:sequence>
<xsd:element name="SCHEMA" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="optSCHEMA_NAMEType">
<xsd:sequence>
<xsd:group ref="ku:optSCHEMA_NAMEGroup"/>
</xsd:sequence>
</xsd:complexType>
<!-- simple COL_LIST -->
<xsd:complexType name="SimpleCOL_LISTType">
<xsd:sequence>
<xsd:element name="COL_LIST_ITEM" type="ku:SimpleCOL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SimpleCOL_LIST_ITEMType">
<xsd:sequence>
<xsd:element name="NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="CUSTOMER_AREA" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:complexType>
<!-- *******************************************************************
Key compression
COMPRESS - Y, N, non-negative integer
******************************************************************** -->
<xsd:simpleType name="KeyCompressType">
<xsd:union memberTypes="ku:YNElement xsd:nonNegativeInteger"/>
</xsd:simpleType>
<xsd:complexType name="KeyCompressTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:KeyCompressType">
<xsd:attribute name="value1" type="ku:KeyCompressType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="OIDTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:OIDType">
<xsd:attribute name="value1" type="ku:OIDType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
OID: SYSTEM_GENERATED, PRIMARY_KEY or a hex value
******************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="OIDType1">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SYSTEM_GENERATED"/>
<xsd:enumeration value="PRIMARY_KEY"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OIDType2">
<xsd:restriction base="xsd:hexBinary">
<xsd:maxLength value="32"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="OIDType">
<xsd:union memberTypes="ku:OIDType1 ku:OIDType2"/>
</xsd:simpleType>
<!-- *******************************************************************
Result cache
RESULT_CACHE - FORCE, MANUAL
******************************************************************** -->
<xsd:simpleType name="ResultCacheType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FORCE"/>
<xsd:enumeration value="MANUAL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ResultCacheTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:ResultCacheType">
<xsd:attribute name="value1" type="ku:ResultCacheType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *******************************************************************
Table compression
COMPRESS - ALL, DIRECT_LOAD, etc.
ROW STORE COMPRESS ADVANCED (12.1)
OLTP (11.2) and ALL (pre-11.2) are synonyms
BASIC (11.2) and DIRECT_LOAD (pre-11.2) are synonyms
******************************************************************** -->
<xsd:simpleType name="TableCompressType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ROW STORE COMPRESS ADVANCED"/>
<xsd:enumeration value="OLTP"/>
<xsd:enumeration value="ALL"/>
<xsd:enumeration value="BASIC"/>
<xsd:enumeration value="DIRECT_LOAD"/>
<xsd:enumeration value="QUERY"/>
<xsd:enumeration value="ARCHIVE"/>
<xsd:enumeration value="N"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TableCompressTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:TableCompressType">
<xsd:attribute name="value1" type="ku:TableCompressType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *******************************************************************
Index compression
INDEX COMPRESS - ADVACNED LOW, HIGH
******************************************************************** -->
<xsd:simpleType name="IndexCompressType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value=" ADVANCED LOW"/>
<xsd:enumeration value=" ADVANCED HIGH"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="IndexCompressTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:IndexCompressType">
<xsd:attribute name="value1" type="ku:IndexCompressType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *********************************************************************
Table compression
TABLE COMPRESS - OLTP, QUERY LOW, QUERY HIGH, ARCHIVE LOW, ARCHIVE HIGH
*********************************************************************** -->
<xsd:simpleType name="TabCompressType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="OLTP"/>
<xsd:enumeration value="QUERY_LOW"/>
<xsd:enumeration value="QUERY_HIGH"/>
<xsd:enumeration value="ARCHIVE_LOW"/>
<xsd:enumeration value="ARCHIVE_HIGH"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TabCompressTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:TabCompressType">
<xsd:attribute name="value1" type="ku:TabCompressType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *******************************************************************
Table compress level - LOW (default is HIGH)
We call the complex type "WithValue1" so that its name is like
the other complex types, even though it can't have a value1
******************************************************************** -->
<xsd:simpleType name="TableCompressLevel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOW"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TableCompressLevelWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:TableCompressLevel">
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *******************************************************************
CellMemory
CELLMEMORY - MEMCOMPRESS FOR QUERY, CAPACITY
******************************************************************** -->
<xsd:simpleType name="CellMemoryType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="MEMCOMPRESS FOR QUERY"/>
<xsd:enumeration value="MEMCOMPRESS FOR CAPACITY"/>
<xsd:enumeration value=""/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CellMemoryTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:CellMemoryType">
<xsd:attribute name="value1" type="ku:CellMemoryType"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- *******************************************************************
OFF | ON type for Partial indexing support (Table object types)
******************************************************************** -->
<xsd:simpleType name="OnOffType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ON"/>
<xsd:enumeration value="OFF"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="OnOffTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:OnOffType">
<xsd:attribute name="src" type="ku:srcType"/>
<xsd:attribute name="value1" type="ku:OnOffType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType name="LowNoType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOW"/>
<xsd:enumeration value="NO"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LowNoTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:LowNoType">
<xsd:attribute name="src" type="ku:srcType"/>
<xsd:attribute name="value1" type="ku:LowNoType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *******************************************************************
LOW | NO type for ILM policies ACCESS
******************************************************************** -->
</xsd:complexType>
<!-- *******************************************************************
PARTIAL | FULL type for Partial indexing support (Index object types)
note: FULL is never generated.
******************************************************************** -->
<xsd:simpleType name="PartialType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PARTIAL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="PartialTypeWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:PartialType">
<xsd:attribute name="src" type="ku:srcType"/>
<xsd:attribute name="value1" type="ku:OnOffType"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="JOIN_LISTType">
<xsd:sequence>
<xsd:element name="JOIN_LIST_ITEM" minOccurs="2" maxOccurs="2">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="ku:SCHEMA_NAMEGroup"/>
<xsd:element name="COL" type="ku:char30ElementWithValue1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="imcPRIORITYTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LOW"/>
<xsd:enumeration value="MEDIUM"/>
<xsd:enumeration value="HIGH"/>
<xsd:enumeration value="CRITICAL"/>
<xsd:enumeration value="NONE"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for imcPriorityTypeName
VALUE is one of LOW | MEDIUM | HIGH | CRITICAL | NONE
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="imcPRIORITYWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:imcPRIORITYTypeName">
<xsd:attribute name="value1" type="ku:imcPRIORITYTypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *************************************************************************
complexType for imcPRIORITYWithValue1
************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="imcCOMPRESSTypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FOR DML"/>
<xsd:enumeration value="FOR CAPACITY LOW"/>
<xsd:enumeration value="FOR CAPACITY HIGH"/>
<xsd:enumeration value="FOR QUERY LOW"/>
<xsd:enumeration value="FOR QUERY HIGH"/>
<xsd:enumeration value="NO INMEMORY"/>
<xsd:enumeration value="NO MEMCOMPRESS"/>
<xsd:enumeration value="NONE"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for imcCompressTypeName
VALUE is one of FOR DML | FOR CAPACITY LOW | FOR CAPACITY HIGH |
FOR QUERY LOW | FOR QUERY HIGH | NONE
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="imcCOMPRESSWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:imcCOMPRESSTypeName">
<xsd:attribute name="value1" type="ku:imcCOMPRESSTypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *************************************************************************
complexType for imcCompressWithValue1
************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="imcDISTRIBUTETypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AUTO"/>
<xsd:enumeration value="BY ROWID RANGE"/>
<xsd:enumeration value="BY PARTITION"/>
<xsd:enumeration value="BY SUBPARTITION"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for imcDISTRIBUTETypeName
VALUE is one of AUTO | BY ROWID RANGE | BY PARTITION | BY SUBPARTITION
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="imcDISTRIBUTEWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:imcDISTRIBUTETypeName">
<xsd:attribute name="value1" type="ku:imcDISTRIBUTETypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *************************************************************************
complexType for imcDISTRIBUTEWithValue1
************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="imcDUPLICATETypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DUPLICATE"/>
<xsd:enumeration value="DUPLICATE ALL"/>
<xsd:enumeration value="NO DUPLICATE"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for imcDUPLICATETypeName
VALUE is one of DUPLICATE | DUPLICATE ALL | NONE
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="imcDUPLICATEWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:imcDUPLICATETypeName">
<xsd:attribute name="value1" type="ku:imcDUPLICATETypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *************************************************************************
complexType for imcDUPLICATEWithValue1
************************************************************************** -->
</xsd:complexType>
<xsd:simpleType name="imcSTATETypeName">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ENABLE"/>
<xsd:enumeration value="DISABLE"/>
<xsd:enumeration value="NONE"/>
</xsd:restriction>
<!-- *************************************************************************
simpleType for imcSTATETypeName
VALUE is one of ENABLE | DISABLE |NONE
************************************************************************** -->
</xsd:simpleType>
<xsd:complexType name="imcSTATEWithValue1">
<xsd:simpleContent>
<xsd:extension base="ku:imcSTATETypeName">
<xsd:attribute name="value1" type="ku:imcSTATETypeName"/>
<xsd:attribute name="src" type="ku:srcType"/>
</xsd:extension>
</xsd:simpleContent>
<!-- *************************************************************************
complexType for imcSTATEWithValue1
************************************************************************** -->
</xsd:complexType>
<xsd:complexType name="IM_COL_LIST_ITEMType">
<xsd:sequence>
<xsd:element name="COLUMN_NAME" type="ku:char30ElementWithValue1"/>
<xsd:element name="COMPRESSION" type="ku:imcCOMPRESSWithValue1"/>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *************************************************************************
complexType for IM_COL_LIST_ITEMType
[ COLUMN_NAME ]
[ COMPRESSION ]
*************************************************************************** -->
</xsd:complexType>
<xsd:complexType name="INMEMORYType">
<xsd:sequence>
<xsd:element name="STATE" type="ku:imcSTATEWithValue1" minOccurs="0"/>
<xsd:element name="PRIORITY" type="ku:imcPRIORITYWithValue1" minOccurs="0"/>
<xsd:element name="COMPRESSION" type="ku:imcCOMPRESSWithValue1" minOccurs="0"/>
<xsd:element name="DISTRIBUTE" type="ku:imcDISTRIBUTEWithValue1" minOccurs="0"/>
<xsd:element name="FOR_SERVICE" type="ku:char30ElementWithValue1" minOccurs="0"/>
<xsd:element name="DUPLICATE" type="ku:imcDUPLICATEWithValue1" minOccurs="0"/>
<xsd:element name="IM_COL_LIST" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IM_COL_LIST_ITEM" type="ku:IM_COL_LIST_ITEMType" maxOccurs="1000"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="src" type="ku:srcType"/>
<!-- *************************************************************************
complexType for INMEMORYType
[ STATE ]
[ PRIORITY ]
[ COMPRESSION ]
[ DISTRIBUTE ]
[ FOR_SERVICE ]
[ IN_COL_LIST ]
*************************************************************************** -->
</xsd:complexType>
<xsd:complexType name="partitionByQuantityType">
<xsd:sequence>
<xsd:element name="QUANTITY" type="ku:intElementWithValue1"/>
<xsd:element name="TABLESPACE_LIST" type="ku:TablespaceListType" minOccurs="0"/>
<xsd:element name="OVERFLOW_TABLESPACE_LIST" type="ku:TablespaceListType" minOccurs="0"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for PARTITION_BY_QUANTITY
QUANTITY
[TABLESPACE_LIST]
[OVERFLOW_TABLESPACE_LIST]
******************************************************************** -->
</xsd:complexType>
<xsd:complexType name="TablespaceListType">
<xsd:sequence>
<xsd:element name="TABLESPACE" type="ku:char30ElementWithValue1" maxOccurs="unbounded"/>
</xsd:sequence>
<!-- *******************************************************************
complexType for TABLESPACELISTTYPE
unbounded list of TABLESPACE
******************************************************************** -->
</xsd:complexType>
</xsd:schema>
OHA YOOOO