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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


There are downfalls to compacting:


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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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%.

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.
TheBull369Author Commented:
Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.