Q

Importing five dump files without data duplication

I have five dump files, and I have to import those five dump files into one single (Oracle8i) database without

data duplication. The database structures of the five dumps are the same. Please give me the solution.

If these dump files are flat files, like comma-delimited values, then you can use SQL*Loader to accomplish your task. Create a table to load the data into. Create a Primary Key on that table to ensure that duplicate values are not loaded. Then, use SQL*Load to load each of the file's data into that table. When SQL*Loader hits a duplicate record, it will be "discarded". All discarded records will be found in the the discard file you specify in your SQL*Loader control file.

If these dump files are Oracle's export utility dump files, then I'd suggest loading each one into a separate table. You can then use simple SQL commands to insert into one master table those records which are not duplicates.

For More Information


This was first published in July 2003

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close