Help Center/ GaussDB/ Developer Guide(Centralized_V2.0-3.x)/ SQL Reference/ SQL Syntax/ IMPDP DATABASE CREATE
Updated on 2025-08-19 GMT+08:00
IMPDP DATABASE CREATE
Function
IMPDP DATABASE CREATE specifies the preparation phase for importing a database.
Syntax
IMPDP DATABASE [db_name] CREATE SOURCE = 'directory' OWNER = user [LOCAL];
Parameter Description
- db_name: name of the new database after the import. If this parameter is not specified, the original database name is retained after the import.
- directory: data source directory of the imported database.
- user: owner of the imported database.
- LOCAL: If this field is specified, data is imported to the original cluster. If this field is not specified, data is imported to a new cluster.
Example
impdp database test create source = '/data1/impdp/database' owner=admin;
Parent topic: SQL Syntax
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.