-
TABLESPACES
-
Default
: There is no default
-
-
Purpose
-
-
Specifies a list
of tablespace names to be exported
in tablespace mode
.
-
-
Syntax
and Description
-
-
TABLESPACES
=tablespace_name
[
,
.
.
.
]
-
In tablespace mode
, only the tables contained
in a specified set
of tablespaces are unloaded
.
If
a table is unloaded
,
then its dependent objects are also unloaded
.
Both object metadata
and
data are unloaded
.
If
any part
of
a table resides
in
the specified set
,
then that table
and
all
of
its dependent objects are exported
. Privileged users get all tables
. Unprivileged users get only the tables
in their own schemas
---大体意思
<1span style="color:#555555;font-family:" font-size:13px;white-space:normal;background-color:#ffffff;"="">在表空间模式中, 只导出指定表空间中所包含的表。如果导出了表, 则它的从属对象也将被导出。对象元数据和数据都将被导出。如果表的任何部分保存在在指定的表空间中, 则导出该表及其所有从属对象。特权用户获取所有表,没有特权的用户只能在自己的权限内获取表。
-
-
Filtering can restrict what is exported using
this mode
(see
"Filtering During Export Operations"
)
.
-
-
Restrictions
-
-
The
length
of the tablespace
name list specified
for the TABLESPACES parameter is limited to a maximum
of 4 MB
, unless you are using the NETWORK_LINK to an Oracle Database release 10
.2
.0
.3
or earlier
or to a read
-only database
.
In such cases
, the limit is 4 KB
.
-
-
Example
-
-
The following is an example
of using the TABLESPACES parameter
. The example assumes that tablespaces tbs_4
, tbs_5
,
and tbs_6 already exist
.
-
-
> expdp hr DIRECTORY
=dpump_dir1 DUMPFILE
=tbs
.dmp
-
TABLESPACES
=tbs_4
, tbs_5
, tbs_6
-
This results
in a tablespace export
in which tables
(
and their dependent objects
) from the specified tablespaces
(tbs_4
, tbs_5
,
and tbs_6
) will be unloaded
.