Jump to content
Fórum Script Brasil
  • 0

Informação não grava, mas consta no log!


Thiago B. Spindola

Question

Ola a todos!

Tenho no trabalho 4 servidores mysql versão 5.0.24a funcionando em replica.

De vez em quando acontece um problema de determinada informação que é inserido no banco constar no log, porém não ser gravada na tabela.

Segue o log:

# at 108684219
#111004  9:08:17 server id 13  end_log_pos 30504109     Query    thread_id=3340    exec_time=0    error_code=0
SET TIMESTAMP=1317730097;
SET @@session.auto_increment_increment=10, @@session.auto_increment_offset=7;
BEGIN;
# at 108684293
#111004  9:08:17 server id 13  end_log_pos 28     Intvar
SET INSERT_ID=72777537;
# at 108684321
#111004  9:08:17 server id 13  end_log_pos 256     Query    thread_id=3340    exec_time=0    error_code=0
SET TIMESTAMP=1317730097;
INSERT INTO MENSALIDADE2 (NUM_PAGO, VALOR, DT_PAGA, MES_QUITE, MATRICULA, TERMINAL)

VALUES (2, 5.10000000000000000e+001, '2011-07-19', '2011-04-01', 48341, 3);
# at 108684549
#111004  9:08:17 server id 13  end_log_pos 382     Query    thread_id=3340    exec_time=0    error_code=0
SET TIMESTAMP=1317730097;
DELETE FROM `aapvr`.`MENSALIDADE` WHERE `MATRICULA`=48341;
# at 108684675
#111004  9:08:17 server id 13  end_log_pos 547     Query    thread_id=3340    exec_time=0    error_code=0
SET TIMESTAMP=1317730097;
UPDATE FECHAMENTO SET MENSALIDADES=MENSALIDADES + 5.10000000000000000e+001

WHERE ENTRADA=130177;
# at 108684840
#111004  9:08:17 server id 13  end_log_pos 766     Query    thread_id=3340    exec_time=0    error_code=0
SET TIMESTAMP=1317730097;
INSERT INTO `aapvr`.`MENSALIDADE` (`MATRICULA`,`VALOR`,`DT_PAGA`,`MES_QUITE`,`NUM_PAGO`,`TERMINAL`) VALUES (48341,51.00,'2011-10-04','2011-06-01',2,8);
# at 108685059
#111004  9:08:17 server id 13  end_log_pos 30504902     Xid = 1953390

Todo esse bloco não foi, de fato gravado no banco de dados.

alguém já passou por isso ou tem idéia do que pode ser?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...