最佳解答者
Recreate Exchange 2003 Database

問題
解答
所有回覆
-
謝謝你的回覆,
因那個priv1.stm 和 priv1.stm 已達15.5G了, 之前一次 offline defrag 等了6小時才減少1G, 所以我才想重建Database.
另外其實我有些Email Account 可以delete, 但我知 Exchange Server 2003 不會立即delete mailbox 和 Account. 請問有何方法可把 mailbox 和 Account 立即同時delete 呢? 而這方法可否減少priv1.stm 和 priv1.stm 的files size 呢?
最後, 我的目的只是想減少priv1.stm 和 priv1.stm 的files size. 不論你建議那個方法也好, 可否step-by-step 說明你的方法.
謝謝你的支援.
Edmond.
-
謝謝你的回覆,
因那個priv1.stm 和 priv1.stm 已達15.5G了, 之前一次 offline defrag 等了6小時才減少1G, 所以我才想重建Database.
另外其實我有些Email Account 可以delete, 但我知 Exchange Server 2003 不會立即delete mailbox 和 Account. 請問有何方法可把 mailbox 和 Account 立即同時delete 呢? 而這方法可否減少priv1.stm 和 priv1.stm 的files size 呢?
最後, 我的目的只是想減少priv1.stm 和 priv1.stm 的files size. 不論你建議那個方法也好, 可否step-by-step 說明你的方法.
謝謝你的支援.
Edmond.
-
Edmond,其實為甚麼你想減細這些file的位?exchange 2003 standard 的 SP2也可以 support用到72gb database.如要databse file宿細,只可以行offline defragment.這樣可以少得幾多就要看你有幾多data是不用的. 如果你只想database用回一些 deleted mailboxes/ items 的 spaces,就可以看看下面.
1.你可以改一改 exchange 的 setting唔 keep deleted retention mailboxes 這樣你的 deleted mailboxes就會 delete在 mailstore.但是你都要看看 "Do not Permanetly delete mailboxes and items unit the store has been backed up". 如果 enable了,你的 deleted mailboxes就會在你 有1 個 complete mailstore backup 才會 deleted.
1. In Exchange System Manager, expand Servers, then expand the Information Storage group containing the mailbox store that you want to configure.
2. Right-click the mailbox store and click Properties.
3. On the Properties dialog box, click the Limits tab.
4. In the Deletion settings group, configure the following settings to meet your requirements:
Keep deleted items for (days): Type the number of days to retain deleted messages.
Keep deleted mailboxes for (days): Type the number of days to retain deleted mailboxes.
2.如果不用的mailboxes deleted在 mailstore,這些 deleted mailboxes是會待 online databse maintenance完成後就可以reuse這些 spaces.在 Exchange default settings,每晚只會run好少時間,可能未能在一晚 complete,但 exchange會在第二晚再接1二去 run. 我們也可以把這個setting tune 長時間在一些不是 peak hours去 run. (Online Defragmentation不會像offline減細database file size,但可以另database free一些不用的spaces給新的 data用. )
Online defragmentation
Exchange database online defragmentation occurs automatically as part of the database maintenance process. Online defragmentation detects and removes database objects that are no longer being used. The online defragmentation process provides more database space without changing the file size of the database. By default, Exchange is configured to run online defragmentation daily between 01:00 and 05:00.
Note To increase the efficiency of maintenance and backup processes, you may want to schedule your maintenance processes and backup operations to run at different times.
To schedule database defragmentation, use one of the following methods:• To schedule database defragmentation for an individual database, use the Maintenance interval option on the Database tab of a mailbox store or of a public folder store object to configure the maintenance interval. • To schedule database defragmentation for a collection of mailbox stores and of public folder stores, use the Maintenance interval option on the Database (Policy) tab of a mailbox store or of a public folder store policy to configure the maintenance interval. -
你好,
因Server 只剩下4G空間左右, 所以一定要減少Database 的容量.
本人想了個解決這問題的方法和過程, 希望你給些意見.
1.) 本人想將離職同事的Email Account 和 Email box 一次過delete, 方法是從Exchange Task Wizard 或是從Active Directory Users and Computers delete 會好一點呢? 而且我知道 System 預設要等30 days 才可delete, 我可否將
"Keep deleted items for (days) : 7" and "Keep deleted mailboxes for (days) :30" 更改0或1 day 呢?
2.) 當Mailbox delete 後, 因HDD 空間不夠, 我會加一個20G HDD 後將 "bin" and "mdbdata" folder copy 到其他地方, 跟著把"bin" folder copy 到那個20G HDD 做defrag. 再Stop Smtp and POP3 service 和Dismount Mailbox. 完成後, 假設20G HDD 是E: drive, 這時在E: drive input "E:\>eseutil /d c:\progra~1\exchsrvr\mdbdata\priv1.edb", 到這裡我有個問題 : 當
"E:\>eseutil /d c:\progra~1\exchsrvr\mdbdata\priv1.edb" 完成後, priv1.edb and priv1.stm 是不是一起做defrag, 還是之後再要input "E:\>eseutil /d c:\progra~1\exchsrvr\mdbdata\priv1.stm" 呢?
3.) 以我所知理論上完成上述方法後, database 容量應會減少, 但本人也作最壞打算, 如所有Users 存在server 的email and address book... etc 都可delete的話, 我想Rebuild database, 方法是不是 Stop Smtp and POP3 service 和Dismount Mailbox 後, delete "priv1.edb" and "priv1.stm" 還是把整個 "mdbdata" folder delete後? 當再mount database 時, system 會否問是否會重新create file 呢? 就算成功create 後, 對現有的User Account 會否有影響嗎? 又是否需要重新create User Account 呢? 10000000 個thanks....!
Edmond.