문제

I ran a query from MySQL server with big data. It works in development (But the table is not as big as production). Now when I migrate it into Production, it seems like out of memory

Out of memory (Needed 89684760 bytes)

Which setting I can change to increase the memory limit for MySQL? I still got enough space on my server to utilize.

I tried to limit it works, but somehow my application need all the data...

I use MySQL 4.1 and also tried for increase key buffer size and sort buffer size but no works

도움이 되었습니까?

해결책

i dont know if any setting to increase the limit but i resolve this problem with code..

Idea is to create temp table.

1. empty temp table
2. insert into with select query
3. query from temp table

it works finally.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top