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 > Cannot read system catalog (sysprocplan)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-04, 03:37
krisvansnick krisvansnick is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Question Cannot read system catalog (sysprocplan)

Hi,

We have an Informix db, IDS version 7.31.UD7.
I always get the following error message:

Cannot read system catalog(sysprocplan)
ISAM error: key value locked.

We run update statistics every day. It seems that every time when a stored procedure is executed, the sysprocplan table is being locked; but I can't figure out why.
There are about 70 stored procedures in our db.

Can anyone help me?

Thx
Reply With Quote
  #2 (permalink)  
Old 03-02-04, 10:15
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Cannot read system catalog (sysprocplan)

Quote:
Originally posted by krisvansnick
Hi,

We have an Informix db, IDS version 7.31.UD7.
I always get the following error message:

Cannot read system catalog(sysprocplan)
ISAM error: key value locked.

We run update statistics every day. It seems that every time when a stored procedure is executed, the sysprocplan table is being locked; but I can't figure out why.
There are about 70 stored procedures in our db.

Can anyone help me?

Thx
Hi,

This is a bug of version.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 03-09-04, 13:07
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
First of all, what level on the update statistics, if you're only doing low the optimizer will attempt to check plan for the SP.

Second, immediately after doing the table, update statistics on the stored procedures. The optimizer will see it's got a current plan and forgo the reoptimization.

Third, get off from 7.31
__________________
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