mysql max key length에 관해질문 드립니다.

phw0317의 이미지

database를 dump하는 과정에서 에러가 생겨서, 질문 드립니다.

db size가 9Gbyte인데, 이게 파일을 열어서 읽고 수정을 하려니, 컴퓨터가 뻗고 해서;;

에러메세지가

ERROR 1071 (42000) at line 25380: Specified key was too long; max key length is 1000 bytes

요런식으로 출력이 되는데 혹시 mysql에서 max key length를 더 늘려줄수 있는 방법이 있는지요.

바꿀수 있는 방법이 있다면 알려주시면 감사하겠습니다(__

lacovnk의 이미지

http://dev.mysql.com/doc/refman/5.1/en/myisam-storage-engine.html

The maximum key length is 1000 bytes. This can also be changed by changing the source and recompiling. For the case of a key longer than 250 bytes, a larger key block size than the default of 1024 bytes is used.

라고 하는데 해보지는 않았습니다.