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 > Erro 640 QPlan sanity failure (2139.7)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-26-04, 12:15
mroberto mroberto is offline
Registered User
 
Join Date: Nov 2004
Posts: 4
Erro 640 QPlan sanity failure (2139.7)

Quando executo uma procedure, no final aparece esse erro, faço um update statistics high numa determinada tabela da procedure, e ela volta a funcionar, porem após alguns minutos, volta o erro.
Já fiz drop distributions nas tabelas, mas mesmo assim não funcionou.
Reply With Quote
  #2 (permalink)  
Old 11-29-04, 08:39
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hola,

Corre update statistics for table drop distribution, luego update statistics para toda la base y update statistics for procedure, luego ve si se repite el error.
Si se recrea algun SPL durante su utilización es conveniente que ejecutes un update statistics for procedure.
Si ejecutas UPD STAT HIGH o MEDIUM y no ejecutas LOW, podras tener problemas de performance y ademas esto no ejecuta el UPD STAT para los SPL.
La unica que ejecuta UPD STAT completo es el UPD STAT para toda la base sin especificar nada mas. Esta también hace el UPD STAT de los SPL.--

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 12-06-04, 08:07
mroberto mroberto is offline
Registered User
 
Join Date: Nov 2004
Posts: 4
Gurey,

Obrigado pela resposta, e desculpe por estar respondendo somente agora.
Mas já efetuei esses procedimentos, e não resolveram, fizemos uma alteração na query da procedure, e até agora não voltou a acontecer mais o erro.
Porem ainda não sei o motivo do erro, e vou continuar procurando.

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