<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Simulation</title>
	<atom:link href="http://ashmasters.com/ash-simulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashmasters.com</link>
	<description>The ASH Masters Demoground</description>
	<pubDate>Fri, 30 Jul 2010 04:51:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-3611</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Mon, 03 May 2010 14:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-3611</guid>
		<description>Yes, too occupied with DB Optimizer to do work on S-ASH. Maybe some day.
Check out DB Optimizer though, the sampling and ASH like collection is solid but even better is the new visual SQL tuning which is something not available anywhere else.</description>
		<content:encoded><![CDATA[<p>Yes, too occupied with DB Optimizer to do work on S-ASH. Maybe some day.<br />
Check out DB Optimizer though, the sampling and ASH like collection is solid but even better is the new visual SQL tuning which is something not available anywhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: loifmkir</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-3608</link>
		<dc:creator>loifmkir</dc:creator>
		<pubDate>Thu, 22 Apr 2010 13:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-3608</guid>
		<description>Hi Kyle
just got an email from you on DB Optimizer 2.5 beta opportunity.
Are you going to release a new version of S-ASH soon or you closed that project being occupied with your new Embarcadero assignment? Are you doing at all any support of this Blog? I see you have problems with SPAM. As a side note I suggest upgrading your WP to 2.8.6 or 2.9.2 version as you are on the old one

-- Kirill Loifman, www.dadbm.com</description>
		<content:encoded><![CDATA[<p>Hi Kyle<br />
just got an email from you on DB Optimizer 2.5 beta opportunity.<br />
Are you going to release a new version of S-ASH soon or you closed that project being occupied with your new Embarcadero assignment? Are you doing at all any support of this Blog? I see you have problems with SPAM. As a side note I suggest upgrading your WP to 2.8.6 or 2.9.2 version as you are on the old one</p>
<p>&#8211; Kirill Loifman, <a href="http://www.dadbm.com" rel="nofollow">http://www.dadbm.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-710</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Wed, 21 Jan 2009 20:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-710</guid>
		<description>Stats are only collected for SQL that has been found running but yes it's collected for all the sql that has bee found running. This should probably  be limited to the  most executed or at least those execute recently.
I these enhancements are on the todo list but I won't be writing any more code as I'm now working on a production version of similar code at Embarcadero, though I can post any improvemtns people want to submit.

Interesting error on sash_sqlstat. Oracle doesn't complain creating a table with two fields with same name.
Changed and uploaded a version with just one field.</description>
		<content:encoded><![CDATA[<p>Stats are only collected for SQL that has been found running but yes it&#8217;s collected for all the sql that has bee found running. This should probably  be limited to the  most executed or at least those execute recently.<br />
I these enhancements are on the todo list but I won&#8217;t be writing any more code as I&#8217;m now working on a production version of similar code at Embarcadero, though I can post any improvemtns people want to submit.</p>
<p>Interesting error on sash_sqlstat. Oracle doesn&#8217;t complain creating a table with two fields with same name.<br />
Changed and uploaded a version with just one field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Cozijnsen</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-651</link>
		<dc:creator>Bart Cozijnsen</dc:creator>
		<pubDate>Tue, 06 Jan 2009 21:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-651</guid>
		<description>Great Job,

I get the feeling that there is a restriction missing 
in procedure get_sqlstats of V2 targ_1_pkg.sql.
It is now inserting all rows from gv$sql.
Is this correct?

In repo_1_tables.sql table sash_sqlstat contains a field:
elasped.
Also the correct field elapsed is there.

best regards Bart</description>
		<content:encoded><![CDATA[<p>Great Job,</p>
<p>I get the feeling that there is a restriction missing<br />
in procedure get_sqlstats of V2 targ_1_pkg.sql.<br />
It is now inserting all rows from gv$sql.<br />
Is this correct?</p>
<p>In repo_1_tables.sql table sash_sqlstat contains a field:<br />
elasped.<br />
Also the correct field elapsed is there.</p>
<p>best regards Bart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-357</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Wed, 15 Oct 2008 21:56:17 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-357</guid>
		<description>Linux version of ASHMON available !!

http://www.perfvision.com/ftp/ashmon_linux.zip

still needs a small change to soft link tile0.7.8 to /usr/share/tcl :
cd /usr/share/tcl8.4
ln -s /opt/ashmon/lib/tile0.7.8 .
lrwxrwxrwx  1 root root       24 2008-10-14 12:27 tile0.7.8 -&gt; /usr/share/tcl/tile0.7.8

Thanks to Simon Coter from Oracle Italy who got it working during my 2 day class this past week in Milan.</description>
		<content:encoded><![CDATA[<p>Linux version of ASHMON available !!</p>
<p><a href="http://www.perfvision.com/ftp/ashmon_linux.zip" rel="nofollow">http://www.perfvision.com/ftp/ashmon_linux.zip</a></p>
<p>still needs a small change to soft link tile0.7.8 to /usr/share/tcl :<br />
cd /usr/share/tcl8.4<br />
ln -s /opt/ashmon/lib/tile0.7.8 .<br />
lrwxrwxrwx  1 root root       24 2008-10-14 12:27 tile0.7.8 -> /usr/share/tcl/tile0.7.8</p>
<p>Thanks to Simon Coter from Oracle Italy who got it working during my 2 day class this past week in Milan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-204</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Thu, 31 Jul 2008 23:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-204</guid>
		<description>Thanks for the input. Turns out there was sql_id and sql_child_number were reversed in the insert into the repository. Should be fixed now with the latest version.
.
Yes the enhancement to collect new users would be useful. At this point I have no plans to do enhancements though I will look at fixes. If anyone wants to enhance the package, the code is welcome, and I'll check it in on the site.
Thanks
Kyle
http://perfvision.com</description>
		<content:encoded><![CDATA[<p>Thanks for the input. Turns out there was sql_id and sql_child_number were reversed in the insert into the repository. Should be fixed now with the latest version.<br />
.<br />
Yes the enhancement to collect new users would be useful. At this point I have no plans to do enhancements though I will look at fixes. If anyone wants to enhance the package, the code is welcome, and I&#8217;ll check it in on the site.<br />
Thanks<br />
Kyle<br />
<a href="http://perfvision.com" rel="nofollow">http://perfvision.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carel-Jan</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-202</link>
		<dc:creator>Carel-Jan</dc:creator>
		<pubDate>Thu, 31 Jul 2008 21:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-202</guid>
		<description>Thanks for the good work! 
I just upgraded from ash simulator V1 to V2 at a set of five 10.2.0.2 SE-One databases on Linux, using one central repository.

I no longer get any SQLs in the repository. I found that most of the SQL-ids inserted have a value 0. Do you know why this can happen?

Further, I have a slight enhancement. I experienced that a user that is added to that database after the installation of the simulator will not be added to the repository. To deal with this, I have added the get_users call to the get_all procedure in the package. It works fine for me, but is there a reason why this hasn't been done, or why I shouldn't do this?</description>
		<content:encoded><![CDATA[<p>Thanks for the good work!<br />
I just upgraded from ash simulator V1 to V2 at a set of five 10.2.0.2 SE-One databases on Linux, using one central repository.</p>
<p>I no longer get any SQLs in the repository. I found that most of the SQL-ids inserted have a value 0. Do you know why this can happen?</p>
<p>Further, I have a slight enhancement. I experienced that a user that is added to that database after the installation of the simulator will not be added to the repository. To deal with this, I have added the get_users call to the get_all procedure in the package. It works fine for me, but is there a reason why this hasn&#8217;t been done, or why I shouldn&#8217;t do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-7</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Thu, 08 May 2008 17:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-7</guid>
		<description>1) Andrew -yep - sash_curhost was wrong. Should have been sash_target. Changed.
2) added back in the use of gv$ as a workaround to ORA-02070
3) on 9i I as getting  ora-22804 when selecting OBJECT_OWNER from v$sqlplan so I just changed it select 'unknown'. I could revisit this to see if it works on 10g or maybe I could select values into a variable and then do the insert instead of doing the insert into the repository as a select from the target.</description>
		<content:encoded><![CDATA[<p>1) Andrew -yep - sash_curhost was wrong. Should have been sash_target. Changed.<br />
2) added back in the use of gv$ as a workaround to ORA-02070<br />
3) on 9i I as getting  ora-22804 when selecting OBJECT_OWNER from v$sqlplan so I just changed it select &#8216;unknown&#8217;. I could revisit this to see if it works on 10g or maybe I could select values into a variable and then do the insert instead of doing the insert into the repository as a select from the target.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew henry</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-6</link>
		<dc:creator>andrew henry</dc:creator>
		<pubDate>Thu, 08 May 2008 14:14:24 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-6</guid>
		<description>If I run your script for the target DB (targ_1_pkg.sql) on either a 9.2.0.8 or 10.2.0.4 database (win32) I get compilation errors on the package body.  I run the script as sys, the database link works fine and the sashnow view gets created without issues.

I just ran it through Toad to see where it was failing:

SASH.sash_curhost@SASHREPO;

This object; sah_curhost, is not created in your script, but is referenced in the package body.  Do you have the definition for this table?</description>
		<content:encoded><![CDATA[<p>If I run your script for the target DB (targ_1_pkg.sql) on either a 9.2.0.8 or 10.2.0.4 database (win32) I get compilation errors on the package body.  I run the script as sys, the database link works fine and the sashnow view gets created without issues.</p>
<p>I just ran it through Toad to see where it was failing:</p>
<p>SASH.sash_curhost@SASHREPO;</p>
<p>This object; sah_curhost, is not created in your script, but is referenced in the package body.  Do you have the definition for this table?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khailey</title>
		<link>http://ashmasters.com/ash-simulation/comment-page-1/#comment-5</link>
		<dc:creator>khailey</dc:creator>
		<pubDate>Wed, 07 May 2008 20:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://ashmasters.oracloid.com/?page_id=9#comment-5</guid>
		<description>andrew henry -
1)sleep is a variable - I just changed it to v_sleep to be less confusing
2)sys.v$database access - script needs to be run as SYS 
3)gv$ - just changed these to v$ 
-----------------------------------
Checinski -
Thanks for the good info.
1) There seems to be a bug on 9.2 querying v$sql_plan, so the work around is just to not collect the plan info on 9.2. I could add a version check for this, but that's way down my list of things to do. Anyone else want to add a version check in the collection package?
2) For v1, sash_targets should be filled in with the target dbid automatically when installing sash_pkg on each target. 
For v2, you see 0 rows in v$active_session_history its probably because the dbid filter isn't set up.
For example
select count(*) from sash_all;
227
select count(*) from v$active_session_history;
0
@repo_5_curdb
HOST
------------------------------
KYLEHPD
KYLEHPLAP
Enter value for host: KYLEHPD
select count(*) from v$active_session_history;
227
3) yes, the sql plans, text and stats don't get purged, only SASH does. Still to be done is a purge routine for SQL plans, text and stats. An easy purging method is to just delete from 
sash_sqltxt
sash_sqlplans
sash_sqlstats
where sql_id in (select sql_id from sash_sqlids where last_found &lt; sysdate - 7 )
or soemthing to that effect. 
Deletes are expensive, instead of automating this deleting, I was still thinking of some way to partition the data, but didn't come up with a method yet, so deleting is the only way right now.</description>
		<content:encoded><![CDATA[<p>andrew henry -<br />
1)sleep is a variable - I just changed it to v_sleep to be less confusing<br />
2)sys.v$database access - script needs to be run as SYS<br />
3)gv$ - just changed these to v$<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Checinski -<br />
Thanks for the good info.<br />
1) There seems to be a bug on 9.2 querying v$sql_plan, so the work around is just to not collect the plan info on 9.2. I could add a version check for this, but that&#8217;s way down my list of things to do. Anyone else want to add a version check in the collection package?<br />
2) For v1, sash_targets should be filled in with the target dbid automatically when installing sash_pkg on each target.<br />
For v2, you see 0 rows in v$active_session_history its probably because the dbid filter isn&#8217;t set up.<br />
For example<br />
select count(*) from sash_all;<br />
227<br />
select count(*) from v$active_session_history;<br />
0<br />
@repo_5_curdb<br />
HOST<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
KYLEHPD<br />
KYLEHPLAP<br />
Enter value for host: KYLEHPD<br />
select count(*) from v$active_session_history;<br />
227<br />
3) yes, the sql plans, text and stats don&#8217;t get purged, only SASH does. Still to be done is a purge routine for SQL plans, text and stats. An easy purging method is to just delete from<br />
sash_sqltxt<br />
sash_sqlplans<br />
sash_sqlstats<br />
where sql_id in (select sql_id from sash_sqlids where last_found < sysdate - 7 )<br />
or soemthing to that effect.<br />
Deletes are expensive, instead of automating this deleting, I was still thinking of some way to partition the data, but didn&#8217;t come up with a method yet, so deleting is the only way right now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
