MySQL OPTIMIZE TABLE

| | Comments (0)

MySQL 在刪除資料時, 並不會釋放出磁碟空間,
當刪除很多資料時, 可以用 OPTIMIZE TABLE 來把資料 defrag 一下, 並且會釋放出磁碟空間.
OPTIMIZE TABLE tbl_name

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on February 7, 2007 5:28 PM.

Wireshark 0.99.5 was the previous entry in this blog.

Windows Live Writer is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.