Domanda

Ho appena ricevuto l'errore di seguito in uno degli schiavi. L'ho appena cercato su Google e ho cambiato la variabile myisam_data_pointer_size da 4 a 6.

In qualche modo, mio ALTER TABLE ha avuto successo.

  • Puoi farmi sapere se il mio approccio era giusto. Non sono sicuro di questa variabile?
  • Ciò causerà qualsiasi problema di prestazione. Dovrei tornare indietro?

    130208 9:40:19 [Errore] Slave: errore 'La tabella'#SQL-19FC_3F8ACC6 'è pieno' sulla query. Database predefinito: "Registro". Query: "Alter Tabella enom_log_2012_12_03 Aggiungi ResponseDataType Char (1) non NULL After RequestData", Error_Code: 1114 130208 9:40:19 [Errore] Errore in esecuzione, query SLAVE SQL Aborted. Risolvi il problema e riavvia il thread SQL slave con "Slave Start". Ci siamo fermati al log 'Pumpkin-bin.008662' Posizione 411952695

Descrizione del problema

Verificare gli avvisi in Errorlog per eventuali errori e guasti. Controlla se MySQL è attivo? Se non verifica se il processo era normale arresto.

Consiglio

mysql> SHOW TABLE STATUS FROM registry LIKE 'enom_log_2012_12_03'\G
*************************** 1. row ***************************
           Name: enom_log_2012_12_03
         Engine: MyISAM
        Version: 9
     Row_format: Dynamic
           Rows: 1786679
 Avg_row_length: 2403
    Data_length: 4293600396
Max_data_length: 4294967295
   Index_length: 60999680
      Data_free: 0
 Auto_increment: 1786680
    Create_time: 2013-02-06 15:19:07
    Update_time: 2013-02-06 15:22:16
     Check_time: 2013-02-06 15:26:35
      Collation: utf8_general_ci
       Checksum: NULL
 Create_options:
        Comment:
1 row in set (0.00 sec)




mysql> show global variables like '%tmp%';
+----------------+-----------------------+
| Variable_name  | Value                 |
+----------------+-----------------------+
| bdb_tmpdir     | /usr/local/mysql/tmp/ |
| max_tmp_tables | 32                    |
| tmp_table_size | 8388608               |
| tmpdir         | /usr/local/mysql/tmp  |
+----------------+-----------------------+

mysql> show global variables like '%myisam%';
+---------------------------------+---------------+
| Variable_name                   | Value         |
+---------------------------------+---------------+
| myisam_data_pointer_size        | 4             |--before changing it was 4 .. i changed it to 6
| myisam_max_extra_sort_file_size | 2147483648    |
| myisam_max_sort_file_size       | 2147483647    |
| myisam_recover_options          | OFF           |
| myisam_repair_threads           | 1             |
| myisam_sort_buffer_size         | 4194304       |
| myisam_stats_method             | nulls_unequal |
+---------------------------------+---------------

Nessuna soluzione corretta

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a dba.stackexchange
scroll top