ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Linear Log sizing

Post new topic  Reply to topic
 Linear Log sizing « View previous topic :: View next topic » 
Author Message
jhalstead
PostPosted: Wed Feb 20, 2002 10:25 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Just a quickie on media recovery image size on UNIX.

In the manual, recording a media image is said to take 800 bytes + the image size. Is this image going to consist of every persistent message on a queue when the image is taken? So for instance in my worst case scenario 50,000 messages are on the queues with an average size of 50K.

Therefore the disk space required for the media image Is:
800bytes + Image, where Image is In segments of 15700bytes each with a 300byte overhead.

Now how do I work out the size of the image? Is it the sum of all the persistent messages at the time the image was taken? Given the details above this would be around 2.5Gb... Does that sound right?

If so over half my potential active primary log space is taken up by the media image, is this correct or am I calculating the image size incorrectly?

Thanks

Jamie



[ This Message was edited by: jhalstead on 2002-02-21 01:19 ]
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Thu Feb 21, 2002 12:45 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Hi Jamie

Yep, that seems about right - if you have 50,000 50k messages in one or more queues, when you record the image it will be 50,000 x (50k + .8k) = 2.54Gb. Unless you want the recording to miss stuff out

However, don't confuse 50,000 messages that have been MQPUT'd and then subsequently MQGET'd - in which case the net effect is zero, as all messages have gone - so the RCDMQIMG records - nothing.
Back to top
View user's profile Send private message Visit poster's website
jhalstead
PostPosted: Thu Feb 21, 2002 1:20 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Thanks for your help. I was kinda hoping that the image might be compressed or something...

Cheers J
Back to top
View user's profile Send private message Send e-mail
dgolding
PostPosted: Thu Feb 21, 2002 4:50 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Hi Jamie

There is a supportpac (MS62) that can be run, say as a CRON job nightly (on Unix systems), which will compress your logfiles (or delete them if you prefer) that are no longer required. It's a PERL script, and will run on NT as well I believe.

BUT logfiles have to stay uncompressed for MQ to write to them, otherwise they'll be being compressed and uncompressed all day long - which will make it
run a bit slower to say the least!
Back to top
View user's profile Send private message Visit poster's website
jhalstead
PostPosted: Thu Feb 21, 2002 9:31 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Thanks for that, when sizing the logs I'm just working on a worst case scenario basis - i.e. application not available to retrieve messages from the queue. Should the media image be taken in to account when determining the number of primary and secondary logs defined when creating the queue manager? I.e. just base the number of log files on the persistent puts, gets , commits, checkpoints and mesage data. Or should this also include the media image?

Alternatively does the number of primary and secondary log files for linear logging act in a similar way to circular logging, i.e. the active ones are only really relevant from the latest checkpoint onwards (during normal operation) - so they need to be sized to cover 10,000 operations?

Thanks Again

Jamie
Back to top
View user's profile Send private message Send e-mail
jhalstead
PostPosted: Thu Feb 28, 2002 1:34 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Sorry to be a logging bore.

Do I calculate the number of primary and secondary logs required by MQSeries based on 10,000 operations between checkpoints - as I would for circular logging? (MQ v5.2 & no long running transactions).

Thanks

Jamie
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Linear Log sizing
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.