[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 184
  • Last Modified:

Compacting Databases Options

I would like to schedule a task to compact the mail databases I have on my server. What I would like to know is the documentation says the -b In-Place option is the recommended method. What are the advantages of this over the -B option which actually recovers disk space?? Are there downfalls to using the -B (In-place with file reduction) option???

Thank you
0
TheBull369
Asked:
TheBull369
  • 2
  • 2
1 Solution
 
marilyngCommented:

There are downfalls to compacting: http://www-1.ibm.com/support/docview.wss?rs=0&q1=compact+in-place&uid=swg21100318&loc=en_US&cs=utf-8&cc=us&lang=en

and: http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg21084388

Basically, you need to run it once to see how long it takes, and then make sure you don't run it at the same time as your backup program.  In-Place, I think, only matters if you have transactional logging turned on, and Notes will switch to copy style if it detects structural changes.

I used the -B setting for schedule tasks to reduce the white space size of the database (in R4 databases especially) when there was a finite limit set on the database size.
0
 
TheBull369Author Commented:
The biggest reason I want to run a compact on these is because we are starting to archive email which will reduce the mail file size and no sense wasting the space if a mail file is only using 37%.

Thanks
0
 
marilyngCommented:
Agreed.  The only problem I ever had was competing with backup, and then you get the "database is in use... message" in the log, so compact skips it because the backup service had a handle on it.
0
 
TheBull369Author Commented:
Thank you!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now