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 > SQL command for turning off trigger and loging mode

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-04, 04:17
dolphin4022 dolphin4022 is offline
Registered User
 
Join Date: Jul 2004
Posts: 6
SQL command for turning off trigger and loging mode

Hi,

I have to load a 10000000-line file to a table which is with triggers, and the DB is with unbuffered loging.

What shall I do to load the fat file as quick as possible?
Is it possible to turn off trigger and loging mode in SQL language? How?
I need the SQL command and execute it for a everyday job.

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-28-04, 07:58
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

There are some way, for example:
Disabled trigger, set triggers for table disabled.
Use utility dbload.
Alter table to type raw, next insert, alter table to type standard and do back-up.
Use utility onpload.

Gustavo.
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