Transportable Tablespaces[1]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 beat30 的 blog

from:

http://www.idevelopment.info/data/oracle/dba_tips/oracle8i_new_features/ora8i_17.shtml

transportable tablespaces

by jeff hunter, sr. database administrator


contents

  1. overview
  2. introduction to transportable tablespaces
  3. using transportable tablespaces


overview

oracle's transportable tablespace is one of those much awaited features that was introduced in oracle8i (8.1.5) and is commonly used in data warehouses (dw). using transportable tablespaces is much faster than using other utilities like export/import, sql*plus copy tables, or backup and recovery options to copy data from one database to another.

this article provides a brief introduction into configuring and using transportable tablespaces.

introduction to transportable tablespaces
before covering the details of how to setup and use transportable tablespaces, let's first discuss some of the terminology and limitations to provide us with an introduction.

  • the use of transportable tablespaces are much faster than using export/import, sql*plus copy tables, or backup and recovery options to copy data from one database to another.

  • a transportable tablespace set is defined as two components:

    • all of the datafiles that make up the tablespaces that will be moved.

      and

    • an export that contains the data dictionary information about those tablespaces.

  • compatible must be set in both the source and target database to at least 8.1.

  • when transporting a tablespace from an oltp system to a data warehouse using the export/import utility, you will most likely not need to transport trigger and constraint information that is associated with the tables in the tablespace you are exporting. that is, you will set the triggers and constraints export utility parameters equal to "n".

  • the data in a data warehouse is inserted and altered under very controlled circumstances and does not require the same usage of constraints and triggers as a typical operational system does.

  • it is common and recommended though that you use the grants option by setting it to y.

  • the triggers option is new in oracle8i for use with the export command. it is used to control whether trigger information, associated with the tables in a tablespace, are included in the tablespace transport.

limitations of transportable tablespaces:

  • the transportable set must be self-contained.

  • both the source and target database must be running oracle 8.1 or higher release.

  • the two databases do not have to be on the same release

  • the source and target databases must be on the same type of hardware and operating-system platform.

  • the source and target databases must have the same database block size.

  • the source and target databases must have the same character set.

  • a tablespace with the same name must not already exist in the target database.

  • materialized views, function-based indexes, scoped refs, 8.0 compatible advanced queues with multiple-recipients, and domain indexes can't be transported in this manner. (as of oracle8i)

本文关键:Transportable Tablespaces
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top