<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>deltalounge &#187; Database</title>
	<atom:link href="http://www.deltalounge.net/wpress/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deltalounge.net/wpress</link>
	<description>Service Orientation, Software Development, Oracle, Life Hacking</description>
	<lastBuildDate>Thu, 29 Jul 2010 20:15:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>The future of MySQL with Oracle</title>
		<link>http://www.deltalounge.net/wpress/2010/04/the-future-of-mysql-with-oracle/</link>
		<comments>http://www.deltalounge.net/wpress/2010/04/the-future-of-mysql-with-oracle/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:34:34 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=802</guid>
		<description><![CDATA[From 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&#8217;s chief corporate architect, revealed the future of MySQL in a keynote at The O’Reilly MySQL Conference &#038; Expo 2010. The simple message was: MySQL matters to Oracle. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.deltalounge.net/wpress/wp-content/uploads/2010/04/logo-mysql-110x57.png"><img src="http://www.deltalounge.net/wpress/wp-content/uploads/2010/04/logo-mysql-110x57.png" alt="MySQL" title="logo-mysql" width="110" height="57" class="alignright size-full wp-image-810" /></a>From the time the news that Oracle was going to acquire Sun there has been much debate on what this would mean for <a href="http://www.mysql.com/">MySQL</a>. Today Edward Screven, Oracle&#8217;s chief corporate architect, revealed the future of MySQL in a keynote at <a href="http://en.oreilly.com/mysql2010/">The O’Reilly MySQL Conference &#038; Expo 2010</a>. The simple message was:</p>
<blockquote><p>MySQL matters to Oracle.</p></blockquote>
<p>Prior to this keynote mister Screven told <a href="http://www.reuters.com/article/idUSTRE63C3DV20100413">Reuters</a>:</p>
<blockquote><p>We are increasing our investment in MySQL&#8230; on every front.</p></blockquote>
<p>Oracle is already the biggest player in the database market. With Microsoft&#8217;s SQL Server as the target for MySQL, Oracle believes it can boost it&#8217;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&#8217;s Operating System Windows is the number-one destination for MySQL downloads! While Linux is the number-one OS for deployments.</p>
<p><a href="http://infoworld.com/">InfoWorld</a> also had an interview with Edward Screven before the keynote. Here are some quotes from the <a href="http://infoworld.com/d/data-management/the-future-mysql-according-oracle-402">InfoWorld</a> interview:</p>
<blockquote><p>MySQL has some properties that Oracle does not,It&#8217;s small, it&#8217;s easy to install. It&#8217;s easy for developers to get going with it.</p></blockquote>
<p>And on the open source community edition:</p>
<blockquote><p>I don&#8217;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.</p></blockquote>
<p>and</p>
<blockquote><p>It would be a mistake for us to starve the community edition because that would impinge upon the ubiquity of MySQL.</p></blockquote>
<p>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. </p>
<blockquote><p>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&#8217;re really focused on ensuring that MySQL becomes a better product and appeals to our customers. What we&#8217;re fundamentally selling here is support.</p></blockquote>
<p><strong>Sources</strong>: <a href="http://www.reuters.com/article/idUS244318031520100408">Reuters</a> and <a href="http://infoworld.com/d/data-management/the-future-mysql-according-oracle-402">InfoWorld</a></p>
<h3>Other Sources</h3>
<ul>
<li>The <a href="http://www.theregister.co.uk/2010/04/13/screven_oracle_mysql_assurances/">Register</a>: Oracle drops top architect into MySQL skeptic zone</li>
<li>The Wall Street Journal: <a href="http://blogs.wsj.com/digits/2010/04/13/oracle-heres-proof-well-improve-mysql/">Here&#8217;s proof</a> we&#8217;ll improve MySQL</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2010/04/the-future-of-mysql-with-oracle/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tuning AQ for Oracle ESB</title>
		<link>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/</link>
		<comments>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:30:59 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SOA Suite]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[AS]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[ESB]]></category>
		<category><![CDATA[Fusion Middleware]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=573</guid>
		<description><![CDATA[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&#8217;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 [...]]]></description>
			<content:encoded><![CDATA[<p>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&#8217;ll find the results of Metalink research, and our experience on a production system.</p>
<h3>Queue compatibility</h3>
<p>When creating the ORAESB schema (in version 10.1.3.3) using the script <code>$ORACLE_HOME/integration/esb/sql/oracle/create_esb_topics.sql</code>, the queues are created with 8.1 compatibility. This is solved in 10.1.3.4. To alter this find the statement</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>create_queue_table
    <span style="color: #66cc66;">&#40;</span> Queue_table <span style="color: #66cc66;">=&gt;</span> qtablename
    <span style="color: #66cc66;">,</span> Queue_payload_type <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'SYS.AQ$_JMS_TEXT_MESSAGE'</span>
    <span style="color: #66cc66;">,</span> multiple_consumers <span style="color: #66cc66;">=&gt;</span> true
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'8.1'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>and change this to:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>create_queue_table
    <span style="color: #66cc66;">&#40;</span> Queue_table <span style="color: #66cc66;">=&gt;</span> qtablename
    <span style="color: #66cc66;">,</span> Queue_payload_type <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'SYS.AQ$_JMS_TEXT_MESSAGE'</span>
    <span style="color: #66cc66;">,</span> multiple_consumers <span style="color: #66cc66;">=&gt;</span> true
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'10.2'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>if you already created the queues, use this statement:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">dbms_aqadm<span style="color: #66cc66;">.</span>migrate_queue_table
    <span style="color: #66cc66;">&#40;</span> queue_table <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'ESB_JAVA_DEFERRED'</span>
    <span style="color: #66cc66;">,</span> compatible <span style="color: #66cc66;">=&gt;</span> <span style="color: #ff0000;">'10.2'</span>
    <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>If you&#8217;re not sure check the compatibility with this query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> queue_table
<span style="color: #66cc66;">,</span>      compatible
<span style="color: #66cc66;">,</span>      recipients
<span style="color: #993333; font-weight: bold;">FROM</span>   dba_QUEUE_tables
<span style="color: #993333; font-weight: bold;">WHERE</span>  owner <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'ORAESB'</span>
;</pre></td></tr></table></div>

<h3>Streams pool size</h3>
<p>Verify the current stream_pool_size using the following query:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> component
<span style="color: #66cc66;">,</span>      current_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;CURRENT_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      min_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;MIN_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      user_specified_size<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #66cc66;">/</span><span style="color: #cc66cc;">1024</span> <span style="color: #ff0000;">&quot;USER_SPECIFIED_SIZE&quot;</span>
<span style="color: #66cc66;">,</span>      last_oper_type <span style="color: #ff0000;">&quot;TYPE&quot;</span> 
<span style="color: #993333; font-weight: bold;">FROM</span>   v$sga_dynamic_components
;</pre></td></tr></table></div>

<p>look for the <strong>streams pool</strong>. 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:</p>
<ul>
<li>11g: set STREAMS_POOL_SIZE to be greater or equal to 100 MB;</li>
<li>10gR2: set SGA_TARGET > 0 and STREAMS_POOL_SIZE=0 to enable autotuning of the Streams pool;</li>
<li>10gR1: use the STREAMS_POOL_SIZE init.ora parameter to configure the Streams memory allocation;</li>
</ul>
<p>And of course you could use <code>V$STREAMS_POOL_ADVICE</code> to get advice for your specific situation.</p>
<h3>Upgrade the JDK</h3>
<p>A <a href="http://www.deltalounge.net/wpress/2009/11/oracle-esb-using-aq-on-aix-performance-boost/">described here</a> upgrading the JDK can also give a performance boost.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/12/tuning-aq-for-oracle-esb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching Oracle sample code</title>
		<link>http://www.deltalounge.net/wpress/2009/09/searching-oracle-sample-code/</link>
		<comments>http://www.deltalounge.net/wpress/2009/09/searching-oracle-sample-code/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 14:31:37 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[JDeveloper]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=419</guid>
		<description><![CDATA[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&#8217;s Technet. There probably were more&#8230; 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 [...]]]></description>
			<content:encoded><![CDATA[<p>This week few initiatives to find sample code caught my eyes.</p>
<h4>Oracle Sample Code Repository</h4>
<p>Although there was already a <a href="http://www.oracle.com/technology/sample_code/index.html">sample code page</a> on Oracle&#8217;s Technet. There probably were more&#8230; Oracle has created a <a href="https://www.samplecode.oracle.com/">Sample Code Repository</a>. 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.</p>
<p>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&#8217;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.<br />
Anyway some good examples are already available. A good introduction on <strong>samplecode at Oracle Technet</strong> can be found in this <a href="http://feedproxy.google.com/~r/OTN_TechCasts/~3/402TJOfEiKU/8193860_duncan_mills_091809.m4v">podcast (m4v)</a> that features Duncan Mills. By the way, more podcasts can be found <a href="http://www.oracle.com/technology/syndication/techcasts/index.html">on the techcast page</a>.</p>
<h4>Google Code Search</h4>
<p><a href="http://www.google.com/codesearch">Google Code Search</a> 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?<br />
Thanks in advance for your comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/09/searching-oracle-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting SOA Suite 10.1.3 to work with Oracle</title>
		<link>http://www.deltalounge.net/wpress/2009/05/getting-soa-suite-1013-to-work-with-oracle/</link>
		<comments>http://www.deltalounge.net/wpress/2009/05/getting-soa-suite-1013-to-work-with-oracle/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:28:44 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[SOA Suite]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=108</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes the speed of Oracle releases is hard to keep up with, as <a href="http://blogs.oracle.com/reynolds/">Antony Reynolds</a> discovered and shared with us in his blog. Even when product combinations are certified with each other.</p>
<h4>Oracle 11g database</h4>
<p>The 11g release 1 of the database has been out long enough. It cannot be considered <em>bleeding edge</em> nowadays. So both from a features and longevity perspective it makes sense to deploy SOA Suite on a 11g R1 database. <a href="http://blogs.oracle.com/reynolds/2009/05/using_11g_database_with_soa_su.html">This blog post</a> will show you the additional steps that are needed to install SOA Suite 10.1.3. on 11g R1.</p>
<h4>Oracle Enterprise Linux</h4>
<p>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 <a href="http://www.epicfail.com/">fails</a>. There is a patch (6339508) available and a <a href="http://blogs.oracle.com/reynolds/2009/05/using_oracle_enterprise_linux.html">blog post</a> that describes the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/05/getting-soa-suite-1013-to-work-with-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is in the (Oracle Advanced) queue?</title>
		<link>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/</link>
		<comments>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 08:08:21 +0000</pubDate>
		<dc:creator>PeterPaul</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Service Bus]]></category>
		<category><![CDATA[Advanced Queueing]]></category>
		<category><![CDATA[JMS]]></category>
		<category><![CDATA[Messaging]]></category>

		<guid isPermaLink="false">http://www.deltalounge.net/wpress/?p=27</guid>
		<description><![CDATA[As a quick follow up on the previous post&#8230; 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&#8230; Find the [...]]]></description>
			<content:encoded><![CDATA[<p>As a quick follow up on the previous post&#8230; If you are using a JMS queue with <a href="http://en.wikipedia.org/wiki/Oracle_Advanced_Queuing">Oracle´s Advanced Queueing</a> or <a href="http://www.oracle.com/technology/products/dataint/htdocs/streams_fo.html">Streams</a> (as they have been extended to) the <a href="http://www.deltalounge.net/wpress/archives/20">previously</a> described tool can´t help you out.</p>
<p>For this case a <a href="http://rwijk.blogspot.com/2009/02/whats-in-my-jms-queue.html">blog</a> by a former colleague helps us out. This approach boils down to&#8230;</p>
<h4>Find the queue you want to monitor.</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> owner
<span style="color: #66cc66;">,</span>      queue_table
<span style="color: #66cc66;">,</span>      type
<span style="color: #66cc66;">,</span>      user_comment
<span style="color: #993333; font-weight: bold;">FROM</span>   all_queue_tables</pre></td></tr></table></div>

<h4>Perform a query.</h4>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> msgid
<span style="color: #66cc66;">,</span>      enq_time
<span style="color: #66cc66;">,</span>      enq_uid
<span style="color: #66cc66;">,</span>      qt<span style="color: #66cc66;">.</span>user_data<span style="color: #66cc66;">.</span>text_vc
<span style="color: #993333; font-weight: bold;">FROM</span>   my_queue_table qt  <span style="color: #808080; font-style: italic;">--alter the table name</span>
<span style="color: #993333; font-weight: bold;">WHERE</span>  q_name <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'MY_QUEUE'</span> <span style="color: #808080; font-style: italic;">--alter the queue name</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.deltalounge.net/wpress/2009/04/what-is-in-the-oracle-advanced-queue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
