<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Pythian Group Blog</title>
	<link>http://www.pythian.com/blogs</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Tue, 14 Oct 2008 00:21:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>Comment on The mysterious world of shmmax and shmall by Big Dave</title>
		<link>http://www.pythian.com/blogs/245/the-mysterious-world-of-shmmax-and-shmall#comment-289929</link>
		<dc:creator>Big Dave</dc:creator>
		<pubDate>Mon, 13 Oct 2008 14:09:50 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/245/the-mysterious-world-of-shmmax-and-shmall#comment-289929</guid>
		<description>#!/bin/bash
cat /proc/sys/kernel/shmall
TotalKbytes=`awk '/MemTotal:/ { print $2 }' /proc/meminfo`
TotalBytes=`expr $TotalKbytes \* 1024`
PageSize=`getconf PAGE_SIZE`
ShmallValue=`expr $TotalBytes / $PageSize`
echo $ShmallValue
echo $ShmallValue &#62; /proc/sys/kernel/shmall
sysctl -p
cat /proc/sys/kernel/shmall</description>
		<content:encoded><![CDATA[<p>#!/bin/bash<br />
cat /proc/sys/kernel/shmall<br />
TotalKbytes=`awk &#8216;/MemTotal:/ { print $2 }&#8217; /proc/meminfo`<br />
TotalBytes=`expr $TotalKbytes \* 1024`<br />
PageSize=`getconf PAGE_SIZE`<br />
ShmallValue=`expr $TotalBytes / $PageSize`<br />
echo $ShmallValue<br />
echo $ShmallValue &gt; /proc/sys/kernel/shmall<br />
sysctl -p<br />
cat /proc/sys/kernel/shmall</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reporting from Perth AUSOUG Conference 2008 by Jurijs Velikanovs</title>
		<link>http://www.pythian.com/blogs/1286/reporting-from-perth-ausoug-conference-2008#comment-289749</link>
		<dc:creator>Jurijs Velikanovs</dc:creator>
		<pubDate>Mon, 13 Oct 2008 05:42:37 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1286/reporting-from-perth-ausoug-conference-2008#comment-289749</guid>
		<description>Hi Alex,

I am glad to see that there are high level professionals around willing to share their experience and knowledge.
Just wonder if your presentations are available somewhere publicly?

Best regards,
Jurijs</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>I am glad to see that there are high level professionals around willing to share their experience and knowledge.<br />
Just wonder if your presentations are available somewhere publicly?</p>
<p>Best regards,<br />
Jurijs</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on mysqlbinlog --server-id before MySQL 5.1?  awk to the rescue! by Arjen Lentz</title>
		<link>http://www.pythian.com/blogs/1299/mysqlbinlog-server-id-before-mysql-51-awk-to-the-rescue#comment-289554</link>
		<dc:creator>Arjen Lentz</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:27:02 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1299/mysqlbinlog-server-id-before-mysql-51-awk-to-the-rescue#comment-289554</guid>
		<description>Yea this goes to show once again that circular replication (master-master with more than 2 servers) only seems like a good idea, until there is a failover situation. And taking out a server-id like you had, that might be the ultimate nuisance ;-)
Thanks for that.</description>
		<content:encoded><![CDATA[<p>Yea this goes to show once again that circular replication (master-master with more than 2 servers) only seems like a good idea, until there is a failover situation. And taking out a server-id like you had, that might be the ultimate nuisance ;-)<br />
Thanks for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s a Good Time to be Involved with MySQL by Peter Laursen</title>
		<link>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-289297</link>
		<dc:creator>Peter Laursen</dc:creator>
		<pubDate>Sat, 11 Oct 2008 19:36:32 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-289297</guid>
		<description>Nice with enthusiasm, but I think realistically that the financial crises is a larger threat to the web-2 business than to more traditional companies and in consequence I also think that MySQL will likely suffer more from it than Oracle and SQL-server (my guess is that the latter is the winner now!).

Companies can stop advertising on the net (what finances net-2), but they cannot stop their traditional business.

If this could direct MySQL in direction of not focusing 95% on net-2 that would be a good thing!  Who uses MySQL for ERP systems? Practically nobody because for this type of applications what is required is *raw power in UPDATES* what 'tricks' like replication and query cache does not help at all (no ERP user will ever execute a SELECT - they don't have time for that!)!

Only the future can prove me wrong!</description>
		<content:encoded><![CDATA[<p>Nice with enthusiasm, but I think realistically that the financial crises is a larger threat to the web-2 business than to more traditional companies and in consequence I also think that MySQL will likely suffer more from it than Oracle and SQL-server (my guess is that the latter is the winner now!).</p>
<p>Companies can stop advertising on the net (what finances net-2), but they cannot stop their traditional business.</p>
<p>If this could direct MySQL in direction of not focusing 95% on net-2 that would be a good thing!  Who uses MySQL for ERP systems? Practically nobody because for this type of applications what is required is *raw power in UPDATES* what &#8216;tricks&#8217; like replication and query cache does not help at all (no ERP user will ever execute a SELECT - they don&#8217;t have time for that!)!</p>
<p>Only the future can prove me wrong!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s a Good Time to be Involved with MySQL by Keith Murphy</title>
		<link>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288857</link>
		<dc:creator>Keith Murphy</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:34:54 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288857</guid>
		<description>To each his own :)</description>
		<content:encoded><![CDATA[<p>To each his own :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s a Good Time to be Involved with MySQL by Doug Burns</title>
		<link>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288830</link>
		<dc:creator>Doug Burns</dc:creator>
		<pubDate>Fri, 10 Oct 2008 18:08:03 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288830</guid>
		<description>Sigh ... I really try to avoid replying to posts like this normally and the strange thing is I agree with much of what you've said. Most of the logic is impeccable. But I just can't bring myself to agree with either of these statements.

"For all intents, the same functionality is there"

"There is very little that either of their servers can do that MySQL can’t do right now. "

In a multi-vendor shop like Pythian, there are loads of Oracle people around to debate this with. I'm not sure that most companies need Oracle for most of their systems, but I can't let such bald statements go without saying I think you're wrong. MySQL gets better all the time and, for a free database is mighty impressive. Which means that there's really no need to talk it up beyond it's current capabilities.

I'm sure there will come a time when the demand for Oracle skills fades and dies and maybe I'll work on something else, but that has nothing to do with what software I admire or want to work with.</description>
		<content:encoded><![CDATA[<p>Sigh &#8230; I really try to avoid replying to posts like this normally and the strange thing is I agree with much of what you&#8217;ve said. Most of the logic is impeccable. But I just can&#8217;t bring myself to agree with either of these statements.</p>
<p>&#8220;For all intents, the same functionality is there&#8221;</p>
<p>&#8220;There is very little that either of their servers can do that MySQL can’t do right now. &#8221;</p>
<p>In a multi-vendor shop like Pythian, there are loads of Oracle people around to debate this with. I&#8217;m not sure that most companies need Oracle for most of their systems, but I can&#8217;t let such bald statements go without saying I think you&#8217;re wrong. MySQL gets better all the time and, for a free database is mighty impressive. Which means that there&#8217;s really no need to talk it up beyond it&#8217;s current capabilities.</p>
<p>I&#8217;m sure there will come a time when the demand for Oracle skills fades and dies and maybe I&#8217;ll work on something else, but that has nothing to do with what software I admire or want to work with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s a Good Time to be Involved with MySQL by Nico</title>
		<link>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288634</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Fri, 10 Oct 2008 08:15:37 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1294/its-a-good-time-to-be-involved-with-mysql#comment-288634</guid>
		<description>AMEN !!!</description>
		<content:encoded><![CDATA[<p>AMEN !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle Silent Mode, Part 1: Installation Of 10.2 And 11.1 Databases by Charles Meo</title>
		<link>http://www.pythian.com/blogs/1035/oracle-silent-mode-part-110-installation-of-102-and-111-databases#comment-288594</link>
		<dc:creator>Charles Meo</dc:creator>
		<pubDate>Fri, 10 Oct 2008 04:46:31 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1035/oracle-silent-mode-part-110-installation-of-102-and-111-databases#comment-288594</guid>
		<description>Seen this one, didn't help. Oracle documentation for silent installation is fairly useless. For a start, it's not at all clear to me what groups of parameters are the minimum to get a particular part of EM working. It also doesn't really cover what I'm trying to do, which, following the procedures in these articles, is to set up oracle in three stages: 

1/ install software
2/ create database and listener (-emconfiguration NONE)
3/ setup emca

Parts one and two are working like clockwork. Part three--not so much.

So, first I need to remove sysman, or emca crashes out. Is this bad or good? I dunno...found some code that does this.

Then unlocked DBSNMP and set password (also not documented) since I saw errors relating to this in early attempts. 

Knocked together a script by a little guesswork and mostly piecing together things from the net:
emca -config dbcontrol db -repos create -silent -SID oracle1 -PORT 1521 -ORACLE_HOME /u01/app/oracle -ORACLE_HOSTNAME prd-db-1 -DBSNMP_PWD dbsnmp -SYSMAN_PWD sysman -SYS_PWD ora123

emca likes this well enough, and completes..

INFO: Repository successfully created

however...
emdb.nohup:
The agentTZRegion value in /u01/app/oracle/ltxe-
nabb-prd-db-1_nabbprdexp1/sysman/config/emd.properties is not in agreement with 
what agent thinks it should be.Please verify your environment to make sure that 
TZ setting has not changed since the last start of the agent.
emdctl.trc:
2008-10-10 15:36:18 Thread-1 WARN  http: snmehl_connect: connect failed to (prd-db-1:3938): Connection refused (error = 146)
emoms.log:
2008-10-10 14:31:21,203 [Orion Launcher] ERROR app.ContextInitializer contextIni
tialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCal
GrpIntegration
emoms.trc:
2008-10-10 14:31:21,203 [Orion Launcher] ERROR app.ContextInitializer contextIni
tialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCal
GrpIntegration

After a good chunk of my life is wasted, get this:
SEVERE: Error starting Database Control

These are all issues I'm finding in hundreds of posts and everyone seems to be guessing what the cause is. I've seen some references to TZ issues and have three observations on that:
1/ TZ is set correctly in oracle's environment and Australia/Victoria is supposedly a supported value
2/ Oracle thinks this timezone is GMT+11, which is wrong. It's +10 except during EDT. Larry needs to check his homework more carefully.
3/ WTF? If the TZ doesn't work out, fall back to a default. Since when is this a critical error? What boneheads code this stuff?

The really infuriating bit is that with the interactive dbca option at initial install time, runInstaller sets up EM just fine, but I cannot find this code path!

One more observation: having EM log its problems in eight(?) different locations does not strike me as best practice.

Yes I am really pissed off with this!

Chuck</description>
		<content:encoded><![CDATA[<p>Seen this one, didn&#8217;t help. Oracle documentation for silent installation is fairly useless. For a start, it&#8217;s not at all clear to me what groups of parameters are the minimum to get a particular part of EM working. It also doesn&#8217;t really cover what I&#8217;m trying to do, which, following the procedures in these articles, is to set up oracle in three stages: </p>
<p>1/ install software<br />
2/ create database and listener (-emconfiguration NONE)<br />
3/ setup emca</p>
<p>Parts one and two are working like clockwork. Part three&#8211;not so much.</p>
<p>So, first I need to remove sysman, or emca crashes out. Is this bad or good? I dunno&#8230;found some code that does this.</p>
<p>Then unlocked DBSNMP and set password (also not documented) since I saw errors relating to this in early attempts. </p>
<p>Knocked together a script by a little guesswork and mostly piecing together things from the net:<br />
emca -config dbcontrol db -repos create -silent -SID oracle1 -PORT 1521 -ORACLE_HOME /u01/app/oracle -ORACLE_HOSTNAME prd-db-1 -DBSNMP_PWD dbsnmp -SYSMAN_PWD sysman -SYS_PWD ora123</p>
<p>emca likes this well enough, and completes..</p>
<p>INFO: Repository successfully created</p>
<p>however&#8230;<br />
emdb.nohup:<br />
The agentTZRegion value in /u01/app/oracle/ltxe-<br />
nabb-prd-db-1_nabbprdexp1/sysman/config/emd.properties is not in agreement with<br />
what agent thinks it should be.Please verify your environment to make sure that<br />
TZ setting has not changed since the last start of the agent.<br />
emdctl.trc:<br />
2008-10-10 15:36:18 Thread-1 WARN  http: snmehl_connect: connect failed to (prd-db-1:3938): Connection refused (error = 146)<br />
emoms.log:<br />
2008-10-10 14:31:21,203 [Orion Launcher] ERROR app.ContextInitializer contextIni<br />
tialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCal<br />
GrpIntegration<br />
emoms.trc:<br />
2008-10-10 14:31:21,203 [Orion Launcher] ERROR app.ContextInitializer contextIni<br />
tialized.271 - Integration Class not found: oracle.sysman.ocs.mntr.target.OcsCal<br />
GrpIntegration</p>
<p>After a good chunk of my life is wasted, get this:<br />
SEVERE: Error starting Database Control</p>
<p>These are all issues I&#8217;m finding in hundreds of posts and everyone seems to be guessing what the cause is. I&#8217;ve seen some references to TZ issues and have three observations on that:<br />
1/ TZ is set correctly in oracle&#8217;s environment and Australia/Victoria is supposedly a supported value<br />
2/ Oracle thinks this timezone is GMT+11, which is wrong. It&#8217;s +10 except during EDT. Larry needs to check his homework more carefully.<br />
3/ WTF? If the TZ doesn&#8217;t work out, fall back to a default. Since when is this a critical error? What boneheads code this stuff?</p>
<p>The really infuriating bit is that with the interactive dbca option at initial install time, runInstaller sets up EM just fine, but I cannot find this code path!</p>
<p>One more observation: having EM log its problems in eight(?) different locations does not strike me as best practice.</p>
<p>Yes I am really pissed off with this!</p>
<p>Chuck</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Oracle 11G Result Cache in the Real World by Reporting from Perth AUSOUG Conference 2008</title>
		<link>http://www.pythian.com/blogs/1004/oracle-11g-result-cache-in-the-real-world#comment-288488</link>
		<dc:creator>Reporting from Perth AUSOUG Conference 2008</dc:creator>
		<pubDate>Thu, 09 Oct 2008 21:23:40 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1004/oracle-11g-result-cache-in-the-real-world#comment-288488</guid>
		<description>[...] about SQL and PL/SQL Result Cache. Thanks to Penny for mentioning Alex Fatkulin&#8217;s posts on this topic and debates it [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] about SQL and PL/SQL Result Cache. Thanks to Penny for mentioning Alex Fatkulin&#8217;s posts on this topic and debates it [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Does anybody really know what time it is? by Mats Kindahl</title>
		<link>http://www.pythian.com/blogs/1295/does-anybody-really-know-what-time-it-is#comment-288462</link>
		<dc:creator>Mats Kindahl</dc:creator>
		<pubDate>Thu, 09 Oct 2008 20:06:50 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/1295/does-anybody-really-know-what-time-it-is#comment-288462</guid>
		<description>Note that it is also possible to write replication-safe code by assigning non-deterministic values to user-defined variables. In other words, the following code replication-safe:

SET @foo = SYSDATE();
INSERT INTO t1 VALUES (@foo);
</description>
		<content:encoded><![CDATA[<p>Note that it is also possible to write replication-safe code by assigning non-deterministic values to user-defined variables. In other words, the following code replication-safe:</p>
<p>SET @foo = SYSDATE();<br />
INSERT INTO t1 VALUES (@foo);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
