Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The general format of a DDML document looks as follows:

TagDescription
<tables-definition>

Root element of a DDML document. Its children are the main database entities:

<table-definition>, <ddl-definition>, and <view-definition>. The <tables-definition> tag includes the product attribute, which indicates the product of this specific DDML definition.

<table-definition>

Includes the table-level attributes. Its children are the <column-definition>, <index-definition>, and <foreign-key-definition> tags.

If a table is a statistics table, meaning means that the type attribute has the value STATISTICS, the <summary-hour>, <summary-day>, <summary-week>, and <summary-month> tags can be specified as children of the <table-definition> tag.

<ddl-definition>Includes ddl-level attributes.
<view-definition>Includes view-level attributes.

<tables-definition> tag

Root element of the DDML document.

AttributeDefinition
product

Required. Holds the product short name (product shortcut) consisting if two characters that define the product.

In this case, three custom-defined products are available:

  • C1 For customer-defined 1
  • C2 For customer-defined 2
  • C3 For customer-defined 3

<table-definition> tag

Holds all of the information included in a single table.

AttributeDefinition
nameRequired. Holds the table name.
type

Required. Specifies the table type and can hold one of the following values:

  • Statistics. A PMDB table that holds information about certain database activity, summarized into hours or time slices.
  • Events. A PMDB table that keeps a log of database incidents.
pctfree

Optional. Affects only Oracle and is developed as PCTFREE pctfree.

Can have a value between 0 and 99.

If the PMDB is a Microsoft SQL Server database, this attribute is transformed to fill factor.

pctusedOptional. Affects only Oracle and is developed as PCTUSED pctused. Can have a value between 0 and 99.
initransOptional. Affects only Oracle and is developed as INITRANS initrans. Can have a value between 1 and 255.
maxtransOptional. Affects only Oracle and is developed as MAXTRANS maxtrans. Can have a value between 1 and 255.
oracle-storage-clause

Optional. Affects only Oracle and is developed as STORAGE(oracle-storage-clause). For example:

oracle-storage-clause="initial 1M next 1M minextents 1maxextents unlimited pctincrease 100"

oracle-additional-clauseOptional. Added to support any other Oracle features that cannot be defined in an Oracle storage clause. For example: NOLOGGING
filterableRequired for statistics tables (type=STATISTICS). If one or more columns are not relevant or needed in the PMDB, set this attribute to TRUE. If a statistics table is filterable and some columns are specified as not needed in the load or summary control files, these columns are not loaded or summarized.

The <table-definition> tag can have the following children:

  • <column-definition>
  • <index-definition>
  • <foreign-key-definition>
Additional ChildDefinition
<summary-hour>

Optional. Instructs to define an hour-level summary table for this table. Used for time slice statistics tables.

The name of the summary table is specified by the name attribute (required). The summary table name should follow the naming conventions specified in Naming conventions.

<summary-day>

Optional. Instructs to define a day-level summary table for this table.

The name of the summary table is specified by the name attribute (required). The summary table name should follow the naming conventions specified in Naming conventions.

<summary-week>

Optional. Instructs to define a week-level summary table for this table.

The name of the summary table is specified by the name attribute (required). The summary table name should follow the naming conventions specified in Naming conventions.

<summary-month>

Optional. Instructs to define a month-level summary table for this table.

The name of the summary table is specified by the name attribute (required). The summary table name should follow the naming conventions specified in Naming conventions.

Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/precise/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse