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 » Datastorage of MQSeries

Post new topic  Reply to topic
 Datastorage of MQSeries « View previous topic :: View next topic » 
Author Message
jamesgeorgem
PostPosted: Fri Feb 12, 2010 8:46 am    Post subject: Datastorage of MQSeries Reply with quote

Newbie

Joined: 07 Feb 2010
Posts: 7

Hi Friends,
I am very new to MQSeries.
and wishes to know one thing
1. If I put a message a in a que manager where is this message stored internally.

is data is stored in the Random Access Memory or to database/text file

Maybe a stupid question?but wishes to know that information.

Hope somebody can help me.

Thanks in advance
JG
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 12, 2010 8:48 am    Post subject: Re: Datastorage of MQSeries Reply with quote

Grand High Poobah

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

jamesgeorgem wrote:
is data is stored in the Random Access Memory or to database/text file


Depending on message type & platform it could be either RAM or disc or both.

Though the disc storage is neither database nor text but a proprietary format owned by IBM.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Feb 12, 2010 8:52 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
1. If I put a message a in a que manager where is this message stored internally.

is data is stored in the Random Access Memory or to database/text file

Maybe a stupid question?but wishes to know that information.

Not a stupid question at all.

Briefly, and with much technical detail omitted:

A message put to a queue (not queue manager) is briefly stored in a buffer in RAM, but written to disk subsequently.

Ideally, the application that needs to consume the message is waiting (MQGET with WAIT) to consume the message; and will consume the message directly from the buffer. If the message is not immediately consumed from the buffer, it will be written to disk.

Messages stored on disk are not stored in a database. Rather, they are stored in a proprietary format, down the filesystem (midrange platforms), or in a dataset (z/OS).
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
jamesgeorgem
PostPosted: Fri Feb 12, 2010 1:19 pm    Post subject: Reply with quote

Newbie

Joined: 07 Feb 2010
Posts: 7

Hi Bruce/Grand,
Thanks for the clarification. so MQSeries have an entirely different architecture...great..
I appreciate all your inputs....


Thanks and Regards,
JG
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Feb 12, 2010 1:33 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Your original post only asked about message storage, with you pondering if WMQ used a database for this purpose.

To add to your understanding of WMQ: WMQ queue managers log significant events (persistent messages, creation/alteration of objects, transactions and so on); and this logging is accomplished with the same logging infrastructure used for logging in DB2.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
jamesgeorgem
PostPosted: Sat Feb 13, 2010 9:48 am    Post subject: Reply with quote

Newbie

Joined: 07 Feb 2010
Posts: 7

bruce2359 wrote:
Your original post only asked about message storage, with you pondering if WMQ used a database for this purpose.

To add to your understanding of WMQ: WMQ queue managers log significant events (persistent messages, creation/alteration of objects, transactions and so on); and this logging is accomplished with the same logging infrastructure used for logging in DB2.



Thanks Bruce for the additional information.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Feb 14, 2010 4:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

bruce2359 wrote:
To add to your understanding of WMQ: WMQ queue managers log significant events (persistent messages, creation/alteration of objects, transactions and so on); and this logging is accomplished with the same logging infrastructure used for logging in DB2.


MQ uses some of the same methodologies for recovery logging as DB2, but not the same code, and DB2 is not a prerequisite for MQ in this regard.
_________________
Glenn
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Feb 14, 2010 5:03 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

OK. Not the same code.

How about this: those with DB2 experience will recognize DB2 utilities and behaviors are remarkably similar to those of WMQ.

On z/OS for example, the bootstrap and other log-related utilities are named alike - with the exception of the first three characters - the module prefix - (see MVS Diagnosis Reference). DSNJU003 (change log inventory) is CSQJU003; DSNJU004 (print log map) is CSQJU004.

Additionally, what WMQ logs is dramatically different from WMQ.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Feb 14, 2010 5:26 pm    Post subject: Reply with quote

Grand High Poobah

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

bruce2359 wrote:
Additionally, what WMQ logs is dramatically different from WMQ.


Erm.....



_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Datastorage of MQSeries
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.