The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-26-2008
Registered User
 

Join Date: Sep 2008
Posts: 12
which is better?

Hi,

I would like to know which works better in this scenario:

I have a file which contains about 300K to 400K records. This file will be loaded into an oracle table but will be filtered first. I have two ways of doing this.

1st, I filtered the original file and created a new file that contains only the selected records (using awk)

2nd, I included a WHERE clause in the sqlloader control file to filter the records

with these two options, which do you think is more efficient. (some explanations will be much appreciated) thank you.
Reply With Quote
Forum Sponsor
  #2  
Old 09-26-2008
radoulov's Avatar
addict
 

Join Date: Jan 2007
Location: Milano, Italia/Варна, България
Posts: 1,931
You could test both and verify.
Me personally, I would use one tool (sqlldr) if possible.

Last edited by radoulov; 09-26-2008 at 07:54 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0