If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > using onpladm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-06-07, 06:13
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Post using onpladm

Hi Gurus informix.

I need load a file of size 7 gb in a table, the file have delimiters fields the "@". ¿I can specific the delimiters with onpladm?. if the response is yes tell me what is the systax.

Thank you for you help.
Reply With Quote
  #2 (permalink)  
Old 08-06-07, 14:27
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
Cool

1) onpladm create job TEST1 -d tst.unl -D dbTEST -t table_test1 -fl -zD

2) onpladm list format
show the formarts , must exists a format named TEST1...

3) onpladm describe format TEST1 >TEST1.format

4) Edit the file TEST1.format and alter the argument FIELDSEPARATOR to @

5) onpladm modify object -F TEST1.format
will show someting like this:
Successfully modified object DELIMITEDFORMAT TEST1

6) onpload -j TEST1
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
  #3 (permalink)  
Old 12-18-07, 06:22
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
Hi,

When I to do a load with onpload, this process disable index and then not enable the same. Somebody can tell me what happend with this tool.

Thank you for you help.
Reply With Quote
  #4 (permalink)  
Old 12-18-07, 06:44
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
what the log showed?
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
  #5 (permalink)  
Old 12-19-07, 03:35
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 283
The process not create log, but when I execute a select for the loaded the performance is very low. If I execute a dbschema for this table the output show me index disable.

Thank you for you help.
Reply With Quote
  #6 (permalink)  
Old 12-19-07, 04:55
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
the command onpload always create a log file.
Check in you /tmp (path default) if not exists a file named <jobname>.log
Or when you execute the onpload, set the parameter -l <path/file>.
Or copy here the output when the onpload is executed.
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On