Author |
Message
|
Trainee |
Posted: Mon Apr 09, 2007 5:29 am Post subject: Secondary Log Files |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Secondary Log Files are needed when the Primary Log Files are filled.Thats what I understood from Documentation.
In Circular Logging there is no way that primary logs will get filled as it is circular then why would we need secondary log Files in Circular logging?
Can any one clarify my doubt?
Thank you
Trainee |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 09, 2007 5:52 am Post subject: Re: Secondary Log Files |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Trainee wrote: |
Secondary Log Files are needed when the Primary Log Files are filled.Thats what I understood from Documentation.
In Circular Logging there is no way that primary logs will get filled as it is circular then why would we need secondary log Files in Circular logging?
Can any one clarify my doubt?
Thank you
Trainee |
The number and size of logfiles determines the logspace.
The size and type (circular/linear) of the logfiles is set at qmgr creation. The number is set at qmgr startup (i.e. can be changed to allow for more logspace).
If more logspace than what has been specified for primary logspace is needed the qmgr will create secondary logfiles up to the number specified at startup. If this is still not sufficient you might see things like rolling back long lived transaction in the log....
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Trainee |
Posted: Mon Apr 09, 2007 6:10 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks for quick response
fjb_saper wrote
Quote: |
If more logspace than what has been specified for primary logspace is needed the qmgr will create secondary logfiles up to the number specified at startup |
When generally it happens...can you explain some situations plz
When I look at the log Files of particular queue manager on AIX I am seeing the log files more than no of primary log files specified, so seconday log files are also there...if so how can I recognize the secondary log files.
Thank you
Trainee |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 09, 2007 6:21 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Trainee wrote: |
When generally it happens...can you explain some situations plz
When I look at the log Files of particular queue manager on AIX I am seeing the log files more than no of primary log files specified, so seconday log files are also there...if so how can I recognize the secondary log files.
Thank you
Trainee |
Well in circular logging it is quite obvious which are the secondary log files.
It is much less obvious in linear logging unless you have just run rcdmqimg and archived the old logs...
Anyways the qmgr manages all that transparently...
The only thing you need to do is determine what the max logspace is and set it up right...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Trainee |
Posted: Tue Apr 10, 2007 3:43 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
Thanks alot for detailed explanation..can you give me an example or situation how qmgr will write secondary log files...When logspace needed by the queue manger will be more evnthough it has primary circular logs to use??
Quote: |
When generally it happens...can you explain some situations plz |
|
|
Back to top |
|
 |
EddieA |
Posted: Tue Apr 10, 2007 8:48 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
One case can be, when you have a large number of messages under a single syncpoint.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Apr 10, 2007 8:20 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
EddieA wrote: |
One case can be, when you have a large number of messages under a single syncpoint.
Cheers, |
Or a small number of messages needing a large syncpoint space... (big messages) _________________ MQ & Broker admin |
|
Back to top |
|
 |
Trainee |
Posted: Wed Apr 11, 2007 6:56 am Post subject: |
|
|
 Centurion
Joined: 27 Oct 2006 Posts: 124
|
|
Back to top |
|
 |
|