How to clean or resize the ibtmp1 file in MySQL?
问题 MySQL 5.7 introduces a new file ibtmp1 for storing temporary data in InnoDB to increase the performance. But I have noted that its size increases continuously. On my db server its sizes increases to 92GB. Is there any way of reducing size or deleting the file without restarting the server ? Thanks 回答1: The ibtmp1 once created can't be shrink by any method without restarting mysql service. There are two ways to handle it: Precaution : At the time of server start you should limit the size of