Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / March 2006

Tip: Looking for answers? Try searching our database.

multi-file multi-table import

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sanyog - 23 Mar 2006 10:30 GMT
Hi

Please help me with this scenario:

Problem :
I have around 10 tables(having relationship with each other) and a data
asc file for each. i use import utility to load all the data one by one
for each table...these files are almost 1gb each. I need to commit data
only when all the 10 table imports are done as the data is relational
dependant , not after each table import is finished as the import
commits as it is done with the inserts/updates for one table...

please advice.
Hardy - 23 Mar 2006 11:32 GMT
use a storage procedure,but you'll have very very poor performence.

why not firstly drop the relationship, import one by one, then use a
procedure to check the relationship, rebuild the relationship? does the
data be cleaned?
sanyog - 23 Mar 2006 15:04 GMT
The tables are in use by the users  so can drop relationships, Can i
use import in stored procedure.? or if these all imports can be clubbed
in a transaction. The data is not cleaned it either inserted or
updated(using  insert_update option of import)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.