Re: Offline defrag



I would do an offline defrag of that 210GB database.

"John Smith" <flava_kid@xxxxxxxxxxx> wrote in message
news:eKIJ8$01GHA.3656@xxxxxxxxxxxxxxxxxxxxxxx
I have stopped making brick-level backup, and to backup 600gig (cross 8
mail stores) databases took 5 hrs.
this is backing up disk staging system.

but I still want to get to bottom of what is causing message level backup
to be soooooooo slow. any ideas on things to investigate to resolve this
issue would be much appreciated.

my largest mail store database is 210gig with 150 gig whitespace, there
are some mail boxes with corrupt items preventing mailbox move in this
store. what is the best way to reclaim this much space.

I have also notices the online defrag always terminated because of back up
interference, so I moved the online defrag back to 2am - 6 am.



"Kirill Palagin" <kpalagin@xxxxxxxxxxxxxxxxx> wrote in message
news:uqPLq$a1GHA.4748@xxxxxxxxxxxxxxxxxxxxxxx
See inline.

John Smith wrote:
it is a company policy that we are able to restore message / folders as
quick as possible, that is why we have invested a lot of money on disk
staging systems. we keep the exchange backup on disk for a week for the
images are expired. I am trying to trace what is causing the backup
performance hit. at the moment we are think it has something to do with
exchange.

"As quickly as possible" is not very specific. Exact time-frame would be
much better. Besides, brick-level backup strategy apparently not working.


however there is noway to prove this, if there was overall system
performance, a lot of users would have complained. at the moment the
throughput is less then 1 meg for brick level backup and 6meg for IS
backup. backing up 680gig database at the speed will never finish in
time.

Both values seem to be low to me - I expect at least 3 times faster. How
your hardware and all setup looks like? Also, you do not have to backup
680GB all at once - if you split data into, say, 6 databases, you will be
able to backup each in approx 12 hours.


we have imposed storage limits, but people already have huge mailboxes.

how can I do some test to make sure everything in exchange - disk speed,
network link throughput, read/writes of disk system - is working fine
without dismounting the stores.

ExBPA.
http://www.microsoft.com/downloads/details.aspx?familyid=DBAB201F-4BEE-4943-AC22-E2DDBD258DF3&displaylang=en


I didn't quite understand this "(but white space is not backed up during
brick-level backup)." but are they backup during IS backup, I think they
are backup on full IS backup.

Brick-level backup reads each individual item (message, contact, calendar
item etc) in each mailbox and saves this item (which is slooooow, as it
requires many index page reads and sequential reading of the item parts,
like attachments). Since white space in the database does not belong to
any item BLB can not read it.
OTOH, Store-level backup just reads every page in the database
sequentially and saves this stream (which is so much faster). It does not
skip unused pages (white space) of the database.


Online defragmentation is always terminated according to the event log,
this may have something to do with backup schedule times, can I run
online defrag during the day and how much performance hit am I looking
if I was to attempt this.

This could be a problem too - one of InfoStore maintenance (aka online
defrag) tasks is to make freed pages ready for reuse. Not allowing it to
finish will cause white space to grow. You can allow it during business
hours (or just set it for full day).


"Kirill Palagin" <kpalagin@xxxxxxxxxxxxxxxxx> wrote in message
news:%23XpmodZ1GHA.4264@xxxxxxxxxxxxxxxxxxxxxxx
Brick-level backup is infamous for being slow, redundant and
troublesome (but white space is not backed up during brick-level
backup).

Switch to Store backup and you may get 30GB/h and up transfer rates.
After performing successful online backup you can worry about reducing
white space (you can only reduce it, but never eliminate). You can
reduce it either with the help of ESEUTIL or by moving mailboxes to the
other database, whacking .edb+stm, moving mailboxes back. I strongly
recommend ESEUTIL approach.

I also would suggest imposing storage limits.

File-system defrag will not make a difference because database access
is random by nature, not sequential.

John Smith wrote:
we have roughly about 500 users, the last backup took 58hrs to
complete and it didn't backup all the storage groups. we are
performing a brick level backup. To give some idea on how our backup
works, we backup to disk over night, and in the morning this is staged
off to tape. however we have not had a successful backup for couple
days because the throughput is sooo slow. sometimes we see multiple
backup schedule running because the last backup didn't complete the
allocated backup window.

just to make things clear, the total sum of our database are 680gig,
our biggest database 210gig with 150gig whitespace ( Ouch ). the rest
of the database are between 50-100gig and each database has roughly
12gig of whitespace. Going through the event log and filtering for
event id 1221 and adding up all the whitespaces, we can roughly save
230gig of space and reduce the databases of 380gig total.

I can handle the whitespace issue if the backup performance is
quicker, but at the moment backup is slower than snail with arthritis.

can I also ask if file system defrag would improve anything, if so,
would this require the stores to be dismounted.


"Kirill Palagin" <kpalagin@xxxxxxxxxxxxxxxxx> wrote in message
news:ODv0vFZ1GHA.1288@xxxxxxxxxxxxxxxxxxxxxxx
Having 10GB of whitespace in databases this big should is expected
and should not be cause for offline defrag.
How many users you have and how long backup takes? Hopefully, you are
not doing brick-level backup.


John Smith wrote:
Hi all,

I am new to exchange, we have recently migrated from lotus notes,
where users had unquoted mail files. When we have moved to exchange
2003, we have decided to introduce quota with the mail system. so
we've created couple mail stores - 8 in total - and moved users
about.

since we've moved users about, out database grew from 370gig to
680gig. I have checked the event log and there is a lot 1221 event
id, it seems that each mail store has approximately 10gig of free
space.

the other thing, our backup has also taking hit, it is extremely
slow, it takes forever to backup. the exchange through put for the
backup has takes a huge performance hit. I think the backup time
interferes with online defrag, I know the obvious thing to do is run
the backup another time, but because of the size of the databases
being backed it is continuously backing 24/7.

I have heard about eseutil, but alot of people are advising against
it, I don't have a recent backup either, I want to fix all this
issues before it becomes a nightmare.

please advice.
--

Text from most Windows dialogs can be copied to clipboard with
Ctrl-INS.

Free productivity applications suit - www.openoffice.org
Free Internet calling - www.skype.com
Free SQL database Firebird - full support for transaction control,
triggers, stored procedures, partial SQL-99 compliance
http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1142758270:704186&page=what_is_interbase

--

Text from most Windows dialogs can be copied to clipboard with
Ctrl-INS.

Free productivity applications suit - www.openoffice.org
Free Internet calling - www.skype.com
Free SQL database Firebird - full support for transaction control,
triggers, stored procedures, partial SQL-99 compliance
http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1142758270:704186&page=what_is_interbase



--

Text from most Windows dialogs can be copied to clipboard with Ctrl-INS.

Free productivity applications suit - www.openoffice.org
Free Internet calling - www.skype.com
Free SQL database Firebird - full support for transaction control,
triggers, stored procedures, partial SQL-99 compliance
http://www.ibphoenix.com/main.nfs?a=ibphoenix&s=1142758270:704186&page=what_is_interbase
Free graphic image manipulation program - www.gimp.org




.



Relevant Pages

  • Re: Offline defrag
    ... I'm not sure I'd bother doing offline defrag. ... create a new Store 1 and move all the users from Store 2 and then ... however I have been going through the event and checking the database size ... If BLB reports corrupt item, it indicates problem with backup software, ...
    (microsoft.public.exchange.admin)
  • Re: mount database with *.edb and all logs Exchange 2007 urgent :>
    ... Can I copy the database *.edb in the original database *.edb? ... Only the store has to be mounted. ... backup files y open teh mailbox that it contein. ... I need restore all mailboxes, i have the backup with the file *.edb and the ...
    (microsoft.public.exchange.admin)
  • Information Store Corrupt - 3rd time!
    ... This is the 3rd time I have had the Information Store get corrupted in the ... Veritas Backup fails and complains that it could not backup the Information ... "Access Denied to Database Mailbox Store - Warning mailbox ... Store is a corrupt file. ...
    (microsoft.public.exchange2000.admin)
  • Iformation Store Corrupt - 3rd time!
    ... This is the 3rd time I have had the Information Store get corrupted in the ... Veritas Backup fails and complains that it could not backup the Information ... "Access Denied to Database Mailbox Store - Warning mailbox ... Store is a corrupt file. ...
    (microsoft.public.exchange2000.information.store)
  • Re: Recovering EDB fFiles
    ... had to restore from last full backup over 6 months old. ... a new store though. ... database as best possible, and it would still only stay mounted for an hour ... start moving mailboxes to a fresh clean one. ...
    (microsoft.public.exchange.admin)

Loading