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 > Too many tables locked

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-03, 12:40
jenifer jenifer is offline
Registered User
 
Join Date: Jun 2003
Posts: 12
Question Too many tables locked

I have run into this problem executing a shell script with a series of dbload statements. Is there any way to get prevent this?

The processing only went to the 41st dbload statement before running out of locks. Most of these tables have little to no data in them. I have the database in No Transaction Mode and no indexes on the tables yet.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 11-19-03, 09:19
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Too many tables locked

Quote:
Originally posted by jenifer
I have run into this problem executing a shell script with a series of dbload statements. Is there any way to get prevent this?

The processing only went to the 41st dbload statement before running out of locks. Most of these tables have little to no data in them. I have the database in No Transaction Mode and no indexes on the tables yet.

Thanks!

Hi Jenifer,

As these running the dbload?.
It executes this: dbload -d database -c filecmd -n 1000 -l logfile....
So that do not have problems with lockeos, add him al dbload "-n 1000", this is each 1000 rows does commit. The dbload is a transaccion in them.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 11-19-03, 10:13
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
I'm making an assumption that you are running on NT. I ran into a similar problem. The solution was to use either the -r or -k option, though I don't remember which one.
__________________
Fred Prose
Reply With Quote
  #4 (permalink)  
Old 11-19-03, 11:39
jenifer jenifer is offline
Registered User
 
Join Date: Jun 2003
Posts: 12
Too many tables locked error message

I have done both the -n 1000 and the -k option with no luck!

I am running on Linux RH 2.4, IDS 9.40 ..

Thanks..
Reply With Quote
  #5 (permalink)  
Old 11-20-03, 13:26
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
Try -r. Like I said, I don't remember which combination got it for me and I don't have the scripts to fall back on.
__________________
Fred Prose
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