mysql> alter table test000 add markcnt int(10) NOT NULL default 0;
ERROR 1114 (HY000): 테이블 '#sql-6f80_940d2'가 full났습니다.


mysql>
mysql>
mysql> show table status from rssdb like 'item'\G;
*************************** 1. row ***************************
           Name: test000
         Engine: InnoDB
        Version: 9
     Row_format: Dynamic
           Rows: 179
 Avg_row_length: 8786
    Data_length: 1572864
Max_data_length: NULL
   Index_length: 49152
      Data_free: 0
 Auto_increment: 139
    Create_time: 2007-11-26 14:47:52
    Update_time: NULL
     Check_time: NULL
      Collation: latin1_swedish_ci
       Checksum: NULL
 Create_options:
        Comment: InnoDB free: 4096 kB
1 row in set (0.00 sec)


조회된 결과에서
max_rows Column과 avg_row_length Column값을 변경하면 됩니다.
[Syntax]
alter table table명 max_rows=레코드수 avg_row_length=원하는테이블용량
[예제]
레코드수-1천만건, 원하는테이블용량-6GB일 경우
alter table seoul max_rows=10000000 avg_row_length=6024000000;


글 보관함

카운터

Total : / Today : / Yesterday :
get rsstistory!