How to Delete Existing WordPress Post Revisions Stored/Saved如何刪除現有的WordPress的修改後儲存/保存
For users who had對於用戶誰了 disabled or turned off post revisions tracking or versions history feature禁用或關閉追踪修訂後的版本或記錄功能 in WordPress (added since在WordPress的(增加自 WordPress 2.6 WordPress的2.6 ), it is also made sense to delete and remove all existing stored post revisions and changes made on pages stored in the database in order to reduce the wp_posts table size, especially when there is already tons of revisions or changes been kept. ) ,這也是有道理的刪除,並刪除所有現有的存儲後的修訂和修改網頁上存儲在數據庫中,以減少wp_posts表大小,尤其是當已經有噸的修訂或更改兌現。
To delete and remove all existing post revisions entries and rows from WordPress database Posts table, simply login to MySQL command-line interface,要刪除,並刪除所有現有員額修訂條目和行從WordPress的數據庫員額表,只需登錄到MySQL命令行界面, phpMyAdmin , SQLyog or other MySQL GUI tools. , SQLyog或其他MySQL的GUI工具。 Select the appropriate WordPress database (if you have more than one databases on the same server), and then issue the following command (it’s also recommended to backup the database before performing the deletion SQL statements):選擇適當的WordPress的數據庫(如果你有一個以上的數據庫在同一台服務器上) ,然後發出下列命令(它也建議數據庫備份履約方之前刪除SQL語句) :
DELETE FROM wp_posts WHERE post_type = "revision";
Once all post revisions related records is purged, all revision histories is deleted, and users no longer able to check the changes by phase or compare differences between versions.一旦所有相關的修改後的記錄是整肅,所有修改的歷史將被刪除,用戶不再能檢查的變化相或比較版本之間的差異。 Thus, deletion may also been used by administrator to ensure privacy or stop authors or writers in the blog from knowing their posts have been edited.因此,刪除也可能被使用的管理員,以確保隱私或停止作者或作家在博客知道他們的員額已編輯。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明:這是一台機器翻譯網頁這是“原樣”提供,無保修。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article英文原文的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at共享和貢獻或獲得技術支持和幫助 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above禁用和關閉後修訂跟踪WordPress的2.6或以上
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count如何存儲每一個崗位的每修改自動保存在與WordPress的限制版本伯爵
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating或斯普利特WordPress的郵政或與下一頁頁在WordPress的不工作
- Retrieve and Get WordPress Post ID Outside the Loop as PHP Variable檢索並獲得WordPress的郵政編號外的環作為PHP變量
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column添加額外的更加廣泛的領域內,以WordPress的收件/修改後/頁右欄
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page如何改變頻率或間隔WordPress的自動保存編輯後或網頁
- Delete, Remove or Drop Oracle Stored Packages with Drop Package刪除,刪除或輟學Oracle存儲封裝,封裝下降
- How iTunes Saved The Office如何保存的iTunes辦公室
- Hack to Log On to Windows XP and 2000 without Changing Existing Password with DreamPackPL哈克登錄到Windows XP和2000沒有改變現有的密碼與DreamPackPL
- Protect Firefox Password Manager Saved Passwords for Sites保護Firefox的密碼管理保存的密碼的網站

































July 23rd, 2008 04:25 08年7月23日4時25分
[...] and Turn Off Post Revisions Tracking in WordPress 2.6 or AboveHow to Delete Existing WordPress Post Revisions Stored/Saved Ctrl-z [↩]Post Revision 資料是寫入 wp_posts 資料表 [...] [...]和關閉追踪修訂後的WordPress的2.6或AboveHow刪除現有的修訂郵政WordPress的存儲/保存按Ctrl廠[ ↩ ]郵政修訂資料是寫入wp_posts資料表[...]
July 25th, 2008 03:51 08年7月25號03:51
[...] what about those revisions left in your database? [...]如何修改那些留在你的數據庫? Several posts look as if they found the true answer, but it’s one of those “The one who laughs last, [...]一些職位看,如果他們發現真正的答案,但其中的“一個最後誰笑, [...]
August 17th, 2008 17:39 2008年八月十七日17:39
[...] How to Delete Existing WordPress Post Revisions Stored/Saved shows how you remove existing revision posts from your database. [...]如何刪除現有的修訂郵政WordPress的存儲/儲存顯示你如何刪除現有的修訂員額從您的數據庫。 This entry was written by Bengt, posted on August 17, 2008 at 9:39 am, filed under Blogging and tagged WordPress.這個項目是由本書,張貼8月17日,在2008年上午9點39分,提交下博客和標籤WordPress的。 Bookmark the permalink. 06月的永久性。 Follow any comments here with the RSS feed for this post.按照這裡的任何評論的RSS資訊提供這一職位。 Post a comment or leave a trackback: Trackback URL.郵報評論或留下引用:引用網址。 Written by Bengt and published on August 17, 2008 Posted in: Blogging Tagged with: WordPress If you liked this - share it!撰稿本和公佈的2008年八月17日張貼在:博客標記: WordPress的如果你喜歡這個-分享它! StumbleUpon | Digg it | del.icio.us | Email this Subscribe: by RSS or email « Authentic blogging [...] StumbleUpon公司| Digg的它| del.icio.us |通過電子郵件發送訂閱:通過RSS或電子郵件«正宗博客[...]
September 3rd, 2008 06:55 2008年9月3日6時55
[...] beschränkt. [...] beschränkt 。 Das Löschen alter Versionen ist auch nur schwer möglich über einen SQL-Befehl, der hier erklärt wird.達斯Löschen改變Versionen 4:00 auch諾爾schwer möglich尤伯杯einen SQL的Befehl ,德國這裡erklärt wird 。 Scheint aber auch nicht immer zu funktionieren. Scheint阿伯auch否沉浸祖funktionieren 。 Eventuell hilft dieses Plugin [...] Eventuell hilft dieses插件[...]
October 23rd, 2008 21:57 2008年10月23號21點57分
Great tip!大冰山!
The revisions take up a huge amount of space when editing posts.訂正佔用了大量的空間時,編輯職位。
I installed a new skin and had to edit each post to match…..我安裝了一個新的皮膚,並編輯每個職位相匹配... .. twice the database size兩倍的數據庫大小
Thanks for this tip, very useful!感謝此提示,非常有用!
October 27th, 2008 01:34 08年10月27號01:34
I don’t need the post revision feature either, as I’m the only author of my blog.我不需要修訂功能後,因為我是唯一的作者我的博客。 Thanks for this tip.感謝小費。