Unix Technical Forum

RE: Long transactions

This is a discussion on RE: Long transactions within the Informix forums, part of the Database Server Software category; --> Two other options: 1) set up an HPL job; you can run it from the command line (if you ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 07:06 PM
mosserp@wellsfargo.com
 
Posts: n/a
Default RE: Long transactions


Two other options:
1) set up an HPL job; you can run it from the command line (if you really
don't want to use dbload, then this would be my recommendation).
2) switch your database to non-logging, run your load (leave out the
"commit"), switch database back to logging, then immediately perform a
level-0 archive.

HTH,
Paul Mosser

-----Original Message-----
From: Jay Aymond [mailto:jaymond@communitycoffee.com]
Sent: Thursday, July 03, 2003 1:37 PM
To: informix-list@iiug.org
Subject: Re: Long transactions


You could drop the indexes, alter the table to "raw", do the load, and then
alter it back to "standard".


"mpw" <em-2@cox.net> wrote in message
news:lmXMa.564558$vU3.107079@news1.central.cox.net ...
> If I'm using a dbaccess script to load data from a file is there a way I

can
> tell the load to commit the transaction after every 'x' rows processed.

I'm
> trying to load a file with about 180000 records. I know I can use dbload,
> but with the automated tools I have dbaccess works better.
>
> My script file is:
>
> database db1;
> load from loadfile.dat insert into table1;
> commit;
>
> Thanks. M
>
>


sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com