| Author | 
		  Message
		 | 
		
		  | TBS | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 5:54 am    Post subject: Reset MQ Stat og collect Stat records.. | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				Hi !
 
 
Which one of those ways is the most expensive ?  
 
Every 5 min a Reset MQ Stat is performed om all queues on a queue manager. The outcome is collected and stored for every queue ( Queue  in , out and max depth ). 
 
or: 
 
Alle queues have statistic on and the queue manager have Statistics Interval to 300 sek. 
 
The outcome is collectet and stored for every queue.
 
 
Best restregard 
 
Torben Boe | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | MQsysprog | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 6:39 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 24 Feb 2014 Posts: 116
  
  | 
		  
		    
			  
				Hello Torben, 
 
 
The question is interesting ,i don't have an answer ,but probably you could have  a good clue ,if you do the statistics    on a MQ sandbox taking  a measure of the cpu and io  load on the system,in the first and second mode of activation  you have detailed  .
 
May i ask you on  what kind of SW  platform is working the Qmanager  ? 
 
 
Best Regards | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 6:42 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				Have you confirmed that you get the same data from both options? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 6:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				| It is on a Windows platform  2008 and it is not exact the same information i get but close. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 6:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| TBS wrote: | 
   
  
	| It is on a Windows platform  2008 and it is not exact the same information i get but close. | 
   
 
 
 
Do you only need the data that's in both sets? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 6:57 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				no   .. Only in, out and max queue depth .. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 7:17 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| TBS wrote: | 
   
  
	no   .. Only in, out and max queue depth .. | 
   
 
 
 
Then you can only use one to get the data you need?
 
 
So the difference in performance cost is interesting, but not relevant? _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Mon Nov 30, 2015 11:53 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				Today we reset all queues every 5 min. 
 
5000 queues  on 6 queue managers. 30000 reset every 5 min
 
So we are aware of the performence and cost    | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Dec 01, 2015 5:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| TBS wrote: | 
   
  
	Today we reset all queues every 5 min. 
 
5000 queues  on 6 queue managers. 30000 reset every 5 min
 
So we are aware of the performence and cost    | 
   
 
 
 
Well, then you can run some basic performance testing on using stats events.
 
 
But as you've said, they don't have the information you need.  So they don't help your actual use case.
 
 
     _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Tue Dec 01, 2015 6:56 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				Ja måske er det sådan det er  ..
 
 
Tak for hjælpen 
 
 
Have a nice day .. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Tue Dec 01, 2015 6:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
			  
				Yes maybe it's the way it is ..
 
 
Thanks for the help | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjeff | 
		  
		    
			  
				 Posted: Tue Dec 01, 2015 7:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Master
 
 Joined: 25 Jun 2008 Posts: 17447
  
  | 
		  
		    
			  
				
   
	| TBS wrote: | 
   
  
	| Ja måske er det sådan det er  .. | 
   
 
 
 
Jeg taler ikke dansk _________________ chmod  -R ugo-wx / | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | TBS | 
		  
		    
			  
				 Posted: Tue Dec 01, 2015 7:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Centurion
 
 Joined: 29 Jan 2007 Posts: 143 Location: Hillerød / Denmark 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |