Home > database > How the Oracle database table structure and data replication
How the Oracle database table structure and data replication
Time:10-02
1. In the same server table structure and to copy the data? 2. Different table structure and how the data replication server? 3. Copy after finished before the corresponding main foreign key relationships in the table and index
CodePudding user response:
If it is a single table or a small amount of a few tables, you can use the create table t1 as select * from t2; Index, foreign keys, etc should be re-established If it is all the tables and objects, under a user can use expdp, impdp export import form, at this point, the indexes and foreign keys can be synchronous import Whether the difference on a server,