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 Discussion » Logging issue

Post new topic  Reply to topic
 Logging issue « View previous topic :: View next topic » 
Author Message
shubha_s
PostPosted: Mon Aug 24, 2009 2:54 am    Post subject: Logging issue Reply with quote

Acolyte

Joined: 10 Mar 2009
Posts: 57

Hi,

I am using Ciruclar logging in the project, n I have defined Primary logFile=3,
Secondary Logfile=2.When the transaction is being done and there is no free primary logfile available and the transaction is logged into secondary logfile.
For the next transaction, what happens if the primary file is not free again?
Will it write to the secondary logfile??

After the primary logfiles are available what happens to the secondary logfile? Will the data be lost from the file?

Please can you throw some light on this?

--
Thanks
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Mon Aug 24, 2009 4:47 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

1. yes, when primary is full secondary is used. also for "the next transaction"

2. no data is "lost" during circular logging. the current logfile is filled, and then, if a primary is available, that one is used again. the secondary logfile used before will be handled as any other logfile. it may be flagged "busy" and in use as long as MQ needs it for backout or for restart activities. then it will be flagged reusable, and may be reused whenever a (or this particular) secondary logfile is needed.

it is up to MQ to manage primary and secondary logfiles. all you have to do is to make sure you defined enough of them to hold your units of work and restart information. if all logs are full, units of work will abort (rolled back) using "log space exhausted" or messages like that.

read the system administration guide about logging and about checkpoints in chapter 14 - recovery and restart.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
shubha_s
PostPosted: Mon Aug 24, 2009 7:49 pm    Post subject: Logging issue Reply with quote

Acolyte

Joined: 10 Mar 2009
Posts: 57

Hi,

Thanks a lot..Sure I shall refer to the System Administration guide..

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

MQSeries.net Forum Index » General Discussion » Logging issue
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.