|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Debugging Oracle 11g Applications
Reference Partitioning in Oracle 11g Oracle 11g provides an additional new type of partitioning called reference partitioning which allows for partitioning by using the parent table referenced by a foreign key constraint. It allows for use of existing parent-child relationship based partitioning enforced by active primary key and foreign key constraints. The partition by reference clause is used to create reference partitions as shown in the following example. First, we will need to create a table that is partitioned to server as the parent table which will be referenced by the second table that is to be reference partitioned. SQL> create table parent_emp(
Table created.
Figure 1.16: Reference Partition on new child table in Oracle 11g
Now that we have our reference partition created on the child table, we can query both tables to determine the partition information from the user_part_tables view.
SQL> select table_name, partitioning_type, ref_ptn_constraint_name
TABLE_NAME PARTITION REF_PTN_CONSTRAINT_NAME
SQL> select table_name, partition_name, high_value
6 rows selected.
Figure 1.17: High value positions for Reference Partition in Oracle 11g
Reference partitioning is useful in that partition operations against the parent table are duplicated to the child table thus reducing errors when manually performing maintenance against both tables. Before Oracle 11g, you would have to manually allocate storage for the partition key on both the parent and child table. Now with Oracle 11g, less storage is required and easier maintenance is provided. New Feature for Oracle 11g: Active Data Guard Oracle 11g introduces several new enhancements to improve the operation and maintenance of complex Data Guard standby environments for improved high availability. The many new features with Oracle 11g for Data Guard include the following:
Further details on the steps for how to configure and setup a physical standby and logical standby database using the new features for Oracle 11g with Data Guard are available in the Oracle 11g Data Guard Concepts and Administration reference guide available from the Oracle OTN site located online at http://otn.oracle.com.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 1996 - 2011 by
Burleson Enterprises. All rights reserved.
Oracle® is the registered trademark
of Oracle Corporation. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||