Exchange mystery

I have an mdbdata folder that is 106gigs. The Prv1.edb is 28.3 giga and Prv1.stm is 14gigs and the rest is log files totaling 13,000. How do i shrink 106 gigs. I only have 10gigs free on the server. Tried a offline defrag with 2gig of free space but nothing happened after 14hours. Help
meteormanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Alan HardistyCo-OwnerCommented:
Backup!

If you don't backup Exchange the logs won't get purged.  If you do backup using an Exchange aware backup program, then the logs will get purged and the folder size will decrease.

Running an offline defrag won't clear the logs - it may shrink the database size by the amount of space identified in Application Event Log ID 1221, but that's all it will do.
0

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
Dan ArseneauDevOps EngineerCommented:
For a quick fix, put the database in Circular Logging, dismount, remount.  This will purge unneeded log files and clear space.  Switch it back to not having Circular logging, dismount, remount and GET BACKUPS. ;-)
0
Neil RussellTechnical Development LeadCommented:
Noooooooooooooooooooooooooooo!!!!

DO NOT USE CIRCULAR LOGGING!
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Alan HardistyCo-OwnerCommented:
You were too quick for me Neil - Couldn't agree more.
0
Dan ArseneauDevOps EngineerCommented:
It's a great quick fix but it requires the DB to be dismounted which causes downtime.  I had to use it multiple times...just remember to set it back to disabled.
0
Neil RussellTechnical Development LeadCommented:
You currently have no stable exchange backup
Circular logging is a last resort when ALL else fails

First find out what you have, can you back up? Can you snapshot?

If you enable circular logging you are putting your system into a very "Dangerous" state.

0
meteormanAuthor Commented:
I noticed that Symantec Backup Exec is off line so I started it up and am running a backup to another devise. Will the log files be deleted?
0
Alan HardistyCo-OwnerCommented:
Yes - they should be as long as you are backing up the Exchange database within the backup.
0
Neil RussellTechnical Development LeadCommented:
So long as you have a version of backup exec that handles the exchange backup yes should be fine.

I imagine your backups have been offline for a long while from the size of your logs!
0
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
Exchange

From novice to tech pro — start learning today.