Вот, привет!
В GigaBase траффик сбрасываеться, а из нее в MySQL не перебрасываеться!
Помогите пожалуйста!
Вот вырезка из debug.log:?Debug : Nov 11 13:38:49 BusClassif: aggregation timeout
?Debug : Nov 11 13:38:49 DBCtx: SQL SELECT query: SELECT qnt FROM downloaded WHERE is_deleted=0 AND downloaded_id='149' AND tclass_id='150'
?Debug : Nov 11 13:38:49 DBCtx: SQL query: UPDATE downloaded SET qnt='327071134', discounted='0', downed_as_prepaid='0' WHERE downloaded_id='149' AND tclass_id='150'
?Debug : Nov 11 13:38:49 UTM5 DBA: Discount:0.000000 p.u. for link:149 account 256
?Debug : Nov 11 13:38:49 UTM5 DBA: Checking for rehash: flags 3, balance 0.000 (old 0.000), credit 0.000
?Debug : Nov 11 13:38:49 DBAGiga: Rehash: Target: 10; Action: 1; Ptr: b4b42b80
?Debug : Nov 11 13:38:49 HSPlugin: Rehash: Target: 10; Action: 1; Ptr: b4b42b80
?Debug : Nov 11 13:38:49 DBCtx: SQL query: UPDATE accounts SET balance='0' WHERE id = '256'
?Debug : Nov 11 13:38:49 DBCtx: SQL query: INSERT INTO discount_transactions_all(account_id,incoming_rest,outgoing_rest,discount,discount_without_tax,discount_with_tax,service_id,service_type,slink_id,discount_date,comment,discount_period_id) VALUES('256','0','0','0','0','0','1','3','149','1131705529','IP discount','1')
?Debug : Nov 11 13:38:49 DBCtx: MySQL query failed. Trying to reconnect: 0
?Debug : Nov 11 13:38:51 DBCtx: MySQL query failed. Trying to reconnect: 1
?Debug : Nov 11 13:38:53 DBCtx: MySQL query failed. Trying to reconnect: 2
?Debug : Nov 11 13:38:55 DBCtx: MySQL query failed. Trying to reconnect: 3
?Debug : Nov 11 13:38:57 DBCtx: MySQL query failed. Trying to reconnect: 4
ERROR : Nov 11 13:38:59 DBASQLError: MySQL query failed:
ERROR : Nov 11 13:38:59 DBASQLError: [BusClassif::periodic_cleanup] MySQL query failed:
Все работает, кроме как перебрассывание траффика из ГигаБазе- в МайСКЛ.
(интерфейс администратора работает)
Помогите! Пожалуйста!!!
Перестал считаться трафик! ПАМАГИТЕ!
Вот, поробовал вставить вручную:
mysql> INSERT INTO discount_transactions_all(account_id,incoming_rest,outgoing_rest,discount,discount_without_tax,discount_with_tax,service_id,service_type,slink_id,discount_date,comment,discount_period_id) VALUES('256','0','0','0','0','0','1','3','149','1131706386','IP discount','1');
А оно говорит:
ERROR 1114: The table 'discount_transactions_all' is full
Что делать ?
Таблица занимает всего 9 кб!
#ls -lh
-rw-rw---- 1 mysql mysql 9.0K Oct 2 12:46 discount_transactions_iptraffic_all.frm
Помогите!
mysql> INSERT INTO discount_transactions_all(account_id,incoming_rest,outgoing_rest,discount,discount_without_tax,discount_with_tax,service_id,service_type,slink_id,discount_date,comment,discount_period_id) VALUES('256','0','0','0','0','0','1','3','149','1131706386','IP discount','1');
А оно говорит:
ERROR 1114: The table 'discount_transactions_all' is full
Что делать ?
Таблица занимает всего 9 кб!
#ls -lh
-rw-rw---- 1 mysql mysql 9.0K Oct 2 12:46 discount_transactions_iptraffic_all.frm
Помогите!
dalex писал(а):так у вас InnoDB???
тогда размер надо смотреть совсем не там
у иннодиби все таблицы лежат в одном файле и видимо в нем закончилоась местонадо или разрешить большие размеры файла или подключить еще один.ERROR 1114: The table 'discount_transactions_all' is full
Что делать ?
Спасибо! Заработало!