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 » IBM MQ Installation/Configuration Support » MQseries V 5.3 estimating Log size

Post new topic  Reply to topic
 MQseries V 5.3 estimating Log size « View previous topic :: View next topic » 
Author Message
poulter90
PostPosted: Thu Jan 31, 2008 6:54 am    Post subject: MQseries V 5.3 estimating Log size Reply with quote

Apprentice

Joined: 31 Dec 2007
Posts: 36

I am trying to find out the formula for estimating my Log size
on a new UNIX HP Queue-Manager

Log should handle :

1 million messages(2024KB each) per day
Persistent message should be available up to 5 days .

Thanks for your help
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Jan 31, 2008 7:02 am    Post subject: Re: MQseries V 5.3 estimating Log size Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

poulter90 wrote:
Persistent message should be available up to 5 days .


This has nothing direcrly to do with log size. Persistent messages a) are held in the queue files not the log files and b) stay there until read off the queue.

So what it appears you need is enough space wherever you're hosting the queues to hold 5 days worth of messages (presumably maximum application down time?) and logs large enough to hold the maximum transaction size that will be open (circular logging) or 5 days of messages (linear logging). This is dependent on how your application handles UOW.

There is also a school of though that says you should define as much log as you have space for and use that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 31, 2008 7:05 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you are creating a new queue manager on a new machine, you should be using MQ v6.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 31, 2008 3:13 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Guys did you check his numbers?
Assuming all messages to be persistent...
I don't know of a log capable of holding 9651.18 GB. Oh wait, isn't that called a DATABASE ??
(1,000,000 * 2MB *5(days)) ???


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Jan 31, 2008 4:09 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

F.J.,
The logs don't have to be big enough hold all the persistent messages. Just big enough to hold the U.O.W.s.


(For example, create a default QM which gives you about 5 MB of logs. Then go ahead and put gigs and gigs of persistent messages into the queues)
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 31, 2008 4:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

PeterPotkay wrote:
F.J.,
The logs don't have to be big enough hold all the persistent messages. Just big enough to hold the U.O.W.s.


(For example, create a default QM which gives you about 5 MB of logs. Then go ahead and put gigs and gigs of persistent messages into the queues)

Agree with circular logging. Does that apply too for linear logging???
and a queue with 9 Terabyte in size? that's still a DATABASE...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Jan 31, 2008 6:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

fjb_saper wrote:
Agree with circular logging. Does that apply too for linear logging???

Yes.

The log space is only for active transactions.

The available space on the file system, however...
fjb_saper wrote:
and a queue with 9 Terabyte in size? that's still a DATABASE...

Nah, just a really paranoid infrastructure engineer.

EDIT: Except, of course, q files in v5.3 can only go to 2 gig.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 31, 2008 7:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
fjb_saper wrote:
Agree with circular logging. Does that apply too for linear logging???

Yes.

The log space is only for active transactions.


So this is where the big diff lies [needed for qmgr restart - needed for media recovery]!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Jan 31, 2008 7:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

fjb_saper wrote:
So this is where the big diff lies [needed for qmgr restart - needed for media recovery]!


But that diff is entirely controllable based on how frequently you run rcdmqimg.


_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 31, 2008 11:28 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jefflowrey wrote:
EDIT: Except, of course, q files in v5.3 can only go to 2 gig.

That 2 gig q file limitation only exits on Unix systems if the O/S'es largefiles option has not been turned on.

Windows does not have this limitation either way. Yay! Score one for Windows.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 01, 2008 2:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

PeterPotkay wrote:
Windows does not have this limitation either way. Yay! Score one for Windows.


Just the one. This still puts it way, way down the field.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 01, 2008 4:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

jefflowrey wrote:
fjb_saper wrote:
So this is where the big diff lies [needed for qmgr restart - needed for media recovery]!


But that diff is entirely controllable based on how frequently you run rcdmqimg.

Sure but in this case you still end up with 9 Terabyte of data if you want to keep the media recovery...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ChrisW
PostPosted: Tue Feb 05, 2008 7:26 am    Post subject: Reply with quote

Voyager

Joined: 20 May 2001
Posts: 78
Location: UK

Actually around 18 terabytes of log space for media recovery - the old image will have to exist until the new one is there.
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 » IBM MQ Installation/Configuration Support » MQseries V 5.3 estimating Log size
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.