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 IBM MQ Support » Oracle for persistance with MQ

Post new topic  Reply to topic Goto page 1, 2  Next
 Oracle for persistance with MQ « View previous topic :: View next topic » 
Author Message
krisrock
PostPosted: Wed Nov 07, 2007 6:34 am    Post subject: Oracle for persistance with MQ Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

Can we use Oracle for persistance with MQ?
If we can use, what are the complications and problems.
If we cannot use, what is the reason?

thanks

Rakesh
Back to top
View user's profile Send private message
George Carey
PostPosted: Wed Nov 07, 2007 7:45 am    Post subject: Huh? Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

What exactly do you mean use Oracle for persistence with MQ.

Am using MQ as wider overall infrastruture transport but have some Oracle apps that use Oracle AQ ... and have some ideas in this space but ... don't understand your question? Can you articulate more precisely what it is you are trying/wanting to do..
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
George Carey
PostPosted: Wed Nov 07, 2007 7:47 am    Post subject: nevermind Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

dupped this by mistake ...
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")


Last edited by George Carey on Wed Nov 07, 2007 8:04 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address
ashoon
PostPosted: Wed Nov 07, 2007 7:54 am    Post subject: Re: Oracle for persistance with MQ Reply with quote

Master

Joined: 26 Oct 2004
Posts: 235

MQ uses a filesystem for persistence therefore you can't use an Oracle DB... WAS JMS messaging engine (or SIBus) uses a database for persistence and I believe it can be an Oracle DB.

krisrock wrote:
Can we use Oracle for persistance with MQ?
If we can use, what are the complications and problems.
If we cannot use, what is the reason?

thanks

Rakesh

_________________
IBM Certified - SOA Solution Designer & WebSphere Datapower SOA Appliances
Back to top
View user's profile Send private message
George Carey
PostPosted: Wed Nov 07, 2007 8:10 am    Post subject: correct wording?? Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Wouldn't the question for that be worded:

Quote:
Can I use Oracle for persistence for WAS messaging ?


Though precise wording is the bane of this industry!
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
krisrock
PostPosted: Wed Nov 07, 2007 8:10 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

Can this file system be on Oracle DB?
Back to top
View user's profile Send private message
George Carey
PostPosted: Wed Nov 07, 2007 8:13 am    Post subject: yeah Reply with quote

Knight

Joined: 29 Jan 2007
Posts: 500
Location: DC

Ooookk!!! Got to go!
_________________
"Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Back to top
View user's profile Send private message Visit poster's website AIM Address
jefflowrey
PostPosted: Wed Nov 07, 2007 8:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

krisrock wrote:
Can this file system be on Oracle DB?


NO.

Guess what, though...

Oracle uses the file system for it's persistence.

So MQ is just the same!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
krisrock
PostPosted: Wed Nov 07, 2007 8:24 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2007
Posts: 65

I dont get u jeff...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 07, 2007 8:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Oracle stores all Database data in files on the file system on the Oracle server.

MQ stores all Message data in files on the file system on the MQ server.

Oracle uses log files on the file system on the Oracle server to ensure that data is persisted correctly, and not lost when it shouldn't be. As well to manage transactions.

MQ uses log files on the file system on the MQ server to ensure that data is persisted correctly and not lost when it shouldn't be. As well, to manage transactions.

So MQ and Oracle do the same things to solve the same problem. So there's no need to use Oracle for persistence for MQ.

By the way - your question about storing a "file system" on a "database server" shows that you either don't understand databases AND file systems very well... or that you aren't spending the time to think about it much. It's not a question that makes any real sense, honestly.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Nov 07, 2007 10:01 am    Post subject: Reply with quote

Guest




I read the original post to mean: Is there an MQ installation option that allows MQ messages to be stored in a DB instead of the default filesystem method.

If that's the question, then no.
Back to top
JosephGramig
PostPosted: Wed Nov 07, 2007 11:22 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Not at all. If you are on System Z, then of course you can store all of the messages in a Database instead of directly to a file.

It is called a Queue Sharing Group and it is the highest level of availability you can get. Of course, it only works for DB2 and MQ on z/OS LPARs.

But, in the end the mechanisms to save the data are all the same.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
bruce2359
PostPosted: Wed Nov 07, 2007 11:34 am    Post subject: Reply with quote

Guest




Quote:
If you are on System Z, then of course you can store all of the messages in a Database instead of directly to a file.


Messages in a Queue Sharing Group are propagated into coupling facility list structures; they are not stored in a database. Shared object definitions are stored in a DB2 shared database in the CF.
Back to top
JosephGramig
PostPosted: Wed Nov 07, 2007 12:03 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

I stand corrected. Not for the last time, I'm sure.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
PeterPotkay
PostPosted: Wed Nov 07, 2007 12:48 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You're both right apparently.

Where are Shared Q messages held?

Quote:

Messages that are put onto shared queues are not stored on page sets and do not use buffer pools.

The messages in shared queues have entries on list structures in the zSeries Coupling Facility. Many queue managers in the same sysplex can access those messages.

Shared queue messages of size less than or equal to 63KB are held entirely in the CF list structure defined for that queue.

Shared queue messages of size greater than 63KB have their message data held as one or more binary large objects (BLOBs) in a DB2 table which is shared by a DB2 data sharing group.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Oracle for persistance with MQ
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.