Windows Mail Server Software - AA Mail Server

 Youngzsoft  Products  About Us
Home Features Downloads Purchase Contacts  

How to Do when Database is so large?

c:\AAMailPro\dbs\sqlldapinfo.mdf
This database file is for "sqlldapinfo" database. It keeps all information of accounts and system logs. If it is very large, you can do followings to shrink it.

  1. Open SQL Server Enterprise Manager.
  2. Choose "sqlldapinfo" database as target and start a new query.
  3. Run "truncate table systemlog" statement, this will empty systemlog table.
  4. Select "Shrink database" task, select sqlldapinfo database and using Precise Shrink mode.
  5. Shrink it.
c:\AAMailPro\dbs\sqlmaildata.mdf
This database file is for "sqlmaildata" database. It keeps all information for deocoded mails, attachments and pop3 UIDs. If it is very large, you can do followings to shrink it.
  1. Open SQL Server Enterprise Manager.
  2. Choose "sqlmaildata" database as target.
  3. Select "Shrink database" task, select aamailpro database and using Precise Shrink mode.
  4. Shrink it.
c:\AAMailPro\dbs\sqlldapinfo.ldf
c:\AAMailPro\dbs\sqllmaildata.ldf

The above two files are log files for "sqlldapinfo" and "sqlmaildata" databases. They are managed by SQL Server. If the two files are very large, you can do followings to rebuild them. Let's take "c:\AAMailPro\dbs\sqlldapinfo.ldf" as an example.
  1. Open SQL Server Enterprise Manager.
  2. Detach "sqlldapinfo" database.
  3. Rename sqlldapinfo.ldf to sqlldapinfobackup.ldf in Windows Explorer.
  4. Attach c:\AAMailPro\dbs\sqlldapinfo.mdf.
  5. Note to remove the auto-added log file when attaching, we need SQL Server to create an empty log file.
  6. If sqlldapinfo is attached OK, delete sqlldapinfobackup.ldf.



Contacts
Tel: 086-731-85537391
Mon - Fri, 9.00-18.00 (GMT+8.00)
MSN: support@youngzsoft.net
support@youngzsoft.com
Submit Your Questions Online
Pop Links
Comparison of Standard and Enterprise Edition
Quick Setup
Cost-saving Mail Mapping
Sharing One Mailbox
Effective Anti-spam Solution
Employee Email Monitoring
UTF-8 Webmail Server
Screen Shots

Try Windows Mail Server Software - AA Mail to Build Your Own Internet Mail Server Now!


© 2011 Youngzsoft All Rights Reserved | Privacy | Terms | Site Map