Archive

Posts Tagged ‘Database’

The future of MySQL with Oracle

April 13th, 2010 PeterPaul No comments

MySQLFrom the time the news that Oracle was going to acquire Sun there has been much debate on what this would mean for MySQL. Today Edward Screven, Oracle’s chief corporate architect, revealed the future of MySQL in a keynote at The O’Reilly MySQL Conference & Expo 2010. The simple message was:

MySQL matters to Oracle.

Prior to this keynote mister Screven told Reuters:

We are increasing our investment in MySQL… on every front.

Oracle is already the biggest player in the database market. With Microsoft’s SQL Server as the target for MySQL, Oracle believes it can boost it’s sales. From this perspective MySQL gives Oracle an entry to other parts of the market. While on an other aspect Oracle has improve the relation with Microsoft, since it’s Operating System Windows is the number-one destination for MySQL downloads! While Linux is the number-one OS for deployments.

InfoWorld also had an interview with Edward Screven before the keynote. Here are some quotes from the InfoWorld interview:

MySQL has some properties that Oracle does not,It’s small, it’s easy to install. It’s easy for developers to get going with it.

And on the open source community edition:

I don’t see foresee any substantial changes from how MySQL AB or Sun made the distinction [between what was in the community and commercial editions]. I expect that core features will end up in community edition. There will be some value-add, like monitoring or backup, that make sense in the enterprise edition.

and

It would be a mistake for us to starve the community edition because that would impinge upon the ubiquity of MySQL.

The MySQL community now includes several forks of the MySQL core tool like MariaDB and Drizzle. Both produced by ex-MySQL employees. These are experimenting with different data storage engines and other enhancements.

I think it will be hard for those guys to create a forked product with the kind of commercial support that our customers need for production applications. We’re really focused on ensuring that MySQL becomes a better product and appeals to our customers. What we’re fundamentally selling here is support.

Sources: Reuters and InfoWorld

Other Sources

  • The Register: Oracle drops top architect into MySQL skeptic zone
  • The Wall Street Journal: Here’s proof we’ll improve MySQL
Categories: Oracle, Release
Tags: , , , ,

Tuning AQ for Oracle ESB

December 16th, 2009 PeterPaul No comments

If you are using AQ within Oracle ESB there might be a point in time you want to tune AQ performance. In this post you’ll find the results of Metalink research, and our experience on a production system.

Queue compatibility

When creating the ORAESB schema (in version 10.1.3.3) using the script $ORACLE_HOME/integration/esb/sql/oracle/create_esb_topics.sql, the queues are created with 8.1 compatibility. This is solved in 10.1.3.4. To alter this find the statement

1
2
3
4
5
6
dbms_aqadm.create_queue_table
    ( Queue_table => qtablename
    , Queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE'
    , multiple_consumers => true
    , compatible => '8.1'
    );

and change this to:

1
2
3
4
5
6
dbms_aqadm.create_queue_table
    ( Queue_table => qtablename
    , Queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE'
    , multiple_consumers => true
    , compatible => '10.2'
    );

if you already created the queues, use this statement:

1
2
3
4
dbms_aqadm.migrate_queue_table
    ( queue_table => 'ESB_JAVA_DEFERRED'
    , compatible => '10.2'
    );

If you’re not sure check the compatibility with this query:

1
2
3
4
5
6
SELECT queue_table
,      compatible
,      recipients
FROM   dba_QUEUE_tables
WHERE  owner = 'ORAESB'
;

Streams pool size

Verify the current stream_pool_size using the following query:

1
2
3
4
5
6
7
SELECT component
,      current_size/1024/1024 "CURRENT_SIZE"
,      min_size/1024/1024 "MIN_SIZE"
,      user_specified_size/1024/1024 "USER_SPECIFIED_SIZE"
,      last_oper_type "TYPE" 
FROM   v$sga_dynamic_components
;

look for the streams pool. There are several Metalink notes on this setting (including 316889.1, 102926.1 and 335516.1). The latter has a general recommandetion per RDBMS version:

  • 11g: set STREAMS_POOL_SIZE to be greater or equal to 100 MB;
  • 10gR2: set SGA_TARGET > 0 and STREAMS_POOL_SIZE=0 to enable autotuning of the Streams pool;
  • 10gR1: use the STREAMS_POOL_SIZE init.ora parameter to configure the Streams memory allocation;

And of course you could use V$STREAMS_POOL_ADVICE to get advice for your specific situation.

Upgrade the JDK

A described here upgrading the JDK can also give a performance boost.

Searching Oracle sample code

September 24th, 2009 PeterPaul No comments

This week few initiatives to find sample code caught my eyes.

Oracle Sample Code Repository

Although there was already a sample code page on Oracle’s Technet. There probably were more… Oracle has created a Sample Code Repository. Like any repository this one should centralize and consolidate the large pile of samples that is available, both from Oracle product specialist, consultant, partners and customers.

Actually this could make it easier to find samples. To make this a success, there has to be a spirit of reuse. And as the major part of developers and architects out there can testify that’s not always easy part. It boils down to the same willingness for reuse of code that is required for a successful long term Service Oriented approach of software development within an organization.
Anyway some good examples are already available. A good introduction on samplecode at Oracle Technet can be found in this podcast (m4v) that features Duncan Mills. By the way, more podcasts can be found on the techcast page.

Google Code Search

Google Code Search is not exactly new, but it caught my attention because of some blogpost and comments I saw this week. To give it a try I did some queries with it and have mixed feelings so far. Asking around co-workers did not raise and enthusiastic crowd. Leaving me with the question whether any of you out there uses Google Code Search on a regular basis? And, do you have any examples for what kind of queries this works for you?
Thanks in advance for your comments.

Getting SOA Suite 10.1.3 to work with Oracle

May 20th, 2009 PeterPaul No comments

Sometimes the speed of Oracle releases is hard to keep up with, as Antony Reynolds discovered and shared with us in his blog. Even when product combinations are certified with each other.

Oracle 11g database

The 11g release 1 of the database has been out long enough. It cannot be considered bleeding edge nowadays. So both from a features and longevity perspective it makes sense to deploy SOA Suite on a 11g R1 database. This blog post will show you the additional steps that are needed to install SOA Suite 10.1.3. on 11g R1.

Oracle Enterprise Linux

The SOA Suite installer checks whether the OS it is running on, is supported. At the time 10.1.3 was first released, Oracle Enterprise Linux 5 (OEL) wasn´t on the list. The result is that the installer fails. There is a patch (6339508) available and a blog post that describes the solution.

What is in the (Oracle Advanced) queue?

April 16th, 2009 PeterPaul No comments

As a quick follow up on the previous post… If you are using a JMS queue with Oracle´s Advanced Queueing or Streams (as they have been extended to) the previously described tool can´t help you out.

For this case a blog by a former colleague helps us out. This approach boils down to…

Find the queue you want to monitor.

1
2
3
4
5
SELECT owner
,      queue_table
,      type
,      user_comment
FROM   all_queue_tables

Perform a query.

1
2
3
4
5
6
SELECT msgid
,      enq_time
,      enq_uid
,      qt.user_data.text_vc
FROM   my_queue_table qt  --alter the table name
WHERE  q_name = 'MY_QUEUE' --alter the queue name